Skip to main content
MANTISAttribution infrastructure
ServicesResourcesAssessmentGet in touch
MANTIS

MANTIS: Measurement and Tracking Infrastructure SystemMeasurement and Tracking Infrastructure System

Tracking and attribution infrastructure for lead-gen businesses running Google and Meta ads, so your CRM, ad platforms and reports agree on the numbers.

Services

  • Tracking Audit
  • Tracking Architecture
  • Offline Conversions
  • Lead Automation
  • Audience Suppression

More

  • Assessment
  • Resources
  • Get in touch
  • Privacy Policy
© 2026 MANTISTracking & Attribution InfrastructureZagreb, Croatia
Guides/GCLID, GBRAID and WBRAID for lead gen

GCLID, GBRAID and WBRAID for lead gen

Google Ads adds a click identifier to the landing URL when someone clicks an ad. For a lead-gen business, that value is only useful if it reaches the CRM record of the lead, because a later qualification or sale is matched back to the click with it. This guide covers what each identifier is, how it differs from UTM parameters and Meta's fbclid, and how to carry it from the URL to the upload.

MANTIS · Last updated 25 November 2026

Key takeaways

  • GCLID is Google's standard click identifier. GBRAID and WBRAID are the identifiers Google uses for some iOS traffic, for app conversions and web conversions respectively.
  • UTM parameters are labels you write for analytics. Google Ads cannot match an imported conversion to a click with them.
  • Capture all three Google identifiers in separate hidden form fields and separate CRM properties, exactly as received. Google states that GCLID and GBRAID are case sensitive, so treat WBRAID the same way.
  • Store the capture time next to the identifier. Click-ID imports must be uploaded within 90 days of the last click, enhanced conversions for leads within 63 days.
  • Only store click identifiers when the visitor's consent choice allows it.

On this page

  • The three identifiers
  • Example values
  • GCLID vs UTM vs fbclid
  • Form capture
  • CRM properties
  • Using them in uploads
  • Missing click IDs
  • FAQ

What are GCLID, GBRAID and WBRAID?

GCLID, GBRAID and WBRAID are click identifiers that Google Ads auto-tagging adds to landing page URLs. GCLID is the general one; GBRAID and WBRAID cover some iOS traffic, with GBRAID used for web-to-app measurement and WBRAID for app-to-web measurement.

GCLID stands for Google Click Identifier. With auto-tagging (opens in a new tab) turned on, Google adds it to the final URL as the gclid parameter. Google's iOS measurement notes (opens in a new tab) explain that GBRAID and WBRAID were introduced to measure iOS 14 and later traffic within Apple's policies: GBRAID for web-to-app measurement and WBRAID for app-to-web measurement. Google's GBRAID setup guide (opens in a new tab) calls it a privacy-preserving identifier that measures ad performance without linking it to individual users or events.

On a website lead form, a paid visitor may arrive with a gclid, a wbraid, a gbraid, or more than one of them, and the form has to keep whichever arrived. Google's GBRAID setup guide says to pass the GBRAID to your back end, including when no GCLID is available.

What is an example of a GCLID?

Google's auto-tagging help shows a landing URL of the form www.example.com/?gclid=123xyz. A real value is a longer opaque string generated by Google, and it must be stored and uploaded without any change to its case.

Example landing URLs after an ad click
https://www.example.com/quote?gclid=EXAMPLEgclid123xyz&utm_source=google&utm_medium=cpc
https://www.example.com/quote?wbraid=EXAMPLEwbraid456abc
https://www.example.com/quote?fbclid=EXAMPLEfbclid789def&utm_source=facebook

Example values only. Google states that both GCLID and GBRAID are case sensitive, so never upper-case, lower-case or trim the value in a form handler or CRM workflow.

What is the difference between GCLID, UTM parameters and fbclid?

A GCLID is generated by Google for one ad interaction and can be matched back to it. UTM parameters are campaign labels you write yourself, and fbclid is Meta's click identifier, which Google cannot use.

