Documentation
How do I enable the plugin?
After downloading Ad Click Tracking for Gravity Forms from the WordPress repository, you’ll need to install the plugin on your WordPress website. Let’s walk through that process.
Step 1: Installation
Log in to your WordPress website and navigate to Plugins > Add Plugin > Upload Plugin > Install the zip file and activate it.
Step 2: Confirm Settings
On the left hand navigation, navigate to Settings > Ad Click Tracking.
Under Attribution, ensure you have the correct attribution model selected and save changes.
That’s it! Now all of your existing forms and future forms will have ad click tracking enabled. If you’d like to disable auto enable please do so in the plugin settings. This allows each form to opt-in individually.
Feature Details
Ad Click Tracking for Gravity Forms records whether each submission came from a paid ad click, which network it came from, and the click identifier itself. It then stores it in the entry. This makes it easy to:
- Attribute gravity forms entries to ads
- Verify paid lead quality during sales follow-up
- Audit conversion tracking issues without guessing
- Export lead-level proof for reporting or reconciliation
- Reconcile Gravity Forms entries against your ad platform’s own reporting
FAQs
What exactly does it track?
Three values are saved on every entry:
- Ad Source – a readable label:
Google Ads,Microsoft Ads,Meta Ads, orUnknown - Ad Network – a machine-friendly slug:
google,microsoft,meta - Ad Click ID – the click identifier the ad platform attached to the visit
They’re real Gravity Forms fields, so they work as standard merge tags and appear in entry exports.
Need every traffic source – organic search, AI assistants, social, email, referrals – plus full UTM capture and built-in reporting? Check out Referral Source Tracking for Gravity Forms.
Which click IDs are captured?
- Google Ads:
gclid,gbraid,wbraid, plus thegad_sourceandgad_campaignidmarkers Google adds to every ad click. - Microsoft Advertising:
msclkid. - Meta:
fbclid, when the visit is also tagged as paid.
Campaigns tagged by hand are recognized too. Paid utm_medium such as cpc or ppc alongside a utm_source naming Google, Bing or Facebook is enough. IMPORTANT:gclid and msclkid only exist when auto-tagging is switched on.
Does it track every form?
Yes (default); Turn it on for all forms at once under Settings > Ad Click Tracking, or override it per form under Form Settings.
Should I pick first click or last click attribution?
This is totally up to you:
- First click keeps the first ad someone clicked for the full 30 days, even if they later click a different ad. It answers “which ad introduced this lead to us?”
- Last click replaces the stored value on every new ad click. It answers “which ad brought them back to convert?”
Worth knowing when testing: with First click selected, arriving from a Google ad and then a Microsoft ad in the same browser still records Google Ads – this is intentional, it shows that Google Ads is what originally brought the submission.
Clear your cookies or use a fresh private window between tests – if you don’t do this with first click enabled, then you will see the original ad source every time.
Can I use the captured values in notifications and confirmations?
Yes; The three fields are real Gravity Forms fields, so they work as standard merge tags. For example {Ad Source:2185230}. It will appear in the merge tag drop-down wherever Gravity Forms offers one.
Is it GDPR/CCPA compliant?
Yes; when used with consent/legitimate interest and proper disclosure; no PII is captured by default. Everything happens in a small front-end script and a first-party cookie. The plugin makes no external requests and creates no custom database tables.
What languages are supported?
English for now, but it is translation ready.
Does it work with WordPress Multisite?
Yes; As soon as you network-activate it, each subsite can capture ad click attribution in its Gravity Forms entries automatically.
Where is the data saved?
We save data into your Gravity Forms entries only; we do not send conversions or events to ad platforms.
Can I export the data?
Yes; data appears in Gravity Forms Entries and exports.
Does it work with caching/CDNs?
Yes; JavaScript runs client-side. HOWEVER, if you are using a caching plugin like WP Rocket, and you are deferring scripts or combining scripts, you need to add our JavaScript file to the ignore list: /wp-content/plugins/ad-click-tracking-for-gravity-forms/assets/(.*).js