Everything about TikTok Pixel

The _ttclid cookie

_ttclid is a cookie set by TikTok Pixel, from ByteDance Ltd. Stores the TikTok Click ID when a user arrives from a TikTok ad. Used for conversion tracking and attribution.

Duration

Session

Category

Advertising

Needs consent

Yes

Does the _ttclid cookie require consent?

_ttclid is used for advertising, so under the GDPR and the ePrivacy rules it may only be set after the visitor has agreed. Showing a banner is not enough on its own: the cookie must not be set before the visitor clicks accept.

Does your site set _ttclid before consent?

A free scan loads your site the way a new visitor sees it and lists every cookie that is set before anyone has said yes, _ttclid included.

How to put _ttclid behind consent

Remove the TikTok Pixel snippet from your site and add your TikTok Pixel ID under Integrations in Consentify instead. Consentify then loads TikTok Pixel only after the visitor has accepted advertising, so _ttclid is never set before consent.

View all integrations
Free scan, no account

Not sure what's running on your TikTok Pixel site?

Scan it first and you'll know exactly which scripts need consent before you set up the banner. Takes about ten seconds.

  • Results in about 10 seconds
  • No account needed
  • Shareable report link

Other cookies set by TikTok Pixel

CookiePurposeDuration
_ttpFirst-party cookie used to measure and improve advertising campaign performance and personalize the user experience on TikTok.3 months