Parameter
Set by
When it appears
What it can be matched for
Where to keep it
Parametergclid
Set byGoogle Ads auto-tagging
When it appearsA click on a Google ad that leads to your site
What it can be matched forGoogle Ads offline conversion import and enhanced conversions for leads
Where to keep itIts own CRM property on the lead, unchanged
Parameterwbraid
Set byGoogle Ads auto-tagging
When it appearsiOS clicks that Google associates with web conversions, for example an ad in an iOS app leading to your site
What it can be matched forThe same Google Ads imports; optional where a GCLID exists
Where to keep itIts own CRM property, never merged into the GCLID field
Parametergbraid
Set byGoogle Ads auto-tagging
When it appearsiOS clicks that Google associates with app conversions
What it can be matched forThe same Google Ads imports; optional where a GCLID exists
Where to keep itIts own CRM property
Parameterutm_source, utm_medium, utm_campaign and others
Set byYou, or a tracking template you configure
When it appearsOnly when you add them to the URL
What it can be matched forNothing in Google Ads matching. They label traffic in analytics and reports
Where to keep itSource and campaign fields for your own reporting
Parameterfbclid
Set byMeta
When it appearsA click on a Facebook or Instagram ad
What it can be matched forMeta matching, sent as fbc through the Conversions API. No Google Ads upload field takes it
Where to keep itA separate CRM property, or the _fbc value the Meta Pixel sets

UTM parameters and click identifiers work side by side. Auto-tagging does not replace UTMs for analytics labelling, and UTMs do not replace the click identifier for conversion matching.

Meta's ClickID documentation (opens in a new tab) says the Pixel stores the fbclid in the _fbc cookie in the format fb.subdomainIndex.creationTime.fbclid, and that the value is case sensitive. If Meta and CRM lead counts disagree, that is a separate problem, covered in why Meta shows more leads than your CRM.

How do you capture a click ID in a lead form?

To capture a click ID in a lead form, read gclid, gbraid and wbraid from the landing URL once the visitor's consent allows ad storage, keep them in first-party storage with a 90-day expiry, and copy them into hidden form fields of the same names before the form is sent.

Example: one WBRAID from landing to upload

  1. 01

    Landing URL

    The visitor arrives on /pricing?wbraid=EXAMPLEwbraid456abc after an iOS app ad click.

    What exists at this step

    The value in the URL only

  2. 02

    Consent and storage

    Once the consent choice allows ad storage, the script saves the value with a 90-day expiry.

    What exists at this step

    wbraid and its expiry in local storage

  3. 03

    Form submission

    Two pages later the visitor submits the quote form. Hidden fields named gclid, gbraid and wbraid are filled from storage.

    What exists at this step

    Submission with wbraid filled, the other two empty

  4. 04

    CRM property

    The form integration maps each hidden field to its own lead property.

    What exists at this step

    Lead L-221 with Google WBRAID and capture time

  5. 05

    Upload

    When L-221 qualifies, an enhanced conversions for leads row carries the lead's hashed email, the WBRAID, the conversion action and the qualification time.

    What exists at this step

    One row per outcome, logged

Minimal capture script (no libraries)
var CLICK_ID_KEYS = ["gclid", "gbraid", "wbraid"];
var STORAGE_KEY = "google_click_ids";
var MAX_AGE_MS = 90 * 24 * 60 * 60 * 1000; // 90 days

// Call only after the visitor's consent choice allows ad storage.
function storeClickIds() {
  var params = new URLSearchParams(window.location.search);
  var ids = {};
  var found = false;
  CLICK_ID_KEYS.forEach(function (key) {
    var value = params.get(key);
    if (key === "gclid") {
      var src = params.get("gclsrc");
      if (src && src.indexOf("aw") === -1) value = null; // not a Google Ads click
    }
    if (value) { ids[key] = value; found = true; } // keep the exact case
  });
  if (!found) return; // no new ad click: keep what is stored
  ids.expires = Date.now() + MAX_AGE_MS;
  try {
    localStorage.setItem(STORAGE_KEY, JSON.stringify(ids)); // a new click replaces the old set
  } catch (e) {}
}

function readClickIds() {
  try {
    var ids = JSON.parse(localStorage.getItem(STORAGE_KEY) || "null");
    if (ids && ids.expires > Date.now()) return ids;
    localStorage.removeItem(STORAGE_KEY);
  } catch (e) {}
  return {};
}

