What is a click ID (gclid, fbclid)?
What a click ID does
When someone clicks an ad, the ad platform adds a parameter with a unique value to the landing page URL. Google's help shows the shape: www.example.com/?gclid=123xyz. The value identifies that one click. When the same person later buys, signs up or fills in a form, the site or its tags send the click ID back, and the platform knows which ad, campaign and keyword earned the result.
Without the click ID, the platform can still count clicks, but it cannot reliably tie a conversion to them. That is why click IDs matter far more for paid campaigns than for organic posts.
The common click IDs
Each ad platform uses its own parameter name and reads only its own. The ones you will see most, with what their owners say about them:
- gclid (Google Ads): Google describes it as a URL parameter passed with ad clicks. Auto-tagging adds it, and Google says it is needed for Google Ads conversion tracking and for importing cost data into Google Analytics.
- gbraid and wbraid (Google Ads on iOS 14 and later): Google Analytics help explains that on iOS 14+ traffic, where consent rules apply, these parameters can be used instead of a gclid.
- fbclid (Meta): added to links clicked on Facebook and Instagram. Meta's Conversions API documentation describes storing it in the fbc value, in the format fb.1.creationTime.fbclid, and warns that the click ID is case-sensitive and must not be modified.
- msclkid (Microsoft Advertising): the click ID added by Microsoft's auto-tagging.
- Other platforms use their own names, such as ttclid for TikTok and li_fat_id for LinkedIn.
How click IDs get lost
Google's auto-tagging help tells advertisers to make sure the GCLID is passed to the final landing page. The usual ways it is lost:
- A redirect between the ad and the page rebuilds the URL without the query string.
- A short link or tracking link is used as the ad's final URL, and the click ID lands on the short link instead of the page.
- The landing page changes case or trims the value; Meta warns the fbclid must stay exactly as received.
- A consent banner or single-page app loads the page again without the original parameters.
- Some servers return errors on unknown parameters; Google notes this as something to test.
Click IDs in BN Shortener
If you use a short link as an ad's destination, turn on pass visitors' link parameters on for that link. Parameters the ad platform adds to the short link, such as gclid or fbclid, are then added to the destination, so Google Ads or Meta can match the conversion to the ad. The free URL parser shows whether a landing URL still carries them.
BN Shortener also has its own click code for conversions: with conversion tracking on, clicks by people carry a signed bn_cid value to your landing page, and bots never get one. Conversions you report are credited to the last link clicked within your attribution window. See conversion tracking for the set-up.
Related: UTM parameter, Conversion tracking, /tools/url-parser/
Sources
- Google Ads Help: About the Google Click Identifier (GCLID), checked 2026-10-24
- Google Ads Help: About auto-tagging, checked 2026-10-24
- Google Analytics Help: iOS 14+ measurement (GBRAID and WBRAID), checked 2026-10-24
- Meta for Developers: fbp and fbc parameters (Conversions API), checked 2026-10-24
- Google Analytics Help: [GA4] Scopes of traffic-source dimensions, checked 2026-10-24
Questions
Should I remove gclid or fbclid from my URLs?
Not from landing pages: the platforms need them to match conversions. Remove them only when you copy a URL to share somewhere else, since the value belongs to someone else's ad click.
Do click IDs hurt SEO?
They create many URL variations of one page. Use a canonical tag pointing to the clean URL; Google Ads click URLs are not meant to be indexed.
Can I use UTM tags and gclid together?
Yes, but with Google Ads auto-tagging the gclid supplies the campaign data in GA4. Google warns that adding UTM values alongside GCLID values can cause misattribution, so check your settings before mixing them.
Why is fbclid on links I share in messages?
Facebook and Instagram can add fbclid to outbound links people click. It is harmless, but Meta asks that the value is never changed.
Do short links keep click IDs?
Only if the shortener passes the visitor's parameters on. In BN Shortener, switch on pass visitors' link parameters on for links used in ads.
Try it on your next link
The Free plan includes a custom domain, 5 dynamic QR codes, a bio page and click analytics. No credit card.