Blog

How to Embed ActiveCampaign Forms on Your Website

By
The Reform Team
Use AI to summarize text or ask questions

To embed an ActiveCampaign form, create an Inline form, click Integrate, and paste the code into your website’s HTML or code block. Publish the page, then test a submission to check that the contact reaches the right list, gets the correct tags, and enters the intended automation.

The setup has 3 main steps:

  • Build the form: Add fields, set contact actions, and choose a success message or redirect. Check whether email confirmation is required.
  • Publish the embed: Use Simple Embed for easier updates or Full Embed for direct control over markup and styling.
  • Test the live page: Check mobile layout, keyboard access, field errors, contact records, and automation entry. If double opt-in is enabled, complete email confirmation before checking actions that depend on it.

Need multi-step forms, conditional routing, lead enrichment, or analytics? Reform is an optional alternative, but its ActiveCampaign connection needs separate setup and testing. Retest the live workflow after any form or embed change.

How to Embed and Test ActiveCampaign Forms

How to Embed and Test ActiveCampaign Forms

How to Create a Form in ActiveCampaign (Design, Publish and Embed)

Create an Inline Form in ActiveCampaign

Go to Website → Forms, select Create a form, and enter a clear internal name. Choose Inline as the form type, then select the action it should trigger. Menu labels may vary slightly by account.

Add Fields and Set Contact Actions

In the Fields tab, choose a category and drag the fields you need onto the form. Include Email, and add other fields only if you’ll use them in your follow-up. Arrange them in a clear order.

Under Form actions, set submissions to subscribe contacts to a list, apply a tag, or send an internal notification through Email results. Match your automation’s start trigger to the form submission, list subscription, or tag addition. If double opt-in is on, set the automation to start on submission or after confirmation, depending on your intended timing.

Set the Confirmation Message and Opt-In Options

Choose Show Message for an immediate on-page response, or redirect visitors to a thank-you page. Check the opt-in setting for Subscribe to a list. ActiveCampaign’s documentation says double opt-in is enabled by default in relevant form setups.

A success message does not replace email confirmation. If confirmation is required, tell visitors to check their inbox. Don’t imply that their subscription is already complete.

Once you’ve finished these settings, copy the form’s embed code.

Copy the Embed Code and Publish the Form

Open the form, click Integrate in the upper-right corner, and copy the embed code. Check that you’ve selected the right form so submissions connect to the correct list, tags, actions, and automations.

Choose Simple Embed or Full Embed

Code type Technology Update behavior Best use
Simple Embed JavaScript Form updates can appear without replacing the embed code Easier maintenance
Full Embed HTML and CSS with supporting scripts Relevant changes generally require replacing the code Direct access to form markup and styling

For most sites, use Simple Embed. Choose Full Embed when you need control over the form’s markup and styling. Either way, copy the entire generated snippet, including all tags, scripts, and configuration values.

Add the Code to Your Website

Open the page where you want the form to appear. Add a Custom HTML, Embed, Code, or similar block, paste the full snippet, then save and publish. Block names and publishing controls vary by CMS. Avoid a plain text block - it may display the code rather than the form.

Before publishing, check that your editor supports custom code and isn’t removing any part of the embed. Then open the public page, not just the editor preview, to check that the form appears. If it doesn’t render, copy the full snippet again and republish.

For an ActiveCampaign landing page, add the Inline form block, choose Use an existing form, select your form, and publish.

After publishing, test a real submission on the live page. To maximize results, consider simplifying the experience by removing unnecessary navigation around your form.

Test the Form on the Published Page

Test the live form - not just the editor preview. Open the published page in a private or incognito window, enter an email address you control, and complete every required field. Test on desktop and mobile, and note the confirmation message or redirect. Check both the visitor experience and the contact record.

Verify Subscription Status, Tags, and Automation Entry

After submitting, confirm that the expected message or redirect appears, then check what ActiveCampaign recorded. If double opt-in is on, click the confirmation link before checking subscription status. Receiving the email doesn’t confirm the contact. Find the contact in ActiveCampaign and verify list membership, subscription status, tags, field values, form activity, and automation enrollment. Some form actions may wait until confirmation.

