Get Any URL Parameter in Pardot Forms
Automatically capture any URL parameter in Pardot forms.
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.
Ready To Use in Just a Few Steps
Follow these steps to get instant results.
- 1
Create a Pardot Field for Your Parameter
Set up a new custom Pardot field to store your parameter.
- 2
Add Hidden Field to the Pardot Form
Mark the field as hidden and non-required in your Pardot form.
- 3
Add the Pardot Field ID
Paste the Pardot field ID (e.g., Name = Event Parameter, ID = event_parameter) into the tool.
- 4
Copy the Generated JavaScript
The script is ready as you type: copy the output.
- 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.
Why Use This Free Tool
Save time and simplify your workflow.
- Speed
No Developer Needed
Generate and implement your script quickly without technical assistance, tailored to your Pardot form in seconds.
- Accuracy
Tested Results
Ensure your Pardot forms collect the correct parameter – no errors.
- Tracking
Better Insights
Use any parameter to track your marketing efforts.
- Integration
Made for Pardot
We built this JavaScript with Pardot in mind so you can confidently add it to your Pardot forms.
More Free Tools for Pardot & Marketing
We Make Pardot Work for You
Drive marketing ROI with our best-practice Pardot solutions.
