Google Ads

GCLID (Google Click Identifier)

Also called gclid, Google click ID

A unique code Google Ads adds to the landing page URL for each ad click, used to tie later conversions back to that exact click.

Quick facts: GCLID (Google Click Identifier)

Category
Google Ads
Also called
gclid, Google click ID
Level
Intermediate
Affects
Conversion tracking, offline conversion imports, GA4 campaign data, Smart Bidding
Where to see it
Browser address bar, Google Tag Assistant, CRM hidden fields, Google Ads uploads
In this article4
  1. How the GCLID works
  2. Why it matters
  3. Common mistakes
  4. How to act on it

The GCLID, or Google Click Identifier, is a unique code that Google Ads adds to your landing page address every time someone clicks one of your ads. Because each click gets its own code, a conversion that happens later can be matched to the exact campaign, ad group, keyword and time of the click.

How the GCLID works

With auto-tagging switched on, a click on your ad lands on a URL such as yoursite.co.uk/quote/?gclid= followed by a long string of letters and numbers. The Google tag on your site, through the conversion linker, reads that code and stores it in a first-party cookie on your domain, named _gcl_aw, which lasts 90 days by default.

When the visitor converts on your site, the tag sends the stored GCLID to Google Ads with the conversion, and Google credits the right click. On some Apple devices you will see wbraid or gbraid in place of the GCLID, which carry less detail for privacy reasons.

The GCLID is also how you report sales that happen away from the website. If your forms save the GCLID into a hidden field and pass it to your CRM, you can later upload it with the conversion name, time and value as offline conversions. Google accepts uploads for clicks up to 90 days old.

Why it matters

For many UK lead generation businesses, such as solicitors, B2B suppliers and home improvement firms, the real sale happens weeks after the enquiry, on the phone or in a meeting. Online tracking only sees the form. The GCLID is the thread that lets you tell Google which clicks became paying customers, so Smart Bidding can favour those searches over ones that produce time-wasters.

In the UK there is a consent question. The click ID in the URL is just text, but storing it in an advertising cookie on the visitor’s device needs consent under PECR. Visitors who decline will not have it stored. Consent mode handles this, and its URL passthrough option can carry the click ID through page addresses instead of a cookie. Once a GCLID sits in your CRM next to a named lead, treat it as personal data under UK GDPR.

Common mistakes

  • Forms or booking tools that do not capture the GCLID, so offline sales can never be matched.
  • CRM fields that are too short and cut the code off.
  • Redirects or site settings that strip query strings before the tag reads them.
  • Uploading conversions after the 90-day window, or with the wrong time zone, so they are rejected.
  • Uploading the same sale twice from overlapping exports.
  • Setting the advertising cookie before the visitor has agreed.

How to act on it

Test the basics first. Add ?gclid=test to a landing page URL and check it survives any redirect and stays in the address bar. Then add a hidden field to each enquiry form that reads the GCLID from the URL or cookie, and make sure your CRM saves it in a field long enough to hold it.

Set a routine, weekly or daily, for uploading qualified leads and sales back to Google Ads. If capturing the GCLID is not practical, enhanced conversions for leads matches on hashed email addresses instead. I set up both routes as part of PPC management for businesses whose sales close offline.

Do and do not

Do

  • Capture the GCLID in every enquiry form
  • Upload offline sales within 90 days
  • Only store the cookie after consent

Do not

  • Turn off auto-tagging to tidy URLs
  • Truncate the code in the CRM
  • Forget it counts as personal data once linked to a lead

Questions people ask about this

Can I remove the GCLID from my URLs?

You can, by turning off auto-tagging, but you would lose most of your Google Ads conversion detail and the link to GA4. It does not harm SEO: ad click URLs are not normally what Google indexes, and a correct canonical tag on each page covers any that are found. Tidier URLs are not worth losing conversion data for.

How do I capture the GCLID in a contact form?

Add a hidden field to the form and a small script, or a setting in your form tool, that fills it with the GCLID from the URL or from the _gcl_aw cookie. Pass that field to your CRM with the rest of the enquiry. Test by submitting the form from a URL with ?gclid=test and checking the value arrives.

Is the GCLID personal data?

On its own it is a random code, but once it is stored alongside a named lead in your CRM it can identify a person, so treat it as personal data under UK GDPR. Mention it in your privacy notice, keep it only as long as you need it and limit who can access it.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.