datascale
Ads & Conversion APIs

TikTok Pixel & Events API: The Setup

Pixel plus Events API with event_id deduplication. Match quality stands and falls with ttclid and hashed identifiers.

Event setup at a glance

Browser tag
TikTok Pixel
Server-side API
Events API
Recommended path
Hybrid: browser + server-side with deduplication
Deduplication
Yes, via event IDs

Identifiers

Requiredevent_id

Recommended for match qualityttclidem (SHA-256)ph (SHA-256)

Event mapping

Standard

Pageview

E-commerce

ViewContentAddToCartCompletePayment

Leads

SubmitFormCompleteRegistration

Consent constraints

  • Fires only with marketing consent; the CMP signal has to gate pixel and Events API together.
  • Identifiers reach the API hashed only; hashing belongs in the server container.

Consent-aware routing assumed. Privacy fit depends on the concrete setup; the legal assessment stays with your privacy team (legal review required).

Implementation methods

  • Pixel via GTM Web, Events API via the GTM Server-Side container
  • Shared event_id from the web container for both paths

Debugging checklist

  1. TikTok Events Manager Test Events
  2. sGTM preview mode

Common mistakes

  • Different event_id formats on the two paths, deduplication never matches.
  • ttclid not persisted, later conversions lose the click reference.

A fit when

  • TikTok scales from test to core channel and needs stable purchase signals.
  • The server container already runs for Meta or Google.
  • D2C shops with clear checkout events.

Not a fit when

  • TikTok stays a small-budget experiment; the pixel is enough.
  • Nobody owns the event schema; two unmaintained paths are worse than one.

What this destination is about

TikTok follows the same pattern as Meta: browser pixel plus server API, deduplicated over a shared event_id. Match quality hangs noticeably on the ttclid and hashed contact data.

If a server container already runs, TikTok is an extension, not a new build. The platform comparison is on the ad platform hub.

For a self-run QA pass: the Consent Mode audit checklist, the CMP QA template, and the consent mapping worksheet.

Sources

Related services

Topical context

  • TikTok Events API setup
  • TikTok Pixel server-side
  • TikTok deduplication event_id

Do your conversions actually arrive in the ads platforms? The Paid Media Tracking Audit settles it.

Request a Paid Media Audit →
  • Q01
    Is the Events API worth it on a small TikTok budget?

    From meaningful conversion volume onwards, yes; before that the pixel is enough. The effort is small once a server container already runs for Meta or Google.

More integrations we work with

← Back to all integrations