ActiveCampaign Forms Attribution Tracking
Connect every ActiveCampaign form submission to the marketing channel that drove it. AttributionHub captures UTM data, referrers, and landing pages — for both inline embeds and floating widget forms.
Why ActiveCampaign Users Need Better Attribution
ActiveCampaign is a powerhouse for email marketing and automation. You've got sequences, automations, lead scoring, and CRM features all in one platform. But there's a blind spot: when someone fills out an ActiveCampaign form on your website, you don't know which marketing effort brought them there.
ActiveCampaign shows you email engagement metrics brilliantly. Open rates, click rates, automation paths — it's all there. But the acquisition side is murky. Which blog post brought in that subscriber? Which paid ad drove that demo request? Which social media post led to that contact form submission?
AttributionHub fills this gap by capturing visitor-level attribution data and writing it into your ActiveCampaign forms — whether they're standard inline embeds or floating widget modals.
What Data Gets Captured
UTM Parameters
Source, medium, campaign, term, and content — captured and stored as ActiveCampaign custom fields on each contact.
Landing Page & Referrer
Which page the visitor arrived on and where they came from, showing the full path to your form.
Channel Classification
Automatic tagging as Paid Search, Organic, Social, Email, Direct, or Referral — consistent across all contacts.
First Touch & Last Touch
Track both the original discovery and the converting touchpoint, even across multiple sessions.
How It Works
ActiveCampaign forms come in two flavors: standard inline embeds (rendered as HTML forms) and iframe-based floating widgets/modals. AttributionHub handles both automatically.
Step 1: Create Custom Fields in ActiveCampaign
Go to Settings > Data Management > Custom Fields and create fields for each attribution data point:
- Channel (text)
- UTM Source (text)
- UTM Medium (text)
- UTM Campaign (text)
- UTM Term (text)
- Landing Page (text)
- Referrer (text)
Step 2: Add Hidden Fields to Your Form
In the ActiveCampaign form builder, add your custom fields and set them as hidden. Map the field names to match AttributionHub's naming convention.
Step 3: Add the AttributionHub Script
Place the tracking snippet on your website:
<script src="https://cdn.attributionhub.com/attribution.js?id=YOUR_ID" async defer></script>
For inline embeds, AttributionHub populates the hidden fields directly in the DOM. For iframe widgets, it injects URL parameters into the iframe source.
| Custom Field | Field Name | Example Value |
|---|---|---|
| Channel | ah_channel | |
| UTM Source | utm_source | newsletter |
| UTM Medium | utm_medium | |
| UTM Campaign | utm_campaign | weekly-digest |
| UTM Term | utm_term | new features |
| Landing Page | ah_landing_page | /blog/new-features |
| Referrer | ah_referrer | mail.google.com |
Step 4: Test the Integration
Visit your site with UTM parameters and submit the form:
https://yoursite.com/signup?utm_source=newsletter&utm_medium=email&utm_campaign=weekly-digest
Check the contact record in ActiveCampaign — the custom fields should contain the attribution values.
For complete setup details, see the ActiveCampaign integration guide.
Use Cases
Content Marketing Funnels — Track which blog posts, lead magnets, or webinar landing pages drive the most email signups. Use attribution data in ActiveCampaign automations to segment new subscribers by acquisition source.
Paid Acquisition — Know which ad platforms and campaigns generate subscribers who actually engage. Compare the long-term value of contacts acquired through Google, Facebook, and LinkedIn ads.
Multi-Channel Lead Gen — When running forms across your website, landing pages, and partner sites, attribution data tells you which placement generates the highest-quality leads.
E-commerce Email Lists — Track which channels drive newsletter signups. Segment your email list by acquisition source to send more relevant campaigns.
What Makes AttributionHub Different
Inline & Widget Support
Handles both standard inline form embeds and ActiveCampaign's floating widget/modal forms automatically.
Automation Ready
Attribution data stored as custom fields can trigger ActiveCampaign automations — route leads based on marketing source.
First-Party Data
No third-party cookies needed. Attribution is captured using first-party storage that works with all browsers.
Cross-Session Tracking
First-touch attribution persists across sessions. Returning visitors carry their original marketing source.
Frequently Asked Questions
Does this work with ActiveCampaign's floating bar and popup forms?
Yes. Floating bars, modals, and popup forms that use the iframe widget mode are fully supported. AttributionHub injects parameters into the iframe URL.
Can I use attribution data in ActiveCampaign automations?
Absolutely. Since attribution values are stored as custom contact fields, you can use them as conditions in automations — for example, sending different welcome sequences based on acquisition channel.
Will this show up in ActiveCampaign's contact record?
Yes. Custom field values appear on the contact detail page and can be used in segments, automations, reports, and email personalization.
Does it affect form loading speed?
No. The script is under 10 KB and loads asynchronously. It doesn't delay form rendering or interfere with ActiveCampaign's form scripts.
Start Tracking Your ActiveCampaign Leads
Set up attribution tracking in minutes. See which channels and campaigns drive your ActiveCampaign form submissions.
Get Started Free