Skip to main content
Embedding keeps people on your website while they fill in your form. Copy a short piece of code from Crestform and paste it into your page. The form keeps its own design, and every response arrives in Crestform as usual.
Inline embeds are available on every plan. Popup and slider embeds are available on Plus, Pro and Business.

Choose a style

People close a popup or slider with the round close button, the Escape key, or by clicking the dimmed page behind it.

Copy the embed code

1

Publish the form

Only a live form can be embedded. See publishing.
2

Open the Share tab

Open the form, click Share, and scroll to Embed on your website.
3

Pick a style

Click Inline, Popup or Slider. The code below changes to match.
4

Copy it

Click the copy button at the top right of the code. A message confirms “Embed code copied”.

Paste it into your site

Most website builders have a block for your own code, often called HTML, Embed, Custom code or Code. Add one where you want the form, paste the code in, and save or publish your page. This works the same way in WordPress, Squarespace, Wix, Webflow, Framer and most other builders. Some builders only run code on the published page, not in their editor. If you see an empty box while editing, publish or preview your site to check the form.

What the code looks like

Here is an inline embed. Yours has your form’s own address in place of the example one.
If your form sends people to another page after they submit, the whole page goes there, not just the box. A snippet copied before 15 October 2026 still works; it just opens that page inside the box after a short pause. Copy the snippet again from the Share tab to get the new behaviour. A popup or slider embed is a button and one script:
You can change the button’s words (“Open the form”) and style it like your other buttons. Keep its data-cf-popup or data-cf-slider part, which is what makes it open the form. data-cf-title is the name screen readers announce for the open form; the code from your Share tab fills in the form’s name, and an older snippet without it still works. Leave the rest of the code as it is.
The inline form starts 600 pixels tall and then fits itself to the form. If it stays at 600 on your site, change height="600" to a height that suits your form.

Where visitors came from

An embedded form can’t see the address of the page it sits on, so the code passes it along. If someone reaches your page from a link with UTM labels (such as ?utm_source=newsletter) or from an ad, the form receives those details, plus the name of the site they came from. Their response then says where they came from. See tracking where people come from.

Share your form's link

Copy the direct link instead.

Track where people come from

See which posts, emails and ads bring in responses.