Salesforce Pardot Attribution Tracking
Track which campaigns and channels drive Pardot form submissions on your website. AttributionHub captures UTM parameters, referrers, and landing pages — then passes them into Pardot forms embedded as iframes, automatically.
The Iframe Challenge With Pardot Forms
Pardot (now Marketing Cloud Account Engagement) is deeply integrated with Salesforce, making it the natural choice for teams already in the Salesforce ecosystem. But Pardot forms have a well-known challenge: they're embedded as cross-origin iframes.
This means your website's JavaScript can't directly access the form fields inside the Pardot iframe. Traditional hidden field population doesn't work. Most attribution tools simply give up at this point.
AttributionHub doesn't. It detects Pardot iframes on your page and appends attribution data as URL parameters to the iframe source. Pardot's form handler reads these parameters and populates the corresponding prospect fields — all without any cross-origin workarounds or security concerns.
What Data Gets Captured
UTM Parameters
Source, medium, campaign, term, and content — passed into Pardot prospect fields via iframe URL parameters.
Landing Page & Referrer
The page the visitor first landed on and the referring domain, giving you full visibility into the prospect's journey.
Channel Classification
Automatic tagging as Paid Search, Organic, Social, Email, Direct, or Referral — no manual classification.
First Touch & Last Touch
Both the original discovery source and the converting touchpoint, supporting Salesforce reporting and dashboards.
How It Works
Step 1: Create Custom Prospect Fields
In Pardot (Marketing Cloud Account Engagement), go to Admin > Object and Field Configuration > Prospect Fields and create custom fields for each attribution data point. Set the Custom Field ID to match AttributionHub's field names.
Step 2: Add Hidden Fields to Your Pardot Form
In the Pardot form editor, add your custom fields and set them as hidden. Enable "Allow pre-fill" for each field if your Pardot configuration requires it.
Step 3: Add the AttributionHub Script
Place the tracking snippet on your website (not on the Pardot landing page):
<script src="https://cdn.attributionhub.com/attribution.js?id=YOUR_ID" async defer></script>
AttributionHub detects Pardot iframes (from pardot.com or
salesforce-sites.com domains) and appends attribution parameters to the
iframe URL.
| Prospect Field | Custom Field ID | Example Value |
|---|---|---|
| Channel | ah_channel | Paid Search |
| Source | utm_source | |
| Medium | utm_medium | cpc |
| Campaign | utm_campaign | enterprise-trial |
| Keyword | utm_term | pardot alternatives |
| Landing Page | ah_landing_page | /solutions |
| Referrer | ah_referrer | google.com |
Step 4: Map Fields in Salesforce
Since Pardot syncs with Salesforce, you can map your custom prospect fields to Salesforce Lead or Contact fields. This means attribution data flows from your website form all the way into Salesforce reports and dashboards.
For complete setup instructions, see the Pardot integration guide.
Use Cases
Enterprise B2B Sales — Attach marketing source data to every prospect that enters your Pardot-Salesforce pipeline. Give sales reps context on whether a lead came from a targeted ad or organic discovery.
Campaign ROI Reporting — Build Salesforce reports that tie closed-won revenue back to the original marketing campaign. Attribution data on prospect records makes this straightforward.
ABM Strategy — Track which channels drive engagement from target accounts. Attribution data on prospect fields can be used in Pardot automation rules and Engagement Studio programs.
Partner Marketing — When co-marketing with partners, attribution tracking shows which partner referrals actually convert to prospects, giving you data for revenue sharing discussions.
What Makes AttributionHub Different
Iframe-Native Approach
Pardot forms are iframes by design. AttributionHub handles this natively through URL parameter injection — no workarounds needed.
Salesforce Sync Ready
Attribution data stored in Pardot prospect fields syncs to Salesforce automatically. Build reports and dashboards with real marketing data.
Custom Domain Support
Using a custom domain for your Pardot forms? Add the data-attrhub-pardot attribute to your iframe for automatic detection.
First-Party Attribution
No reliance on third-party cookies. Attribution data is captured client-side using first-party storage mechanisms.
Frequently Asked Questions
Does this work with Pardot Lightning forms?
Yes. Whether you use classic Pardot forms or the newer Lightning form experience, AttributionHub handles the iframe embedding the same way.
Will attribution data appear in Salesforce?
Yes. Pardot custom fields can be mapped to Salesforce Lead or Contact fields. Once mapped, attribution data syncs automatically and is available in Salesforce reports, dashboards, and automations.
Can I use attribution data in Pardot automations?
Absolutely. Custom prospect fields can be used as criteria in Pardot automation rules, segmentation rules, and Engagement Studio programs.
Does this require Pardot API access?
No. AttributionHub works entirely on the client side. It doesn't need Pardot API credentials or any server-side integration.
Start Tracking Your Pardot Prospect Sources
Set up attribution in minutes. Capture UTM data in every Pardot form submission and flow it through to Salesforce.
Get Started Free