Tracklio
Tracklio
Conversions API

TikTok Events API
Server-side, in 15 minutes.

Ship purchases and leads straight to TikTok Events API 2.0 — deduplicated with the Pixel, iOS-proof.

TikTok's Events API 2.0 endpoint with full event_id deduplication, ttclid capture, Advanced Matching, and EMQ diagnostics. Works alongside the TikTok Pixel or fully replaces it.

Why server-side for TikTok Events API

EMQ 75+ out of the box

TikTok's quality score starts high with auto-hashed em/ph/ttclid/external_id.

Events API 2.0 ready

Uses the newer /event/track/ endpoint — older /track/ is deprecated by TikTok end of 2025.

Dedupe with Pixel

Same event_id as the TikTok Pixel prevents inflated conversion counts.

Events tracked out of the box

Standard TikTok Events API events mapped automatically. Custom events supported via the same endpoint.

CompletePaymentPlaceAnOrderInitiateCheckoutAddToCartViewContentSubmitFormCompleteRegistration

Setup — 4 steps

Average time to live: under 15 minutes.

  1. 1

    Pixel ID + access token from TikTok Events Manager

    Assets > Events > Web Events > Manage > Events API.

  2. 2

    Install TikTok GTM template

    Client-side Pixel + matching server event via Tracklio container — one event_id shared.

  3. 3

    Capture ttclid on landing

    Tracklio auto-stores ttclid cookie for 30 days and attaches to every event.

  4. 4

    Verify in Test Events tool

    Live EMQ score + event delivery status from TikTok's debugger.

Server-side purchase to TikTok

javascript
fetch("https://track.yourdomain.com/capi/tiktok", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    event: "CompletePayment",
    event_id: orderId,
    event_time: Math.floor(Date.now() / 1000),
    user: { email: hashedEmail, phone: hashedPhone, ttclid, external_id },
    properties: { value: 129.99, currency: "USD", content_id: sku, content_type: "product" },
  }),
});

TikTok Events API FAQs

What happens to ttclid if cookies expire?

Tracklio writes ttclid into a first-party cookie via the CNAME domain — lifetime 30 days, unaffected by ITP/ETP 7-day cap.

Can I migrate from the older /track endpoint?

Yes — Tracklio uses /event/track/v1.3/ by default. Existing Pixel keeps firing during migration; cut over once EMQ is verified.

Other integrations

Join 300+ brands

Ready to stop losingconversions?

Get set up in 15 minutes. No DevOps. No contracts.Cancel any time.

14-day free trialNo credit cardAll modules included
Get in touch

We're here when you need us.

Send us a message

We reply within 2 hours, even on weekends. Tell us about your current tracking setup and what you'd like to improve.

Average 2-hour response
Technical support included
No sales pressure

Never shared. Never spammed. Privacy Policy applies.