function fillHiddenFields(form) {
  var ids = readClickIds();
  CLICK_ID_KEYS.forEach(function (key) {
    var input = form.querySelector('input[type="hidden"][name="' + key + '"]');
    if (input) input.value = ids[key] || "";
  });
}

// Usage: call storeClickIds() on every page load when consent already allows
// ad storage, and again from your consent banner's "granted" callback, so a
// visitor who consents on the landing page keeps the click ID.
// Fill the fields when the form is rendered and again on submit:
//   fillHiddenFields(form);
//   form.addEventListener("submit", function () { fillHiddenFields(form); }, true);
// Forms built by a JavaScript form tool need that tool's "form ready" hook.
// If the visitor withdraws consent, call localStorage.removeItem(STORAGE_KEY).

Google's GCLID setup guide (opens in a new tab) uses the same pattern: a hidden field per form, a script that reads the URL parameter, and local storage with a 90-day expiry. A form embedded in an iframe from another domain cannot read your site's storage, so pass the values to it explicitly or use a form on your own domain.

The Google tag can store click data on its own. Google's Conversion Linker (opens in a new tab) writes it to first-party cookies prefixed _gcl_, such as _gcl_aw, and to local storage under _gcl_ls. Those values exist for Google's own tags. To get the identifier into your CRM, capture it from the URL as above. Under consent mode (opens in a new tab), when ad_storage is denied Google's tags write no new advertising cookies, and your own script should follow the same choice.

How should the CRM store click IDs?

Store GCLID, GBRAID and WBRAID as separate text properties on the lead or deal, with the capture time, written once at submission and protected from being overwritten by a blank value.

Property
Content
Rule
PropertyGoogle GCLID
ContentThe gclid value from the submission
RulePlain text, long enough for the full value, no case changes or trimming of characters
PropertyGoogle GBRAID
ContentThe gbraid value
RuleSame rules. Never copy it into the GCLID property
PropertyGoogle WBRAID
ContentThe wbraid value
RuleSame rules. Never copy it into the GCLID property
PropertyClick ID captured at
ContentThe time of the form submission, with time zone
RuleShows how much of the 90-day or 63-day upload window remains
PropertyConsent state
ContentThe consent choice recorded with the submission
RuleLets the export leave out records that should not be sent

Contacts are often merged or updated by later forms. Keep the click identifier on the lead or deal created by that submission, and configure workflows so a later empty value cannot replace a stored one.

How are stored click IDs used for offline conversion import and enhanced conversions for leads?

Each later CRM outcome is uploaded as its own conversion action, with the click identifiers saved on that lead, within the upload deadline. GBRAID and WBRAID are optional columns for both offline conversion import and enhanced conversions for leads, but a Data Manager offline conversion import file still requires a GCLID.

  • Google's Data Manager file specification (opens in a new tab) lists GBRAID and WBRAID as optional columns for both offline conversion import and enhanced conversions for leads. GCLID is required for offline conversion import, and optional for enhanced conversions for leads when the Google tag collects user-provided data.
  • Send every identifier you captured. The Google Ads API conversion guide (opens in a new tab) says that when several are present, Google uses the GCLID first, then the WBRAID, then the GBRAID.
  • In an existing Google Ads API integration, a row with a WBRAID or GBRAID but no GCLID has its user identifiers ignored, and custom conversion variables are not supported on it. Enhanced conversions for leads relies on those user identifiers, so the GCLID matters wherever you have one.
  • Google does not import click-ID conversions uploaded more than 90 days after the last click, or enhanced conversions for leads uploaded more than 63 days after it, according to its offline import guidelines (opens in a new tab).
  • New API integrations use the Data Manager API. Choosing an import route is covered in the offline conversions guide.

The full export and upload process, including outcome keys and verification, is in our guide to Google Ads offline conversions.

Why is the click ID missing in the CRM?

A click ID usually goes missing at one handoff between the landing URL, browser storage, the form, the form-to-CRM integration and later CRM workflows, so follow one paid click through each handoff in order.

