⏱️ Setup time: ~15 minutes | Level: Intermediate
Why the TikTok Events API via sGTM?
The TikTok Events API works similarly to Meta CAPI — it sends conversion data server-to-server. Via sGTM you get:
- A higher match rate thanks to server-side user data
- Data resistant to ad-blockers and ITP
- Better optimization of TikTok campaigns
Setup
- TikTok Business Center: Generate an Events API Access Token
- sGTM: Install the TikTok Events API tag from the Community Template Gallery
- Fill in the Pixel ID and Access Token
- Map the events: ViewContent, AddToCart, CompletePayment
- Set up deduplication (the same event_id as the TikTok Pixel on the site)
Verification
- ✓ You see server events in TikTok Events Manager → Test Events
- ✓ Deduplication works — no duplicate events
- ✓ Match quality metrics have improved