Get UTM Parameters Into Every Pardot Form Fill
See which source, medium and campaign brought a prospect to the page with your form. The script writes the UTM values from the page address into hidden fields in Account Engagement (Pardot).
Test it: open the page with your form and add ?utm_source=test&utm_medium=test to its address, then send the form. The prospect in Pardot shows “test” in those fields.
Set It Up in Five Steps
From a new field in Pardot to a form that fills it.
- 1
Create Pardot Fields for Each UTM Parameter
Create a separate field in Pardot for each UTM parameter you want to track.
- 2
Add Hidden Fields to the Pardot Form
Add the UTM fields to your Pardot form and set them to hidden and not required.
- 3
Add the Pardot Field IDs
Paste each field’s ID from Pardot into the tool (e.g., Name = UTM Source, ID = utm_source). Leave the parameters you don’t need empty.
- 4
Copy the Generated JavaScript
The script is written as you type. Copy it when you’re done.
- 5
Insert the Script in the Pardot Form
Go to the “Look and Feel” tab, select “Below Form,” open the “Source” editor, and paste the script. Is the form embedded on your website? Also paste the second script below the form’s embed code on that page.
What You Get From This Free Tool
The data you need in Pardot, without waiting for a developer.
- Speed
No Developer Needed
You create the script for your form and add it yourself, without technical help.
- Accuracy
Tested Results
Each UTM value goes into the Pardot field you mapped it to.
- Tracking
Marketing Insights
Use UTM parameters to track which marketing efforts bring in leads.
- Integration
Made for Pardot
We wrote this JavaScript specifically for Pardot forms, so you can add it to yours with confidence.
More Free Tools
We Make Pardot Work for You
Talk to a certified consultant, not a salesperson, and leave the first call knowing your next step.