What is a click ID?
A click ID is a unique value an ad platform adds to your landing page URL when someone clicks an ad: gclid for Google, fbclid for Meta, ttclid for TikTok. Matching a sale back to its click ID is how it gets credited to the exact ad.
Also called gclid, fbclid, ttclid, Google click ID
Example.
The common click IDs and where they come from.
| gclid | Google Ads |
|---|---|
| fbclid | Meta |
| ttclid | TikTok |
| msclkid | Microsoft Advertising |
Why it matters.
- Ties a conversion to one specific click, not just a channel.
- Lets you send conversions back to the platform so it can match them to the ad.
- Survives where UTM parameters are missing or overwritten.
Common mistakes.
- Redirects or form tools that strip query parameters, so the ID never reaches the page.
- Not saving the ID on the first visit, then losing it by checkout.
- Turning off Google Ads auto-tagging, which is what adds the gclid.
Measure it well.
DATALYR matches purchases to the exact ad: its script saves click IDs for Meta, Google, TikTok and more on your own domain and carries them to the conversion.
See first-party tracking →Questions, answered.
Contact usGoogle's click ID. Google Ads adds it to the landing URL when auto-tagging is on, so a conversion can be matched to the click.
In the landing page URL after someone clicks a Google ad with auto-tagging on, as ?gclid= followed by a long value.
The click ID TikTok adds to the landing URL when someone clicks an ad.
The click ID Meta adds to links people click in its apps. It identifies the click, not the person.
No. UTMs describe the campaign in your own words; click IDs identify the individual click for the platform. Using both is the sturdiest setup.
Related terms.
- UTM parametersTags added to a link that tell your analytics which source, medium and campaign sent a visit.
- Marketing attributionMarketing attribution is the practice of giving credit for a sale to the marketing touchpoints that led to it.
- Meta Conversions APIMeta's server-to-server channel for sending conversions, used alongside the pixel.
- Offline conversion trackingSending sales that happen outside the website, like calls or CRM deals, back to ad platforms.
- Conversion trackingConversion tracking records when a visitor completes a goal you care about, such as a purchase, sign-up or lead, and ties it back to the ad or channel that brought them.

See what really drives revenue.
Real-time attribution, analytics and conversions for every channel, campaign and ad, ready for your team and your agents.