What you will have at the end
A published form running on your own page, with campaign context stored on each submission.
Before you start
- A form that is ready to publish
- Permission to edit the HTML of the page where the form will live
- The campaign or user values you want to track, if any
In this guide
Step 1: Publish the form
Embeds and public links only work with a published version. Drafts cannot be filled in by the public. Preview the form, then publish. If you edit the form later, publish again, because draft changes do not reach the embedded form until you do.
Step 2: Decide between a link and an embed
Every published form has a public link. A link is the fastest way to share in an email, a chat, or a social post. An embed keeps respondents on your own page. Use an embed when the form is part of a landing page or a product screen.
- Public link: nothing to install, share it anywhere
- Embed: the form appears inside your page
- Email embed: for email campaigns
Tip: Custom links and a branded subdomain are included from the Plus plan.
Step 3: Pick an embed mode
FormitAI has six embed modes. Match the mode to the page. Use standard for a form inside a content section and full-page for a dedicated route. Use one of the overlay modes when the form should open from a button or sit at the edge of the screen.
- Standard: inline within your page layout
- Full-page: the form fills a dedicated page
- Popup: an overlay, good for a call to action
- Popover: a lighter prompt
- Slider: a panel that slides in
- Side-tab: a persistent entry point at the edge of the page
Step 4: Copy the snippet and add it to your page
Open the share or embed options for the form, choose the mode, and copy the embed snippet. Paste it into your page where the form should appear. The snippet is a script tag plus your form id. The embed script is small, around 4KB gzipped, and has no framework dependencies.
Step 5: Pass campaign or user context
Use hidden fields and URL parameters to store values such as a campaign name or a partner id on each submission. Respondents do not see these as questions. This is better than asking people how they found you when you already know. Agree on one set of parameter names so every campaign uses the same keys.
Tip: Respondents can change the query string on a public link. Treat these values as useful context, not as proof.
Step 6: Test on the real page
Load the live page, not only the preview. The styling and content security policy of the host page can affect how the embed renders. Check the form on a phone as well. Submit one test response from a link that includes your tracking parameters.
How to check it worked
Open Results for the form and find your test submission. The hidden or URL values you passed should be stored with it. Then open Analytics. Views, starts, and completes show whether people see the form, begin it, and finish it. A large gap between views and starts usually means the first screen needs work.
Reacting to events on your page
The embed SDK has event callbacks for open, submit, and close, and lets you open or close the form from your own code. Use the submit event to update your page after someone finishes, for example to hide a banner or show a confirmation.
Common mistakes
- Copying the embed snippet before the form is published.
- Testing only in preview and never on the real page.
- Using different parameter names in each campaign, which makes results hard to compare.
- Editing the form and forgetting to publish again.
- Expecting the FormitAI badge to disappear on Free or Basic. Branding is removed from Plus upward.
Frequently asked questions
- How many embed modes are there?
- Six: standard, full-page, popup, slider, popover, and side-tab.
- Do I need a paid plan to embed a form?
- No. Public links and embeds are included on the Free plan. Free and Basic forms show FormitAI branding.
- Can I use the same form in several places?
- Yes. One published form can run as a link, an inline embed, and a popup at the same time. All answers land in the same Results.
- Will the embedded form update when I edit it?
- Only after you publish again. The embed always loads the latest published version.
Try it in FormitAI
Open the builder and follow the steps above on a real form. It is free to start, and the builder tells you before you publish if a feature needs a paid plan.