Skip to content

Tracking/TikTok Events API

TikTok Events API and Pixel set up to work together

TikTok's pixel loses conversions on iOS and behind ad blockers, and campaigns with too few conversions struggle to optimise. We add the Events API beside the pixel, deduplicate the two, and pass the click ID and hashed contact data TikTok needs to match events to people.

Data flowin / via / out
  1. Captured from

    • TikTok Pixel
    • Server GTM, store or CRM
  2. Processed in

    • Shared event_id
    • ttclid and hashed data
  3. Sent to

    • TikTok Events Manager
    • Campaign optimisation
Typical timeline
1 to 2 weeks
Works with
TikTok Pixel, TikTok Events API, Server GTM
Pricing
Quoted after a short call
You keep
Full access and documentation

01/TikTok Events API, in short

TikTok Events API setup sends conversions from your server to TikTok alongside the TikTok Pixel. Both carry the same event ID so TikTok counts each conversion once, and server events include the ttclid, hashed email and phone and an external ID for matching. Campaigns get more of your real purchases and leads to optimise on.

02/Where it breaks

What we usually find first

  1. 01TikTok Ads Manager shows far fewer purchases than your store
  2. 02Events doubled after a server integration was added
  3. 03ttclid isn't stored, so leads can't be matched later
  4. 04Campaigns stay in learning because of low conversion volume
  5. 05Lead-gen campaigns send nothing back to TikTok after the form

When it's done

TikTok receives more of your real conversions, each counted once and matched to a person, which gives campaigns more to learn from.

03/What you get

What the TikTok setup includes

01
Pixel review
Standard events, parameters and content IDs checked against TikTok's requirements and your catalogue.
02
Events API
Server events from server GTM, Shopify, WooCommerce or your backend, with event IDs that match the pixel.
03
Match keys
ttclid, hashed email and phone, external ID, IP and user agent, where consent allows.
04
Lead and CRM events
Qualified leads and sales from your CRM sent to TikTok as offline events.
05
Catalogue alignment
Content IDs that match your TikTok catalogue, for video shopping ads.
06
Testing
Every event checked in TikTok's Events Manager test tool before launch.

04/Under the hood

Events API payload

Same event_id as the pixel's CompletePayment for deduplication.

Events API payload

JSON
{  "event_source": "web",  "event_source_id": "<pixel id>",  "data": [{    "event": "CompletePayment",    "event_time": 1764432000,    "event_id": "order_10482",    "user": {      "ttclid": "E.C.P.v3…",      "email": "<sha256>",      "phone": "<sha256>",      "external_id": "<sha256 customer id>",      "ip": "203.0.113.10",      "user_agent": "Mozilla/5.0 …"    },    "properties": { "value": 129.0, "currency": "USD", "content_type": "product" }  }]}

IDs are placeholders. In your project this lives in your own accounts, with a written note on what it does and how to change it.

05/Process

Three steps, in this order

  1. 01

    Review the pixel

    We check what TikTok receives today and where events or match keys are missing.

  2. 02

    Add the Events API

    Server events go in beside the pixel, tested for deduplication and match quality.

  3. 03

    Launch and watch

    We monitor event quality and reported conversions for two weeks after launch.

06/Who it's for

A good fit if you are

  • E-commerce brands scaling TikTok Ads
  • Lead-gen businesses using TikTok for reach
  • Teams who run Meta CAPI and want TikTok on the same standard

Tools we work in

TikTok Pixel / TikTok Events API / Server GTM / Stape / Shopify / Google Tag Manager / GA4

Sounds like you? We look at your current setup on a call and tell you what we'd fix first, whether or not you hire us.

Book a call

07/Questions

TikTok Events API: common questions

Do I need both the pixel and the Events API?

TikTok recommends both. The pixel catches browser behaviour, the Events API makes sure conversions arrive when the browser blocks them, and a shared event ID stops TikTok counting them twice.

Can we use TikTok's partner integrations instead?

Shopify and some other platforms have a TikTok app that sends server events. If yours is set up correctly, we keep it. We add a custom setup when you need control over parameters or events the app doesn't send.

How long does it take?

About one to two weeks, and faster if server GTM is already in place.

Talk to a specialist about TikTok Events API

Tell us what you're running and what doesn't add up. We'll tell you what we'd check first, usually on a 30 minute call.