What the TikTok Events API does
The Events API is TikTok's server-to-server way of reporting conversions. Instead of the TikTok Pixel firing a CompletePayment from the visitor's browser, your server sends the same event straight to TikTok. TikTok uses it for attribution, reporting and the optimisation behind your campaigns.
You keep the pixel. Run both and TikTok deduplicates the overlap, so the server copy fills in what the browser lost without double counting.
Why the pixel alone undercounts on TikTok
A lot of TikTok traffic arrives through the in-app browser on a phone, and on iPhone every in-app browser inherits Safari's tracking prevention. Add ad blockers and private browsing on desktop, and a share of conversions never reach TikTok at all. The campaign that drove them looks weaker than it was, and the bidding learns from an incomplete picture.
How it works with Tiide
- Tiide creates your server container. When you add a site, Tiide sets up a server-side Google Tag Manager container on its own infrastructure, served from a subdomain of your website.
- Your GA4 tag starts sending through it. Tiide updates the GA4 tag in your existing web container so events go to your subdomain first. Your triggers and events stay as they are.
- Add the TikTok tag in the server container. TikTok publishes an official tag template, TikTok Events API (Official), built for server containers. It reads the GA4 events arriving at the container and converts them to TikTok events. Add your Pixel code and an Events API access token and publish.
From then on, every GA4 event your site sends can reach TikTok from the server, alongside GA4 itself and any other platform you add.
How GA4 events map to TikTok events
The official template converts standard GA4 ecommerce events to TikTok's names:
| GA4 event | TikTok event |
|---|---|
view_item |
ViewContent |
add_to_cart |
AddToCart |
begin_checkout |
InitiateCheckout |
purchase |
CompletePayment |
sign_up |
CompleteRegistration |
If your site already sends clean GA4 ecommerce events, there is very little mapping left to do.
What TikTok uses to match a conversion
TikTok ties a server event back to a person and an ad click using match keys:
ttclid, the click ID TikTok adds to your landing page URL when someone clicks an ad. The official template stores it in a cookie so it survives past the landing page._ttp, the first-party cookie the TikTok Pixel sets.- Email, phone number and external ID, which must be SHA-256 hashed. The template hashes them for you before sending.
- IP address and user agent, which help matching but are not shared by default and need to be configured.
TikTok summarises how well your events carry these keys as an Event Match Quality score on the Overview tab in Events Manager. More keys on more events generally means a better score, and better matching means more conversions attributed to your ads. For a deeper explanation, see event match quality.
Deduplicating the pixel and the server
Send the same event_id with the browser event and the server event. TikTok keeps the first one it receives and discards the matching duplicate. Without a shared ID, TikTok falls back to looser matching on the _ttp cookie, which is less reliable.
Checking it works
Use the Test events tab in TikTok Events Manager. It shows incoming events as they arrive and can filter browser events from server events, so you can confirm the server copy is landing before you rely on it.
Free tool
See how much conversion data your site is losing, in about a minute