WebmasterID logoWebmasterID
Analytics dimensions

gclid and auto-tagging dimension

A gclid (Google Click Identifier) is a token Google Ads appends to landing-page URLs when auto-tagging is on. It lets GA4 resolve campaign, ad group, creative, and match-type dimensions without UTMs. This page explains how auto-tagging works, how it differs from manual tagging, and what happens when the gclid is stripped.

Verified against primary sources

What this means

Auto-tagging is a Google Ads setting that automatically appends a gclid parameter to every ad-click landing URL. GA4 reads that gclid and, with a linked account, resolves it into rich Google Ads dimensions — campaign, ad group, creative, keyword, match type, and network.

Without auto-tagging you would have to tag every ad URL with UTMs by hand to get even coarse campaign data, and you would never get ad-group or match-type granularity.

Auto-tagging vs manual UTM tagging

The gclid and UTM parameters are two different attribution mechanisms. Auto-tagging (gclid) is Google-specific and resolves server-side via linking; manual UTMs are universal, human-readable, and work for any source. Using both on a Google Ads URL can cause conflicts unless settings are aligned.

The common failure mode is a stripped gclid: redirects, link shorteners, aggressive URL cleaners, or server rules that drop query strings remove the token, so the click arrives looking like organic or direct traffic. Preserving query strings end-to-end is what keeps paid attribution intact.

How it appears in analytics and logs

A present gclid means auto-tagging tied the click to Google Ads detail. Missing Google Ads dimensions usually trace back to a stripped gclid or disabled auto-tagging, not to missing traffic.

Diagnostic use case

Understand why Google Ads dimensions populate (or do not) by checking whether auto-tagging is enabled and the gclid survives the landing URL.

What WebmasterID can help detect

WebmasterID reads landing-URL parameters first-party, so it can tell when a gclid is present and when redirects or filters have stripped paid-click context.

Common mistakes

Privacy and accuracy notes

A gclid identifies a click, not a named person. It is still a unique token in the URL, so treat it as sensitive in logs and avoid exposing it. This is educational, not legal advice.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.