Embed a form on a website builder

TL;DR: To embed a Sender form on a website builder, copy the form’s JavaScript and HTML snippets from Sender and paste them into the builder’s HTML or Embed code element. Most builders need both snippets in the same box, JavaScript first.

Where to find it: Forms → your form → Publishing settings

Before you start

Create an embedded form in Sender and publish it. A form with the DRAFT badge won’t load on your site. See creating signup forms.

A published embedded form in Sender

Copy the embed code

Go to Forms, click the settings icon next to your form and scroll to the integration instructions in Publishing settings. An embedded form gives you two snippets:

  • The JavaScript snippet loads Sender’s form script. It’s the same for every form in your account.
  • The HTML snippet is a short div that marks where this form appears on the page.

Copy both.

Forms list in Sender with status badges, stats and action buttons
JavaScript and HTML embed snippets in Sender form settings

Add it to your builder

  1. Add an HTML element. Some builders call it Embed code or Custom code.
HTML element in a website builder
  1. Paste both snippets. Most builders need them in the same box, JavaScript first and HTML below. A few need them in separate boxes.
Both Sender snippets pasted into one HTML element
  1. Save and preview.

This video shows the steps in Elementor. They’re the same in most builders:

Check the form works

  1. Open the live page, not the editor. Embedded forms may not fully show inside a builder’s editor.
  2. Send a test signup with your own email address.
  3. Check it arrived. In Sender, open the form’s Overview. Views and signups should go up.

Fix embedded form problems

  • An empty space shows where the form should be. One of the snippets is missing. Add both, JavaScript first.
  • Nothing shows at all. Check the form is published in Sender and your page is published too.
  • The builder removes the script. Some builders strip scripts from HTML elements. Add the JavaScript snippet in the builder’s custom code or head code settings, and keep the HTML snippet in the page.
  • The form is cut off. Make the HTML element taller or wider.

Builder-specific guides

If the form doesn’t show, see form troubleshooting.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *