Get the Google Click Identifier (GCLID) Into Your Pardot Forms
Store the GCLID from Google Ads clicks in a hidden field in Account Engagement (Pardot), so a lead who sends the form on the page the ad led to keeps the ID of that click.
Test it: open the page with your form and add ?gclid=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 GCLID
Create a custom field in Pardot that will hold the Google Click ID (GCLID).
- 2
Add Hidden Field to the Pardot Form
Add the GCLID 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 = GCLID Parameter, ID = gclid_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
The GCLID goes into the Pardot field you choose.
- Tracking
Better Attribution
Use the Google Click ID to measure how your ads perform.
- 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.