Capture the Landing Page URL With Every Pardot Form Fill
See which page a prospect converted on. On an Account Engagement (Pardot) landing page, the script stores that page's URL in a hidden Pardot field when the form is sent; a form embedded on your website records its own Pardot address instead.
Test it: send the form once yourself. The prospect in Pardot shows the value 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 Landing Page URL
Create a custom field in Pardot that will hold the landing page URL.
- 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 = Landing Page URL, ID = landing_page_url).
- 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.
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 records the page the prospect converted on.
- Tracking
Better Insights
See which pages bring the most conversions and deals.
- 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.