Add a form to your website
Put an inline form or popup on your site, whatever it's built with, and open a popup from any link.

Open the form, go to the Add to site tab and click the copy button beside Code. Then paste it into your site:
- Inline form: on the page, where you want the form to appear.
- Popup: once, into your site’s
<head>. The popup then shows on the pages you chose on the Display tab.
A new form is live straight away, and each time you click Save, your changes show the next time the page loads.

The form keeps its own look and won’t change your site. The one exception is the font: choose Inherit from site under Fonts on the Design tab and the form uses your site’s. A pairing that shows Site font does the same for that part.
A landing page doesn’t need this. EmailFig hosts it for you, so you share its link instead.
WordPress
Install the EmailFig plugin and connect it. See EmailFig for WordPress. Then:
- Inline form: add the EmailFig form block where the form should go and pick your form, or paste the WordPress shortcode from the Add to site tab.
- Popup: in WordPress, open EmailFig, go to its Forms tab and tick the popup under Popups.
Shopify
- Inline form: in the theme editor, add a Custom Liquid section where the form should go, and paste the code into it.
- Popup: in the theme editor, choose Edit code, open
theme.liquidand paste the code just above</head>.
Squarespace
- Inline form: add a Code block where the form should go, and paste the code into it.
- Popup: in your site settings, open Code Injection and paste the code into the Header box.
Code Injection, and scripts in a Code block, need a Core plan or higher.
Webflow
- Inline form: drag a Code Embed element where the form should go, paste the code, then publish.
- Popup: in Site settings, open Custom code, paste the code into Head code, then publish.
Custom code, and a Code Embed element, need a paid site plan.
Wix
- Inline form: add an Embed HTML element where the form should go, paste the code, and size the box to fit the form.
- Popup: in Settings, open Custom code, add the code and load it in the Head on all pages.
Custom code needs a Premium plan and a connected domain.
Google Tag Manager
-
Popup: in Tag Manager, add a Custom HTML tag, paste the code, set it to fire on All Pages, then submit the container.
-
Inline form: Tag Manager can’t place a form inside your page, so paste this into the page where the form should go, with your form’s id (the
frm_part of your code):<div data-emailfig-form="frm_your-form-id"></div>Then add a Custom HTML tag with your code, minus its
data-form="frm_…"part, set it to fire on All Pages, and submit the container. Without that part the form shows only where you pasted the line above. If you can edit the page itself, pasting the code there is simpler.
Any other website
- Inline form: paste the code into your page’s HTML where the form should go.
- Popup: paste the code once into your site’s
<head>.
Open a popup from a link
On the popup’s Display tab, tick On click and save. The Add to site tab then shows Link that opens it, ready to copy. Change “Subscribe” to your own words, or point any button or link on your site at the same #emailfig- address. Clicking it opens the popup, even for a visitor who has already closed it.
To check a live popup on your site, add #emailfig-test to the end of a page’s address and reload the page. It opens straight away. See Create a popup.
For developers, the For developers section at the bottom of the Add to site tab names the event each signup fires, the call to make when your page adds an inline form after it loads, and what to allow if your site sets a Content Security Policy. To restyle the form from your own CSS, see Style your form with your site’s CSS.
If the form doesn’t show
- The form is paused. Click Resume.
- Your latest changes aren’t there. Click Save, then reload your page.
- The popup hasn’t opened yet. Check the Display tab: the page might not match Where, the device might be left out, or How often might be holding it back because you’ve already seen it. Try a private browser window.