Embedding Forms
Embed a published form directly in your webpage or open it in a popup. Copy either snippet from the Share dialog.
Open the Embed Options
In the form editor, open the Share dialog and go to the Embed section. You'll see two tabs, Inline and Modal, each with a copy-to-clipboard snippet.

Add an Inline Form
Choose Inline, set the height, then copy the snippet into your website’s HTML:
<iframe
src="https://yoursite.com/f/your-form"
title="Your form"
lang="en"
width="100%"
height="600"
loading="lazy"
style="border:0;"></iframe>The form fills the available width. Use Height to fit your longest page, then check it on desktop and mobile. Content taller than the iframe scrolls inside it.
Add a Popup Form
Choose Modal. Add the script once to your webpage, then place the button where you want visitors to open the form:
<!-- 1. Add this once, anywhere on your page -->
<script src="https://floov.co/embed.js" async></script>
<!-- 2. Add a trigger wherever you want -- any element works -->
<button data-floov-form="your-form" data-floov-url="https://forms.yourcompany.com/your-form" data-floov-language="en" data-floov-title="Your form" data-floov-close-label="Close form" lang="en">Open form</button>You can also open the popup from a link, image, or another element by adding data-floov-form and the other generated attributes. Your website controls that element’s appearance; Floov styles the popup.
The button and close label use the published form’s language. The iframe title uses your form’s name. After changing the form language, publish and replace the snippet to update those labels.
Popup Options
Add these attributes to the trigger element to tweak the popup:
data-floov-url="https://forms.yourcompany.com/your-form": exact branded form URL generated by the Share dialogdata-floov-width="680": max width of the modal in pixelsdata-floov-height="700": height of the modal in pixelsdata-floov-language="en": language declared for assistive technologydata-floov-title="Your form": accessible title of the embedded formdata-floov-close-label="Close form": accessible label of the close buttondata-floov-fullscreen: open the form filling the whole screen
The dialog generates the snippet with your chosen domain, size, or fullscreen setting already filled in.
Where to Embed
Both methods work on any site or platform that accepts custom HTML:
- WordPress - add a Custom HTML block and paste the code
- Webflow - use an Embed element
- Squarespace - use a Code block
- Wix - use the HTML Embed widget
- Static HTML - drop it straight into your markup
- React / Next.js - a plain iframe or script tag works fine
For a complete inline example, follow how to embed a Floov form in WordPress.
Before You Share
- Embedded forms are fully functional: validation, navigation, file uploads, and submission all behave like the standalone URL.
- Access settings (password, deactivation, limits) apply to embeds too.
- If you've connected a custom domain, choose it in the Share dialog and both snippets use that branded form URL.
- The form has to be published before an embed will load.
Add Campaign Values
Add your hidden field names in the form editor and publish, then include their values in the form URL. For an inline form, update src; for a popup, update data-floov-url:
<iframe src="https://floov.co/f/your-form?utm_source=newsletter&utm_campaign=spring" title="Your form" width="100%" height="600" style="border:0;"></iframe>
<button data-floov-form="your-form" data-floov-url="https://floov.co/f/your-form?utm_source=newsletter&utm_campaign=spring">Open form</button>Keep the popup script and your other generated settings. If you use a custom domain, keep that address in the tagged URL.
These examples record the same campaign values for everyone using the embed. To capture values from the surrounding webpage, your website must add them to the form URL; Floov does not forward them automatically. Use Insights to compare campaigns.
Related
Follow a Platform Guide
Use the Webflow guide for Code Embed placement or the Framer guide for its Embed component. Keep the existing WordPress walkthrough for a Custom HTML block. Platform custom-code access depends on your website plan.
Keep Popup Scripts in the Page
A popup opens in the document where its script runs. A site builder’s isolated HTML widget can therefore restrict it to that widget’s frame. Put the script and trigger in the surrounding page when you need a full-page popup, then check the published page. Test opening, closing and reopening after navigating away and back. Provide a public form link if your platform cannot run the script there.
For a page displayed inside your Floov form, use Embed External Pages. For sharing a link through WhatsApp, Telegram or email, use Sharing Form Links.