GCLID: What the Google Click ID Is and How B2B Teams Tie It to a Lead
The gclid parameter on your landing page URL is the only thread from a Google Ads click to the lead it became. Here is what it is, what it is not, and how to keep hold of it.
Updated
What GCLID means
GCLID stands for Google Click Identifier. Google defines it as a URL parameter passed with ad clicks that identifies the campaign along with other attributes of the click. Google Ads adds it to your landing page URL when auto-tagging is on, and it is required for Google Ads website conversion tracking.
For a B2B advertiser the GCLID matters for one reason: it is the key Google Ads understands. When a click turns into a demo request, then an opportunity, then a closed deal weeks later in your CRM, the GCLID stored on that record is what lets you tell Google which click produced it.
What a gclid URL looks like
Google's own example: someone clicks your ad for www.example.com and lands on a URL with the parameter appended.
https://www.example.com/?gclid=123xyzReal values are long, opaque strings of letters, numbers, dashes and underscores. They carry no readable campaign or keyword name, so do not try to parse them: store the value exactly as it arrived, without changing its case or trimming it.
If your ad already carries UTM parameters, the gclid is added alongside them, so a landing URL can hold both. In Google Analytics 4, auto-tagging takes priority over manual tagging, with no setting to override it.
How auto-tagging adds it
Auto-tagging is on by default for new Google Ads accounts. To check it, open Admin, then Account settings, then the Auto-tagging section, and look for the box labelled “Tag the URL that people click through from my ad”.
A few behaviours from Google's documentation that surprise people:
- A GCLID is sometimes created at the time of an impression rather than the click. If the same person clicks the same ad again, the same GCLID is reused, so one GCLID can stand for several clicks.
- Redirects must pass the parameter through to the final landing page, or conversion tracking breaks.
- A small share of sites reject unknown URL parameters and return an error page when auto-tagging is on. Click your own ad once to check.
- With cross-account conversion tracking, auto-tagging has to be switched on in each child account by hand.
Where the click ID is stored on your site
The URL parameter only lives on the first page view. To keep it, the Google tag or Google Tag Manager's Conversion Linker tag reads the click information from the landing page URL and writes it to first-party cookies and local storage on your domain. The Google Ads cookies are named _gcl_*, such as _gcl_aw and _gcl_gs.
That cookie is what lets the Google Ads conversion tag credit a form fill that happens three pages later. It does not put the GCLID into your CRM: for that you have to capture it yourself (below).
What a GCLID does not tell you
A GCLID identifies a click, not a person. It does not carry a name, an email or a company, and Google does not hand those back for it. Until someone fills in a form, the GCLID on your landing page is an anonymous key.
That is the gap most B2B paid programs live in: most paid visitors never convert on the first visit, so their GCLIDs never reach a CRM record at all. Closing it takes a separate identification step, covered in Attributing Google Ads Clicks to Named B2B Buyers and How Paid Channel Signals Shape the Matching Logic Behind Visitor Identification.
Capturing the GCLID on a B2B lead form
B2B buyers rarely convert on the page they land on. They read the pricing page, leave, and come back days later. A capture setup that only reads the URL at submit time loses the GCLID on almost every lead. The pattern that holds up:
- On every page load, read
gclid,gbraidandwbraid(and your UTM parameters) from the URL if they are present. If you also run Meta ads, readfbclidthe same way: see the fbclid guide. - Save them in first-party storage on your own domain, with the time of the click, so they survive navigation and return visits.
- Add hidden fields to every lead form and fill them from that storage when the form loads.
- Map the hidden fields to dedicated fields on the lead or contact in your CRM, and do not let a later visit without a click ID overwrite a stored one.
- Keep the click ID on the same record as the ad source and the form fill, not appended after the fact. Why Ad Source and Form Fill Must Live Inside the Same Visitor Record explains why.
Respect your consent setup while you do this: where a visitor declines advertising storage, your capture script should follow the same choice as your Google tag.
Sending GCLIDs back to Google Ads
Capturing the GCLID is half the job. The payoff comes when you upload the outcomes your CRM knows about, such as a qualified lead, an opportunity or a closed deal, so Google Ads can report and bid on pipeline instead of form fills. Points from Google's import guidelines to plan around:
- Offline conversions uploaded more than 90 days after the associated last click are not imported. For enhanced conversions for leads the limit is 63 days. With long B2B sales cycles, upload early stages (qualified lead, opportunity) rather than waiting for the deal to close.
- The same conversion is only counted once: a repeat of the same click identifier, conversion name, date and time is dropped. Several conversions for one click are recorded if their times differ and the action counts every conversion.
- Imported conversions take about three hours to appear. Use the “All conv. (by conv. time)” column to check an import worked.
- Google now recommends enhanced conversions for leads, which matches on hashed lead data such as email, over plain GCLID imports for anyone starting fresh. As of April 2026, enhanced conversions for web and for leads are one combined setting.
- From 15 June 2026, offline conversion import and enhanced conversions for leads uploads moved to the Data Manager API and are blocked in the Google Ads API. If a script or CRM connector of yours uploads conversions, check which API it uses.
gbraid and wbraid: when there is no GCLID
Since Apple's App Tracking Transparency policies took effect on 26 April 2021, Google no longer sends a GCLID for iOS 14+ traffic from ads in some of its own apps. For those clicks, the gclid parameter is missing and the {gclid} ValueTrack parameter is empty. Google added two parameters in its place:
| Parameter | Where you see it | What it is |
|---|---|---|
| gclid | Most Google Ads clicks with auto-tagging on | A click identifier for the ad click |
| wbraid | Web conversions from affected iOS traffic | A replacement parameter for measuring web conversions under Apple's policies |
| gbraid | iOS 14.5+ clicks, for app conversions | A privacy-preserving, non-unique identifier, case-sensitive, not tied to individual users |
Capture all three. A form setup that only looks for gclid silently drops the iOS share of your Google Ads leads.
Finding and testing a GCLID
- In Google Ads, the click view report lists clicks by GCLID. Several clicks by the same user on the same ad appear as several clicks in one GCLID row.
- To test your own capture, open a landing page with a dummy value such as
?gclid=test-123, browse to a second page, submit a form, and check that the value arrives in the hidden field and on the CRM record. Do not upload test values to Google Ads. - To test the full path, click a live ad of your own once and confirm the real parameter survives every redirect to the final landing page.
Questions people ask
What does gclid mean in a URL?
It is the Google Click Identifier, a parameter Google Ads appends to the landing page URL when auto-tagging is on. It tells Google Ads and Google Analytics which ad click brought the visit.
Does a GCLID identify the person who clicked?
No. It identifies the click. You only connect it to a person when that person gives you their details, for example by filling in a form that also captured the GCLID.
How long can I wait to upload a GCLID conversion?
Google Ads does not import offline conversions uploaded more than 90 days after the last click, or more than 63 days for enhanced conversions for leads. Check Google Ads Help for the current limits before planning around them.
Why do some Google Ads clicks have no gclid?
Auto-tagging may be off, a redirect may strip the parameter, or the click came from iOS traffic where Google sends wbraid or gbraid instead.
Sources
The ad platforms change these products often. Check the pages below for the current rules before you rely on them.
- Google Click Identifier (GCLID): Definition, Google Ads Help
- About auto-tagging, Google Ads Help
- Conversion linker, Tag Manager Help
- Guidelines for importing offline conversions, Google Ads Help
- Fix discrepancies and errors in offline conversion imports, Google Ads Help
- Updates to iOS 14 campaign measurement, Google Ads Help
- GBRAID URL parameter, Google Ads Help
Read next
B2B AttributionAttributing Google Ads Clicks to Named B2B Buyers
Clicks only become accountable when identity and CRM outcomes close the loop.
Read more→
Visitor IdentityHow Paid Channel Signals Shape the Matching Logic Behind Visitor Identification
Click IDs and UTMs shape what a visitor tool can match.
Read more→
Visitor IdentityWhy Ad Source and Form Fill Must Live Inside the Same Visitor Record Not Appended After the Match
Capture ad source at arrival, because no identity match can restore it.
Read more→
B2B AttributionMeasuring Pipeline From Retargeted Ad Clicks
Person-level identification ties ad clicks to CRM opportunities, which last-click credit can't.
Read more→