The gclid (Google Click Identifier) is a unique code Google Ads adds to your landing page URL when someone clicks an ad. It tells Google which click led to a sale or lead. Without it, Google can't credit the right ad, keyword or campaign.
How it works
You turn on auto-tagging in Google Ads. Every ad click then lands on a URL like yoursite.com/?gclid=Cj0KCQ…. The Conversion Linker tag saves it in a first-party cookie (_gcl_aw). When a conversion fires, Google reads the cookie and matches it back to the click.
Why it matters
- Smart Bidding learns from conversions matched to clicks. No gclid, no learning.
- Offline conversion import needs the gclid. You save it with the lead in your CRM, then send it back when the deal closes.
- You must upload offline conversions within 90 days of the click.
Common problems
- Auto-tagging is off in the Google Ads account.
- A redirect or a plugin strips the
?gclid=from the URL. - Forms don't save the gclid, so the CRM never has it.
- Cookie consent blocks the cookie, so nothing gets stored.
- On iPhones you may get
gbraidorwbraidinstead. Your setup should save those too.
How to check it
- Click one of your own ads (or use the ad preview tool).
- Look at the landing page URL. You should see
gclid=. - Open your browser's cookies and look for
_gcl_aw. - Submit a test lead and check the gclid reached your CRM record.
Questions
How long does a gclid last?
Google accepts offline conversions up to 90 days after the click. The cookie itself lasts 90 days by default.
Is gclid personal data?
It's a click ID, not a name or email. It is still tracking data, so it should follow your cookie consent.