Protect your ActiveCampaign form from spam bots
In short: To stop spam on an ActiveCampaign form, either run its Full Embed code through the SpamKill Setup Wizard and paste the protected code on your page (about 5 minutes), or build the form in the SpamKill Form Builder and connect ActiveCampaign (about 10 minutes). Either way, SpamKill checks every submission without a CAPTCHA and real contacts still land in ActiveCampaign.
Bots are filling your ActiveCampaign form with fake contacts. Pick how you want to set up your form and follow that path. Either way, real contacts keep landing in your lists while the spam stops at the door.
- 2 ways to set up
- About 5–10 min
- Copy and paste one snippet
Last verified on ActiveCampaign: an inline form's Full Embed with the SpamKill Setup Wizard, and SpamKill Forms
What changes, and what doesn't
- Contacts still arrive in ActiveCampaign, on your lists
- Your tags, automations and existing contacts
- Your page: only the form code changes
- Every submission is checked before it reaches ActiveCampaign
- Bots are stopped without a CAPTCHA
- Undo it anytime by putting your old form code back
“SpamKill is a simple yet highly effective tool that stops spam signups before they even reach your CRM. Since installing SpamKill, not a single bad contact has been added.”
Before you start
Have these ready so nothing stops you halfway.
- A SpamKill accountNo account yet? Start a free trial.
- An ActiveCampaign Admin userFor the Full Embed you need Website › Forms. For SpamKill Forms you need the API URL and key from Settings › Developer.
- Access to the page your form goes onFor example your WordPress, Webflow or Squarespace editor, or your landing page builder.
How do you want to protect your ActiveCampaign form?
Already have an ActiveCampaign form on your site? Pick the first option to keep it. Want one form for any page or landing page? Pick the second.
Pick the option that matches your form to see its steps.
Protect your ActiveCampaign form
Not your setup? Choose another optionQuick setup
For returning users. Each line links to its full step.
- In ActiveCampaign, open Website › Forms, click Start from scratch, pick Inline Form, choose a Form Action and click Create form. Step 1
- Click Integrate, then Copy next to Full Embed. Step 2
- In the SpamKill Console, open Setup Wizard, click No to the WordPress question and paste the code. Step 3
- Click Generate Protected Code, check the email field is email, then click Yes, protect my form. Step 4
- Paste the protected code where the ActiveCampaign code was, publish the page, then click Next. Step 5
- Submit [email protected] and expect an error, then submit a real address and check the contact. Step 6
Create an inline form
Where: ActiveCampaignWebsiteForms
In ActiveCampaign, open Website and click Forms (1). Click Start from scratch. Name the form, keep Inline Form selected (2), and choose a Form Action, such as subscribing to a list (3). Click Create form, then add the fields you need.
You should see: The form editor, with your form's fields on screen.
Already have a form?
Click Edit form next to it in the Forms list and go on to step 2.
Copy the Full Embed
Where: ActiveCampaignYour formIntegrate
In the form editor, click Integrate (1). On the Embed tab, click Copy next to Full Embed (2).
You should see: The Full Embed code on your clipboard. It starts with <style>@import.
Why not the Simple Embed?
The Simple Embed is a script that draws the form after the page loads, so there's no form code for SpamKill to protect. The Full Embed is the form itself.
Paste it into the Setup Wizard
Where: SpamKill ConsoleSetup Wizard
In the SpamKill Console, click Setup Wizard in the sidebar. If your site isn't on WordPress, click No under Is your website developed in WordPress?. Paste the ActiveCampaign code into the box (1).
You should see: Tips under the box, then Please select the email field input showing email.
Is this form already live on your site?
Create a new form in ActiveCampaign and paste its code instead. You can delete the old form once the new one is set up.
Generate the protected code
Where: SpamKill ConsoleSetup Wizard
Click Generate Protected Code. SpamKill asks you to check the email field: it should be email (1). Click Yes, protect my form (2).
You should see: Replace the existing code with this code on your website, above your protected code.
Swap the code on your page
Where: Your website editor
Copy the protected code from the box. Open the page with your ActiveCampaign form in your website editor. Delete the ActiveCampaign form code and paste the SpamKill code in its place. Save and publish the page. Then click Next in the wizard.
You should see: Your page shows the same form as before.
Does your site style the form by field name?
SpamKill renames each field, and the wizard lists the old and new names. Update any CSS or scripts that point at the old names.
Test it twice
Open your page in a private window. Submit the form with [email protected] (1). Then submit it again with a name and an address you can recognise. ActiveCampaign shows its thank-you page (2).
The first try shows That email address doesn't look right.
The second try appears in Contacts, with Subscribed to list in its activity.
Back in the wizard, click Both Tests Passed.
You should see: Thanks for signing up! after the second try.
Your ActiveCampaign form is protected
- Bots are stopped before they reach ActiveCampaign.
- Real leads arrive exactly as before, with no extra steps for them.
- Every block is logged in your SpamKill dashboard.
Something not working?
Find what you're seeing.
Real contacts aren't showing up in ActiveCampaign
Check the live page has the protected code: its form sends to protect.spamkill.dev. If you changed the form in ActiveCampaign, copy its Full Embed again and repeat steps 3 to 5.
A real visitor was told their email doesn't look right
SpamKill checks for missing @ symbols, extra spaces and common typos. The visitor can click Go back to the form, fix the address and send again.
The thank-you no longer shows inside the form
That's expected. With SpamKill in front, the form submits normally, so ActiveCampaign shows its thank-you on its own page.
Changed your mind? Undo in under a minute
- Open the page in your website editor.
- Delete the SpamKill code and paste your original ActiveCampaign Full Embed back.
- Save and publish the page. Your form is back to how it was.
Build a SpamKill form for ActiveCampaign
Not your setup? Choose another optionQuick setup
For returning users. Each line links to its full step.
- In SpamKill, open Form Builder and click Create form. Step 1
- On the Build tab, add the fields your ActiveCampaign form has. Step 2
- On the Deliver tab, click Connect on ActiveCampaign and paste your API URL and key. Step 3
- Click Use this on ActiveCampaign, check the mapping, and pick optional lists and tags. Step 4
- Click Save mapping, send a test lead, then click Publish form. Step 5
- Copy the code from the Embed tab and paste it where the form should appear. Step 6
Create your SpamKill form
Where: SpamKill ConsoleForm BuilderForms
In the SpamKill Console, click Form Builder in the sidebar, then Create form. Pick the starting point closest to your ActiveCampaign form (1). Give the form a name and pick your website under Subscription. Click Create (2).
You should see: Your new form open on the Build tab, marked Draft.
Match your ActiveCampaign fields
Where: Form BuilderYour formBuild
Add each field your ActiveCampaign form asks for from Common fields (1). Reorder or remove fields in your form (2). Every form keeps one required Email field.
You should see: The same fields as your ActiveCampaign form. Changes save on their own.
Want it to look like your old form?
Use the Design tab to pick colours, font and label position. Style changes apply when you publish.
Connect ActiveCampaign
Where: Form BuilderYour formDeliver
In ActiveCampaign, open Settings › Developer and copy your API URL and Key. In SpamKill, open the Deliver tab. Under Add a CRM, click Connect on ActiveCampaign (1). Paste the API URL (2) and the API key (3), then click Connect.
You should see: Back on the Deliver tab, a green Connected. message, and ActiveCampaign under Your CRMs marked Already connected.
ActiveCampaign refused the API URL?
Use the API URL from Settings › Developer, which ends in .api-us1.com, not the address you sign in at. An Admin user's key works best.
Map fields, lists and tags
Where: Form BuilderYour formDeliver
Click Use this on ActiveCampaign (1). SpamKill matches your fields and splits Full name into first and last name. Under Lists (optional), pick the lists new contacts should join (2). Under Tags (optional), pick the tags you want on every new contact (3).
You should see: Delivering to ActiveCampaign at the top, and every field matched or set to Not sent.
Do new contacts get a confirmation email?
No. New contacts join your lists as Active straight away, without double opt-in.
Test and publish
Where: Form BuilderYour formDeliver
Click Save mapping. Click Send a test lead to this CRM (1) and check the contact in ActiveCampaign. Then click Publish form (2).
Test contact delivered to your CRM. under the test button.
A contact with your own email address under Contacts, on your lists and with your tag.
You should see: The form's badge changes from Draft to Published.
Which email does the test contact use?
The one you sign in to SpamKill with. Delete the test contact in ActiveCampaign when you're done.
Place the form on your page
Where: Form BuilderYour formEmbed
On the Embed tab, click Copy (1). Open your page in its editor. Paste the code where the form should appear, replacing any old ActiveCampaign form code. Save and publish the page.
You should see: Your page shows the SpamKill form with your fields. Submit it once to check the lead arrives in ActiveCampaign.
Changed a field later?
Re-paste the code only when you add or remove a field. Other changes apply when you click Update & re-publish.
Your ActiveCampaign form is protected
- Bots are stopped before they reach ActiveCampaign.
- Real leads arrive exactly as before, with no extra steps for them.
- Every block is logged in your SpamKill dashboard.
Something not working?
Find what you're seeing.
A returning contact wasn't added to my lists
SpamKill never re-subscribes someone who unsubscribed or bounced on any list. Their details still update. One exception: a contact you archived after they unsubscribed is restored and subscribed again if they fill in the form.
Leads stopped after a user left
Each ActiveCampaign key belongs to one user. If that user is deleted, or their key is reset, click Connect on ActiveCampaign again with the same API URL and a current key. Leads held in the meantime are sent once it's back.
I don't see a Reconnect button
There isn't one for ActiveCampaign. Click Connect on ActiveCampaign with the same API URL to reconnect. A different account's URL is refused.
A choice answer is missing in ActiveCampaign
Answers must use the same words as the ActiveCampaign field's options, or they're left out. Give your form the same options.
A custom field is missing from the mapping
Add it in ActiveCampaign under Contacts › Fields, then click Refresh fields on the form's Deliver tab and map it. A date field is safer than date and time.
Changed your mind? Undo in under a minute
- Open the page in your website editor.
- Delete the SpamKill code and put your old form back.
- Save and publish the page.
- Optional: in the Form Builder, click Disconnect on the form's Deliver tab.
Thanks! Glad your form is protected.
Sorry about that. Tell us which step tripped you up and we'll fix the guide.
Stuck? We'll set it up with you.
Free setup help for every plan. Send us a message and we'll walk through your ActiveCampaign form with you.
Get setup help