DATALYR

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.

Click ID example
gclidGoogle Ads
fbclidMeta
ttclidTikTok
msclkidMicrosoft 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 us
  • Google'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.

See what really drives revenue.

Real-time attribution, analytics and conversions for every channel, campaign and ad, ready for your team and your agents.

Get started