Symptom
Likely causes
Check
SymptomNo identifier in the landing URL
Likely causesAuto-tagging off, a redirect that drops query parameters, or a site that rejects unknown parameters
CheckThe auto-tagging setting, then the redirect chain from the final URL to the page that loads
SymptomIn the URL, not in storage
Likely causesConsent not given, the script runs before the consent choice and never again, or storage is blocked
CheckRun the test with consent granted and inspect local storage on the landing page
SymptomIn storage, not in the submission
Likely causesHidden field missing on that form, a field name mismatch, a multi-step form that rebuilds itself, or an iframe form on another domain
CheckThe submitted payload in the browser's network panel
SymptomIn the submission, not on the lead
Likely causesThe hidden field is not mapped to a CRM property, or the integration drops unmapped fields
CheckThe form integration's field mapping and the raw submission log
SymptomOn the lead at first, empty later
Likely causesA merge, an import or a later form overwrote it with a blank value
CheckThe property history on the lead
SymptomOn the lead, rejected at upload
Likely causesCase changed, characters trimmed, the click older than the upload window, or the click belongs to a different Google Ads account
CheckUpload diagnostics, the stored value against the original URL, and the click date

Do the test with a real ad click, record its landing URL, and follow that single value through every step. Use redacted values when sharing evidence. If browser storage is the weak point, a server-side tracking layer can capture the parameter at the first request, which adds infrastructure to maintain.

Frequently asked questions

What is a GCLID?

+

The Google Click Identifier, a parameter that Google Ads auto-tagging adds to your landing page URL when someone clicks your ad. Stored with the lead, it lets you send a later offline conversion back to Google Ads and match it to that click.

What is the difference between GBRAID and WBRAID?

+

Both are Google click identifiers for iOS traffic. Google describes GBRAID as the identifier for web-to-app measurement, associated with app conversions, and WBRAID as the identifier for app-to-web measurement, associated with web conversions. A website lead form should capture both, in separate fields.

Can I use UTM parameters instead of the GCLID for offline conversion import?

+

No. UTM parameters are labels you add for analytics reporting. Google Ads matches imported conversions with a click identifier such as GCLID, GBRAID or WBRAID, or with hashed customer data for enhanced conversions for leads.

How long should I keep a GCLID before it is no longer useful?

+

Google does not import click-ID conversions uploaded more than 90 days after the last click, or enhanced conversions for leads uploaded more than 63 days after it. Google's sample capture script stores the GCLID for 90 days. Keep the value on the CRM record for as long as you may still upload outcomes for that lead.

Does the GCLID work if my form is on a different page from the landing page?

+

Only if you store it. The parameter is in the landing URL only, so a script has to save it in first-party storage, once consent allows, and fill the hidden field on whichever page holds the form.

Click IDs going missing before the CRM?

Tell us your form tool and CRM, and where the identifier last appears, and we can suggest which handoff to test first.

Talk through your setupSee the offline conversion service

Not sure where the gap is yet? Take the short assessment.

Related reading

  • Google Ads offline conversionsExporting CRM outcomes and verifying the import.
  • Meta Conversions API setup for lead genWhere fbclid and the fbc value fit on the Meta side.
  • Why Meta shows more leads than your CRMDiagnosing count gaps between Meta leads and the CRM.
  • Server-side trackingWhen a server layer helps and what you take on if you add one.

Official documentation

  • Google Ads: about auto-tagging (opens in a new tab)
  • Google Ads: set up offline conversions using Google Click ID (GCLID) (opens in a new tab)
  • Google Ads: set up offline conversions using GBRAID (opens in a new tab)
  • Google Ads: updates to iOS 14 campaign measurement (opens in a new tab)
  • Google Analytics: updates to iOS 14+ campaign measurement (opens in a new tab)
  • Google Ads: guidelines for importing offline conversions (opens in a new tab)
  • Google Ads Data Manager: prepare your data for import (opens in a new tab)
  • Google Ads API: manage offline conversions (opens in a new tab)
  • Tag Manager: conversion linker (opens in a new tab)
  • Google tag platform: consent mode (opens in a new tab)
  • Meta: ClickID and the fbp and fbc parameters (opens in a new tab)