How do I embed a form on my site?

In this article, we’ll show you how to embed a form to your site using form code. The instructions illustrated below use an inline form, however, this document can be used for any form type.

When you create a form in ActiveCampaign, we’ll automatically generate different integration options you can use to collect subscribers. One of those options is an embed code(s).

To locate the form embed code:

1. Click on "Forms" from the left navigation menu in your account.

2. Click "Edit" next to the form you wish to add to your site.

3. Click the “Integrate” button located on the top right of your screen.

4. On the “Integrate Your Form” page, we’ll provide you with both the Simple Embed code and the Full Embed code:

The simple embed code uses Javascript. Any changes you make to your form in the ActiveCampaign application will be reflected on your website right away. This code is available for all form types.

The full embed code uses both CSS and HTML. This can be thought of as a static form — any changes you make to your form in the ActiveCampaign application will not be reflected on your form. You will need to re-paste your form code in order to see those changes or make changes directly into your pasted form code. This form code type is available for inline forms only.

1. Hover your mouse over either option and copy the code.

2. Paste the form code into your website’s HTML where you want the form to appear.

More Information

If you are using a website builder, please refer to that platform’s specific instructions on adding form code to their site. If you only need the HTML and not the CSS for your website builder, see this help document.

Have more questions? Submit a request