TikTok Pixel

TikTok Pixel

TikTok Pixel is TikTok's browser-side conversion tracking tag. Scripts fire on website events such as page views, add-to-cart actions, and purchases, sending event data and cookies to TikTok's advertising platform. Used to measure ad campaign performance and build retargeting audiences.

Overview

The TikTok Pixel is TikTok's browser-side conversion tracking tag, functioning as the primary measurement tool for TikTok's advertising platform (TikTok for Business). Advertisers place the pixel on their websites to track visitor actions — page views, product views, add-to-cart events, and purchases — and attribute these conversions to TikTok ad campaigns. The pixel also feeds TikTok's machine learning models for ad delivery optimization and builds retargeting audiences from website visitors.

What This Script Does

The TikTok Pixel loads from TikTok's analytics domain and tracks visitor behavior on the advertiser's website.

  • Script loaded: analytics.tiktok.com/i18n/pixel/events.js — the TikTok Pixel base code that initializes tracking and provides the ttq event API
  • Page tracking: On every page load, the pixel fires a beacon to analytics.tiktok.com containing the page URL, referrer, browser information, and visitor identifiers.
  • Cookies set:
    • _ttp — First-party cookie (13-month expiry). TikTok's persistent visitor identifier, linking browsing sessions for cross-session attribution and audience building.
    • _ttclid — First-party cookie. Stores the TikTok Click ID from ad clicks for conversion attribution.
  • Event tracking: Advertisers configure the pixel to fire standard events (ViewContent, AddToCart, CompletePayment, Subscribe, etc.) or custom events on specific user actions. Each event transmits event name, parameters (product ID, value, currency), and visitor identifiers.
  • Advanced matching: The pixel supports sending hashed personally identifiable information (email, phone number) to TikTok for deterministic matching of website visitors to TikTok user accounts.
  • Retargeting audiences: Visitor identifiers collected by the pixel are used to build custom audiences on TikTok — enabling advertisers to serve ads to people who visited specific pages or completed specific actions on their website.

Consent & Compliance

The TikTok Pixel falls under the marketing consent category.

Under GDPR and ePrivacy, the TikTok Pixel requires explicit opt-in consent. The _ttp cookie is a persistent first-party identifier used for advertising attribution and audience building, constituting storage of non-essential information under the ePrivacy Directive. Advanced matching with hashed PII constitutes processing of personal data for advertising under GDPR. TikTok's EU user data is processed under the EU-US Data Privacy Framework, though TikTok's data handling practices have faced increased scrutiny from EU DPAs. TikTok also operates a European data center (Project Clover) for EU user data.

Under CCPA/CPRA, the pixel's transmission of visitor identifiers and behavioral data to TikTok for advertising optimization constitutes "sharing" of personal information for cross-context behavioral advertising. Advertisers must support opt-out mechanisms and honor the Global Privacy Control signal.

Should You Block This Without Consent?

Yes. The TikTok Pixel sets persistent tracking cookies, transmits page-level behavioral data to TikTok's advertising platform, and builds retargeting audiences from website visitors. Block the pixel entirely until the user grants marketing consent.

Is TikTok Pixel GDPR compliant?

TikTok Pixel typically loads marketing trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So TikTok Pixel can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads TikTok Pixel, not on TikTok Pixel itself.

Visit website

Consent Categories

Also Known As

tiktok pixeltiktok pixel trackingtiktok conversion pixeltiktok pixel cookiestiktok retargetingtiktok pixel consent

Industries

Arts and Entertainment

Tracked Domains (1)

pixel.tiktok.comMarketing

pixel.tiktok.com is a marketing domain operated by TikTok Pixel, used to serve ads, build audiences, and measure ad conversions.

Frequently Asked Questions

Other TikTok Products

Related Vendors

TikTok Events API
TikTok Events API
TikTok Events API enables server-to-server sharing of conversion events with TikTok's advertising platform. Rather than relying solely on browser scripts, event data such as purchases and signups is sent directly from the website server to TikTok, improving signal quality for ad attribution.
Vidyard
Vidyard
Vidyard is a video hosting and analytics platform for sales and marketing teams. Scripts embed video players on websites and landing pages, tracking detailed engagement metrics including viewer watch percentage and replay behavior. Viewer identification integrates with CRM platforms for lead scoring.
Reddit Ads
Reddit Ads
Reddit Ads tracking scripts enable campaign attribution and audience targeting on Reddit's advertising platform. Scripts collect behavioral signals and set cookies to match website visitors to Reddit user profiles, supporting retargeting campaigns and conversion measurement for Reddit advertisers.
Reddit Pixel
Reddit Pixel
Reddit Pixel is Reddit's browser-side conversion tracking tag for advertising measurement. Scripts fire on page views and conversion events, set cookies to identify visitors, and send event data to Reddit's advertising platform to attribute conversions to Reddit campaigns and build retargeting audiences.
TikTok Ads
TikTok Ads
TikTok Ads tracking scripts supplement the TikTok Pixel to enable campaign targeting and attribution on TikTok's advertising platform. Scripts set cookies and collect behavioral signals to match website visitors to TikTok user profiles for audience segmentation and ad measurement.
Oracle CrowdTwist
Oracle CrowdTwist
Oracle CrowdTwist is a customer loyalty and rewards program platform. Scripts track loyalty-qualifying events such as purchases, referrals, and social interactions on e-commerce sites. Cookies identify returning members and associate site activity with loyalty accounts.

Manage consent for TikTok Pixel

ConsentStack automatically detects and manages TikTok Pixel trackers so your site stays compliant with global privacy regulations.