Capture Any URL Parameter in Pardot Forms, Not Just UTMs
Add your own parameter to a link, such as ?event=webinar, and the script stores its value in a hidden field in Account Engagement (Pardot).
Test it: open the page with your form and add ?event=test to its address, then send the form. The prospect in Pardot shows “test” in that field.
Set It Up in Five Steps
From a new field in Pardot to a form that fills it.
- 1
Create a Pardot Field for Your Parameter
Create a custom field in Pardot that will hold the parameter.
- 2
Add the Field to Your Form as Hidden
Add the field to your Pardot form and set it to hidden and not required.
- 3
Add the Pardot Field ID
Paste the field’s ID from Pardot into the tool (e.g., Name = Event Parameter, ID = event_parameter).
- 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
Your Pardot form stores the parameter you name, in the field you choose.
- Tracking
Better Insights
Track your marketing with parameters of your own.
- 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.