Platform Guide

TikTok Events API Setup Guide

TikTok Events API (also called TikTok CAPI) is a server-to-server integration that sends conversion events directly from your server to TikTok's ad platform, bypassing browser-based tracking restrictions. Like Meta CAPI, it runs outside the browser — meaning it is not affected by ad blockers, iOS privacy settings, or third-party cookie restrictions. Sytrics generates the TikTok Events API integration code you need without writing API calls from scratch.

What is the TikTok Events API?

TikTok Events API (also called TikTok CAPI) is a server-to-server integration that sends conversion events directly from your server to TikTok's ad platform. Like Meta CAPI, it runs outside the browser — meaning it is not affected by ad blockers, iOS privacy settings, or third-party cookie restrictions. TikTok recommends using Events API alongside the TikTok Pixel for maximum event match quality.

TikTok Events API events Sytrics supports

Purchase

Completed purchase — highest priority conversion event

AddToCart

Item added to cart — key mid-funnel optimization signal

InitiateCheckout

Checkout flow started

CompleteRegistration

Signup or trial start

SubmitForm

Lead form submission

ViewContent

Key page view (product, pricing, landing page)

Search

Site search performed

ClickButton

High-intent button click (CTA, contact, demo request)

How to set up TikTok Events API with Sytrics

  1. 1

    Enter your site URL in Sytrics

    Go to sytrics.io, paste your website URL, and select your business sector.

  2. 2

    Select TikTok as a platform

    Choose TikTok from the platform list. Sytrics generates both TikTok Pixel event code and Events API server-side code.

  3. 3

    Copy the Events API code

    Copy the generated server-side integration code. Include your TikTok Pixel ID and Events API Access Token.

  4. 4

    Get your TikTok Access Token

    In TikTok Ads Manager → Tools → Events → Web Events → your Pixel → Settings → Generate Access Token. Paste this into the code.

  5. 5

    Deploy and verify

    Deploy the code and use TikTok's Events Manager Diagnostics tab to confirm events are arriving and matched correctly.

Frequently asked questions

Is TikTok Events API the same as TikTok CAPI?

Yes. TikTok Events API and TikTok Conversions API (CAPI) refer to the same server-to-server integration. TikTok's official name is 'Events API' but it is commonly called TikTok CAPI by marketers.

Do I need to use TikTok Events API with the TikTok Pixel?

TikTok recommends using both together. The Pixel captures browser-side data, and Events API captures server-side data. When properly deduplicated using the same event_id, TikTok counts each conversion once while benefiting from both data sources.

Will my TikTok ad campaigns improve with Events API?

Yes, in most cases. Better event match quality (EMQ) gives TikTok's algorithm more signal to find users likely to convert. Advertisers typically see improved ROAS and lower CPAs after implementing Events API alongside the Pixel.

Do I need a developer to set up TikTok Events API?

Sytrics simplifies the setup significantly. The generated code needs to be placed on your server and triggered on relevant conversion events. A developer or technical marketer can complete this in under an hour using the Sytrics output and the validation steps provided.

How do I test TikTok Events API is working?

Go to TikTok Ads Manager → Tools → Events → your Pixel → Diagnostics tab. This shows whether server events are arriving, their match quality score, and any issues to fix.

Related guides

Meta CAPI →E-commerce tracking guide →SaaS tracking guide →

Generate your TikTok Events API code in 3 minutes

No monthly fee. No infrastructure required. Just copy the code.

Get TikTok Events API code free →