Attribution
Sign up free
Tracking

GCLID and FBCLID Explained: What Click IDs Actually Do

Blog Tracking GCLID and FBCLID Explained: What Click IDs Actually Do
Abdul Kayium
Abdul Kayium
Tracking & attribution consultant
6 min read

That long, ugly string tacked onto the end of a URL right after someone clicks an ad — ?gclid=Cj0KCQ... — isn't junk. It's the one piece of data that lets a platform connect that specific click to whatever happens after it, sometimes minutes later, sometimes months.

What a click ID actually is

When someone clicks a paid ad, the platform appends a unique identifier to the destination URL before the click even lands on your site. That identifier is a click ID — a single value that uniquely represents that specific ad interaction: which ad, which campaign, which exact moment.

PlatformClick ID parameterExample
Google AdsgclidCj0KCQjw_demo_gclid_8f2a1c
Meta (Facebook/Instagram)fbclidIwAR_demo_fbclid_9b71e0
TikTokttcliddemo_ttclid_5e91b2
Microsoft Adsmsclkid(similar format, Microsoft-specific)

Why this one value matters so much

Click IDs are what make offline conversion tracking possible at all. If a visitor clicks a Google ad, fills out a form, and becomes a customer six weeks later inside your CRM, the gclid captured at that original click — stored against the lead record — is the only thing that lets you tell Google Ads "this specific click eventually became a $12,000 customer." Without it, there's no way to connect the two events.

Click IDs vs. UTM parameters

These solve related but different problems. A UTM parameter tells you the general source, medium, and campaign of a visit, in a format any analytics tool can read. A click ID is platform-specific, opaque (not human-readable), and exists specifically to let that platform match a conversion back to the precise originating click — useful for offline conversion import, but not for general cross-platform reporting the way UTMs are.

Use both, for different jobs
UTMs for readable, cross-platform campaign reporting. Click IDs specifically for sending conversions back to the originating ad platform. They're not substitutes for each other — most well-tagged campaigns carry both.

How to actually capture and use a click ID

Where this commonly breaks

Frequently asked questions

What is a gclid?
Google's click identifier — a unique value appended to a URL when someone clicks a Google Ads ad, used to match that specific click to a later conversion, including offline conversions imported back into Google Ads.
What is a fbclid?
Meta's equivalent click identifier for Facebook and Instagram ads, appended to the destination URL on click, used the same way — to connect a specific ad click to a later conversion event.
Is a click ID the same thing as a UTM parameter?
No. UTM parameters describe the general source, medium, and campaign of a visit in a human-readable, cross-platform format. Click IDs are platform-specific, opaque identifiers used mainly to match a conversion back to the exact originating click for that platform's own reporting.
Why would a click ID go missing from my tracking?
The most common causes are redirects that strip URL query parameters, forms that don't capture the parameter at all, or a CRM/database that has nowhere to store it once captured.
Stop guessing which marketing channels drive customers.

See the complete journey behind every conversion — every touchpoint, every campaign, every channel that actually contributed.

Get started free
Written by Abdul Kayium

Conversion tracking and attribution consultant. Spends most days inside Google Tag Manager, GA4, and server-side tracking setups, helping ecommerce and B2B teams figure out where their customers actually came from. More about Abdul →

Related reading

← Back to all articles