Glossary · Attribution

What is a click ID (gclid, fbclid, twclid)?

A click ID is a unique identifier that an ad platform or social network appends to a link's URL when someone clicks it — such as gclid for Google Ads, fbclid for Meta or twclid for X — so the click can be matched to a later conversion.

Also called: gclid, fbclid, twclid, msclkid, Click identifier

Updated

Common click IDs

ParameterPlatform
gclid, gbraid, wbraidGoogle Ads (gbraid/wbraid are used for some iOS traffic)
fbclidMeta (Facebook, Instagram) — added to outbound links, ads or not
msclkidMicrosoft Advertising (Bing)
ttclidTikTok
twclidX (Twitter) ads
li_fat_idLinkedIn

How click IDs work

https://example.com/pricing?gclid=Cj0KCQjw…

The platform generates the id at click time and stores which ad, campaign and user it belongs to. Your site (or the platform's pixel) keeps the id; when a conversion is reported back — through a pixel or a server-side conversions API — the platform matches the id to the click and attributes the conversion to the ad. Unlike UTM parameters, a click ID means nothing to anyone but the platform that issued it.

Click ID example

A visitor clicks your Google ad and lands on /pricing?gclid=Cj0K…. The URL has no UTM tags. An analytics tool that only reads referrers sees google.com and files the visit as organic search — inflating SEO and hiding the ad. A tool that recognizes gclid files it as paid Google traffic instead.

Why click IDs go missing

  • Safari's Link Tracking Protection (since iOS 17 and macOS Sonoma) strips known click IDs in Private Browsing and in links opened from Mail and Messages.
  • Some privacy browsers and extensions remove them from all URLs.
  • Redirects and link shorteners can drop the query string.
  • Single-page apps that rewrite the URL before the analytics script runs lose them.

How VisitTrack uses click IDs

When a landing URL has no UTM source, the VisitTrack script checks for gclid, gbraid, wbraid, fbclid, msclkid, ttclid, twclid and li_fat_id, sets the source to the platform (google, facebook, bing, tiktok, twitter, linkedin) and the medium to paid. Explicit UTM tags always win. The id itself isn't stored — it's only used to classify the visit, so ad clicks don't get counted as organic or social. Combine it with revenue attribution to see which ad platforms produce paying customers.

Frequently asked questions

What does fbclid mean in a URL?

fbclid is the Facebook Click Identifier, a parameter Meta adds to links clicked on Facebook and Instagram so it can match visits and conversions back to clicks. It is added to outbound links in general, not only to ads.

Is it safe to remove gclid from URLs?

Removing it from the address bar after the page has loaded and your tracking has read it is fine. Stripping it before tracking runs breaks Google Ads conversion attribution and makes paid clicks look organic.

Related terms

Tools and guides

See which channels actually bring paying customers

VisitTrack is cookie-free analytics with revenue attribution built in. One script tag, no consent banner, live in two minutes. 14 days free, no card required.