TikTok Events API
TikTok's server-side tracking solution for sending conversion events directly to TikTok, similar to Meta CAPI.
External Resources
Frequently Asked Questions
What is the TikTok Events API?
The TikTok Events API is a server-to-server (S2S) solution that allows advertisers to send conversion and event data directly from their server to TikTok's advertising platform. This method bypasses browser-based tracking limitations, such as ad blockers and cookie restrictions, providing a more reliable and comprehensive view of the customer journey. It is a critical tool for maintaining accurate measurement of ad performance, optimizing ad delivery, and building high-quality custom audiences in a privacy-centric digital landscape. By sending data directly, it helps ensure that valuable events, like purchases and sign-ups, are not lost due to client-side tracking failures.
How do I implement the TikTok Events API for accurate conversion tracking?
To implement the TikTok Events API, you must set up a server-side connection to send event data directly from your website or app's backend to TikTok. This is typically done through a server-side Tag Manager (like sGTM) or a direct integration via a partner platform. The key to accurate tracking is event deduplication, which involves sending both the standard TikTok Pixel event (browser-side) and the corresponding Events API event (server-side). Both events must include a unique Event ID and a specific Event Source parameter. TikTok uses these parameters to identify and discard duplicate events, ensuring that each conversion is counted only once, which leads to more precise reporting and better ad optimization.
What is the difference between the TikTok Events API and the TikTok Pixel?
The primary difference lies in the method and reliability of data collection. The TikTok Pixel is a piece of JavaScript code that tracks user actions directly in the user's browser (client-side). This method is susceptible to data loss from ad blockers, browser restrictions (like ITP), and unstable network connections. In contrast, the TikTok Events API is a server-to-server connection that sends data directly from the advertiser's server (server-side). This makes the data collection more resilient, comprehensive, and less prone to being blocked. The best practice is to use both the Pixel and the Events API together, with a deduplication mechanism, to maximize data coverage and ensure the highest possible accuracy for conversion reporting and ad optimization.
Want accurate attribution without the complexity?
Causality Engine automates attribution reconciliation and provides real-time insights for Shopify brands.
Join Waitlist →