If you’re retesting an existing contact, check that the automation is active, its entry conditions are met, and repeat entries are allowed. With repeat entry disabled, another submission may update the contact without starting the automation again. For a clean test, use a separate test address you control. Activate the workflow before testing - automation triggers aren’t retroactive.

Check Field Validation, Layout, and Accessibility

Try submitting with required fields empty and with an invalid email address, such as:

alex@

Error messages should identify the affected fields and explain how to fix them, without relying on color alone. Passing format validation doesn’t prove an inbox exists. Check desktop and mobile layouts for clipped fields, overlapping consent text, and a hidden submit button. Then test keyboard-only navigation: focus must stay visible, controls must follow a logical order, and every field needs a visible label.

Fix Missing Forms and Submission Problems

If the live form fails, check the embed and site before testing again. For a missing form, confirm that the page is published and the full snippet is installed. Check whether the CMS removed scripts or CSS is hiding the form. Inspect the browser console for errors and requests blocked by consent settings, security rules, or extensions.

If submission works but processing doesn’t, check the intended form actions, field mapping, and opt-in status. If the contact record is correct but the workflow stays idle, check the trigger, selected form, active status, and repeat-entry rules.

Use Reform for Additional Form Features

Use Reform only if you need multi-step forms, conditional routing, lead enrichment, or analytics. It’s an optional, separate workflow from the native ActiveCampaign embed above.

Before replacing the live form, check that the connection handles field mapping, contact creation and updates, duplicates, subscription status, and errors. Switch only after testing confirms it works as intended.

Map every field explicitly, especially custom fields, and map consent separately. Matching labels aren’t enough; API-based connections may require ActiveCampaign field IDs.

Recreate list subscriptions, tags, confirmation behavior, and automation entry rules in the connected workflow.

Send one controlled submission, then check that it arrives in ActiveCampaign with the correct tag and enters the intended automation. Submit the same email address again to check duplicate handling. Next, test conditional routes and submissions without consent to check for unintended workflow entry. Once these checks pass, publish the replacement embed and retest the live page.

Final Checklist: Publish and Retest

Before publishing, check the fields, labels, placeholders, required-field settings, consent language, list assignment, tags, form actions, confirmation message or redirect, opt-in settings, and automation trigger. Paste the Integrate code into the page’s HTML or code block, then publish.

Next, test the live page in a private browser window. Submit a test entry with an inbox you control. Check the desktop and mobile layouts, consider multi-step form benefits for longer surveys, keyboard flow, and validation for blank required fields and invalid email addresses. Verify the confirmation message or redirect, saved contact details, subscription status, tags, and automation entry. For actions that depend on double opt-in, complete the email confirmation first.

After launch, repeat the full workflow after any field, action, confirmation, style, or embed edit. Full Embed requires replacing the code. Save the page URL, form name or ID, embed type, test email, and test timestamp to make retesting faster.

FAQs

Can I embed the same form on multiple pages?

Yes. Copy your published form’s embed code from the Share tab, then paste it wherever you want the form to appear on each page. This can be in page templates, CMS blocks, sidebars, or footers.

The process is the same for both iframe and headless embeds, even across different website sections or store views.

How can I track which page generated a submission?

Use the standard iframe embed option to automatically collect query parameters from your website’s URL. This lets you track lead sources or specific landing pages.

You can also add source tags, such as reform-general-lead, to identify where leads came from. Map these tags correctly when integrating your form to keep reporting and segmentation accurate.

How can I prevent spam submissions?

Turn on spam prevention and email validation in your form settings as you build the form flow. These settings help reduce unwanted submissions and improve the accuracy of the contact email addresses you collect.

Set the form to Published, not Closed. Then submit a test entry and check that it appears correctly in the Responses tab.

Related Blog Posts

Use AI to summarize text or ask questions

Discover proven form optimizations that drive real results for B2B, Lead/Demand Generation, and SaaS companies.

Lead Conversion Playbook

Get new content delivered straight to your inbox

By clicking Sign Up you're confirming that you agree with our Terms and Conditions.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
The Playbook

Drive real results with form optimizations

Tested across hundreds of experiments, our strategies deliver a 215% lift in qualified leads for B2B and SaaS companies.