Store the Page Title in a Hidden Pardot Field
The script reads the title of the page the form runs on and stores it in a hidden field in Account Engagement (Pardot), so on a Pardot landing page you see which page a prospect converted on.
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 Page Title
Create a custom field in Pardot that will hold the page title.
- 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 = Page Title, ID = page_title).
- 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
The page title goes into the hidden field you choose.
- Tracking
Better Insights
See which pages bring conversions.
- 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.