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.

Overview

The TikTok Events API is a server-to-server integration that transmits conversion events from an advertiser's web server directly to TikTok's advertising platform, bypassing the browser entirely. It complements the browser-side TikTok Pixel by providing a secondary data pathway that is not affected by ad blockers, cookie restrictions, or browser privacy features. The Events API sends the same types of conversion data (purchases, sign-ups, page views) but through a server-side HTTP request rather than a client-side pixel fire.

What This Script Does

The TikTok Events API operates primarily server-side, though it often works alongside the TikTok Pixel.

  • Server-side operation: The advertiser's web server sends HTTPS POST requests to business-api.tiktok.com/open_api/v1.3/pixel/track/ containing event data — event name, event parameters, and user identifiers (hashed email, phone number, IP address, user agent).
  • No direct client-side scripts: The Events API itself does not load JavaScript in the visitor's browser. However, it is typically deployed alongside the TikTok Pixel, which does set client-side cookies.
  • Deduplication: When both the Pixel and Events API report the same conversion, TikTok deduplicates the events using a shared event ID to avoid double-counting.
  • Data transmitted server-side: Event type (PageView, AddToCart, CompletePayment, etc.), event parameters (value, currency, content IDs), hashed user identifiers (SHA-256 hashed email and phone), IP address, user agent string, and the TikTok Click ID if available.
  • Cookie dependency: While the Events API does not set cookies itself, it relies on the _ttp and _ttclid cookies set by the TikTok Pixel (passed server-side) for optimal attribution matching. Without these, attribution falls back to probabilistic matching using hashed PII and IP.

Consent & Compliance

The TikTok Events API falls under the marketing consent category.

Under GDPR and ePrivacy, the Events API processes personal data (hashed emails, IP addresses, behavioral events) for advertising attribution. While it does not set cookies in the browser, the server-side transmission of personal data to TikTok for advertising purposes requires a GDPR-compliant legal basis — typically consent. The hashing of PII does not anonymize the data under GDPR, as TikTok can match hashed values against its user base. If the Events API operates without the TikTok Pixel (purely server-side), the ePrivacy Directive's cookie consent requirement does not apply, but GDPR consent for advertising data processing is still required.

Under CCPA/CPRA, server-side transmission of customer identifiers and behavioral data to TikTok for ad attribution constitutes "sharing" of personal information for cross-context behavioral advertising, regardless of whether cookies are used.

Should You Block This Without Consent?

Yes. The TikTok Events API transmits personal data to TikTok's advertising platform for conversion attribution and campaign optimization. The server-side architecture does not exempt it from consent requirements — the personal data processing for advertising purposes requires consent under GDPR, and the data sharing triggers CCPA opt-out obligations. Block server-side event transmission until the user grants marketing consent, or implement a consent-gated server-side check before firing Events API calls.

Is TikTok Events API GDPR compliant?

TikTok Events API 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 Events API 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 Events API, not on TikTok Events API itself.

Visit website

Consent Categories

Also Known As

tiktok events apitiktok server side trackingtiktok conversion apitiktok s2s eventstiktok ads attributiontiktok consent

Industries

Arts and Entertainment

Tracked Domains (1)

business-api.tiktok.comMarketing

business-api.tiktok.com is a marketing domain operated by TikTok Events API, used to serve ads, build audiences, and measure ad conversions.

Frequently Asked Questions

Other TikTok Products

Related Vendors

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.
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.
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.
TikTok
TikTok
TikTok Pixel is the conversion tracking and audience management tool for advertisers running campaigns on TikTok. Scripts fire on advertiser websites to capture standard events like page views, add-to-cart, and purchases. The data drives campaign optimization, lookalike audience creation, and attribution reporting in TikTok Ads Manager.
Facebook Share Button
Facebook Share Button
Facebook Share Button is a Meta social plugin that lets visitors share web content to their Facebook feed. Scripts load the Meta SDK and set cross-site tracking cookies on page load, enabling Meta to track visits and attribute browsing behavior for advertising purposes.
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.

Manage consent for TikTok Events API

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