← All guides
Connect your platformsUpdated ·4 min read

Connect TikTok via the Events API

Create a TikTok destination with your pixel code and Events API access token, and verify events in TikTok Events Manager.


A TikTok destination sends conversions to the TikTok Events API, matched on ttclid, hashed email/phone and browser identifiers, and deduplicated against your TikTok pixel. You need two values: your pixel code and an Events API access token.

Get your credentials from TikTok

  1. In TikTok Ads Manager, open Tools → Events → Web events and select your pixel. The pixel code(also shown as Pixel ID) is displayed with the pixel's details.
  2. In the pixel's Settings, find the Events API section and use Generate Access Token. Copy it immediately, as TikTok shows it once.

Create the destination

  1. In RoasProof, go to Destinations and create a new one.
  2. Pick the website, select TikTok as the platform, and name the destination.
  3. Paste the pixel code and Events API access token, set the status to active, and save.

Verify

Trigger a conversion (or send one through the API), confirm it shows sent in Conversion events, then check TikTok Events Manager: the event should appear against your pixel with server as its source. TikTok also surfaces match-rate diagnostics per event type. Expect coverage to improve as hashed identifiers and recovered ttclid values arrive with each conversion.

Keep your TikTok pixel installed: both copies of an event carry the same event_id, so TikTok counts each conversion once and keeps the richer server copy. If numbers look doubled, see troubleshooting.

Ready to see your own events flowing?

Connect your store, verify your events end-to-end, and watch match quality climb. Free 14-day trial, no credit card required.