gclid, fbclid, ttclid and msclkid explained: what ad click IDs do and how to use them

November 28, 2026 · Hoplytic team · 5 min read

The short version: this guide in 67 seconds.
Read the video transcript

What are those long strings on your landing page URL, and what are they for?

The ad platform adds one to your landing URL on each click: gclid for Google, msclkid for Microsoft, fbclid for Meta, ttclid for TikTok.

Each is a receipt for one ad click. Store it with the click, and when the network reports a sale, send it back so the platform's bidding learns which clicks bought.

Google and Microsoft take it through an offline conversion import. Meta takes it through the Conversions API, as an fbc value. TikTok takes it through the Events API.

Platforms limit how late you can report. Google matches a gclid for ninety days. Meta accepts events up to seven days after. If approval is slow, report sales when they're first reported.

Hoplytic stores these IDs with each click automatically. Under Send back, sales go to Meta and TikTok within about twenty seconds, and to Google through a private feed.

The full guide is right below. Hoplytic: ad tracking made simple.

Key points

Click on a Google ad and the landing URL ends in ?gclid=Cj0KCQiA.... On Facebook it's fbclid=, on TikTok ttclid=. These strings look like noise, but each one is a receipt: proof, in the platform's own system, of which ad and which click sent the visitor. If you give it back with the sale, the platform's bidding starts working for you.

Short answer: gclid (Google), msclkid (Microsoft), fbclid (Meta) and ttclid (TikTok) are click IDs the ad platform appends to your URL on each click. Store them with the click in your tracker, and when the affiliate network reports a sale, send that click ID back to the platform through its conversion import or API, within the platform's time limit.

The click IDs, platform by platform

ParameterPlatformAdded whenSent back through
gclidGoogle AdsAuto-tagging is onOffline conversion import
gbraid, wbraidGoogle AdsSome iOS traffic, alongside or instead of gclidOffline conversion import
msclkidMicrosoft AdsAuto-tagging is onOffline conversion import
fbclidFacebook, InstagramOutbound clicks from Meta apps, paid or notConversions API (as the fbc value)
ttclidTikTok AdsAd clicks to your websiteEvents API
epikPinterestAd clicksPinterest Conversions API
rdt_cidRedditAd clicksReddit Conversions API
ScCidSnapchatAd clicksSnap Conversions API
twclidX (Twitter)Ad clicksX conversion API
li_fat_idLinkedInAd clicksLinkedIn Conversions API

Push and native networks work differently: they don't add an ID by themselves, you add their click macro, such as ${SUBID} on PropellerAds or {click_id} on Taboola. How those fit alongside your own tracker's click ID is explained in click ID tracking.

What they are for

Each platform's bidding decides who to show your ads to based on who converts. On a merchant's own site, the platform's pixel sees the purchase. As an affiliate, you don't own the checkout page, so the pixel never sees the sale. The click ID is the bridge: your tracker keeps it with the click, the affiliate network reports the sale on that click, and your tracker hands the click ID back to the platform with the commission. Now the platform knows that click, keyword or audience bought.

Time limits matter for affiliates

Affiliate sales often arrive days after the click, and platforms limit how late you can report:

Practical consequence: report sales back when they are first reported, not only after approval, if the network's approval takes longer than the platform's limit. Background on windows is in attribution windows.

Sending them back, briefly

How click IDs get lost

Storing them properly

Click IDs and privacy

A click ID identifies a click, not a named person, but the platform can link it to the account that clicked. Don't combine it with email addresses or names in your own reports, and mention ad conversion tracking in your privacy policy. Your affiliate network never needs the platform's click ID; send it your tracker's click ID instead.

In Hoplytic

gclid, gbraid, wbraid, msclkid, fbclid, ttclid and the other platform IDs are stored with each click automatically, and the site script carries them from your landing page to the affiliate click. Under Send back, each sale is sent to Meta's Conversions API or TikTok's Events API within about 20 seconds of the network reporting it, and added to a private feed that Google Ads fetches on its schedule (gclid) or that you import into Microsoft Ads (msclkid). Every send uses the click ID that click arrived with.

Choose the ad platform, then when to send each sale and its value.

Questions people ask

What does gclid stand for?

Google Click Identifier. Google Ads adds it to your landing page URL when auto-tagging is on, and it ties a later conversion back to the exact ad click, keyword and campaign.

Does fbclid mean the visitor clicked an ad?

No. Facebook and Instagram add fbclid to many outbound links, including organic posts. It shows the click came from Meta's apps, not that it was paid.

Can I remove gclid or fbclid from my URLs?

You can, but then the platform can't match conversions to clicks. If you use a tracking link, let it store the ID and pass a clean URL on to the merchant instead.

Why is gclid missing from some Google Ads clicks?

Auto-tagging may be off, a redirect may drop the parameter, iOS traffic may carry gbraid or wbraid instead, or Safari may have stripped it in Private Browsing or from a link opened in Mail or Messages.

More in Traffic sources and macros

Also: tracking glossary · ad platform macros · Markdown copy