plugin-icon

Ad Click Tracking for Gravity Forms

作者:Plugin Brewery·
Capture Google, Microsoft and Meta ad click IDs (gclid, msclkid, fbclid) on every Gravity Forms entry for reliable lead attribution.
版本
1.0.0
最后更新
Aug 14, 2026
Ad Click Tracking for Gravity Forms

Ad Click Tracking for Gravity Forms records which ad click brought each lead to your site, so you can connect Gravity Forms entries back to your paid campaigns. When a visitor arrives from a paid ad, the plugin captures the click identifier and stores it for 30 days in a first-party cookie. The next time that visitor submits one of your forms, the captured values are saved with the entry.

It detects the major ad networks automatically:

  • Google Adsgclid, gbraid, wbraid, plus the gad_source and gad_campaignid markers Google adds to every ad click (and Google Ads landing-page referrers)
  • Microsoft Advertisingmsclkid
  • Meta (Facebook/Instagram) Adsfbclid, once the visit is also marked as paid

Campaigns tagged by hand are recognised too: a paid utm_medium such as cpc, ppc or paid, alongside a utm_source naming Google, Bing/Microsoft or Facebook/Instagram. That matters because gclid and msclkid only exist when auto-tagging is switched on.

A visit that cannot be shown to come from a paid ad is recorded as Unknown rather than credited to a network. Facebook adds fbclid to organic links as well as ads, so it never counts as paid on its own.

Three values are stored on every entry:

  • Ad Source — a friendly label such as Google Ads, Microsoft Ads, Meta Ads, or Unknown.
  • Ad Network — a machine-friendly slug (google, microsoft, meta).
  • Ad Click ID — the captured click identifier.

Built for Gravity Forms

Hidden tracking fields are added to your forms automatically and saved with every entry — no form editing required. Turn tracking on for all forms at once under Settings Ad Click Tracking, or per form under Form Settings. The captured values appear on each entry like any other field, so they flow into entry exports and notifications automatically.

Lightweight by design

  • No external requests — everything happens in a small front-end script and first-party cookies.
  • No custom database tables.
  • Choose first-click or last-click attribution, so multi-page visits resolve correctly.

Upgrade to full attribution

Ad Click Tracking captures paid ad clicks. When you need to know where every lead came from, upgrade to Referral Source Tracking for Gravity Forms:

  • Every traffic source — organic search, referral links, social, email and direct, not just paid ads.
  • AI and LLM traffic — ChatGPT, Perplexity, Copilot, Claude, Grok and DeepSeek, with Gemini attributed under Google.
  • Complete UTM capture: source, medium, campaign, term and content.
  • First-touch and last-touch together, with an adjustable attribution window.
  • Built-in reporting across the entries you already collect.

See Referral Source Tracking for Gravity Forms

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 7.0.4
这个插件是可用的下载,适用于您的站点。