Skip to main content
RudderStack → TikTokIntegration guide

Connecting RudderStack to TikTok Events API

RudderStack routes events from your applications to every downstream tool, which makes it the single point where a naming mistake propagates simultaneously to every ad platform you run. TikTok's audience skews to exactly the browsers and app contexts where browser-side tracking performs worst. The join between them succeeds or fails on one thing: whether the ttclid reaches the RudderStack event before the conversion happens, because TikTok can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

RudderStack to TikTok Events API: ttclid through the pipeline

RudderStack's TikTok Ads destination sends Order Completed to the Events API as CompletePayment. Read the ttclid on the web source, store it against the user immediately, and attach it to the backend event. If the pixel runs, its event_id must equal the ID RudderStack sends. Protect the contents product array from transformations that silently empty it.

RudderStack can send to TikTok's Events API through its TikTok Ads destination; confirm the mapping in your workspace from spec events such as Order Completed to CompletePayment. The ttclid has to be read from the landing URL on the web source and stored against the user immediately, because TikTok's in-app browser storage is unreliable, then attached to the backend event in the field the destination expects.

If the TikTok pixel also runs, either in device mode through RudderStack or on its own, the pixel's event_id and the ID RudderStack sends for the same order have to be identical, or TikTok counts both. Check whether the destination uses messageId and whether your pixel can be given that same value.

TikTok's events take a contents array of products, and a RudderStack transformation that renames or flattens the products property empties it without failing the delivery. If you run catalog ads, that silently breaks product matching across every TikTok campaign at once. After any schema change, compare warehouse CompletePayment counts and populated contents against TikTok Events Manager for the same window.

RudderStack → TikTok · what breaks

Why this join usually fails — RudderStack → TikTok

  1. 01

    The ttclid never reaches RudderStack

    Client-side sources lose identifiers to blocking and short cookie lifetimes; server-side sources have no browser context and must be handed the identifier explicitly by the application.

  2. 02

    One schema change, every destination wrong at once

    Centralization is the point and the risk. Rename an event property in one place and every ad platform, warehouse table and email tool receives the new shape on the same afternoon.

  3. 03

    The ttclid is lost in the in-app browser

    TikTok traffic arrives through an in-app webview whose storage behavior is inconsistent. An identifier captured but not immediately persisted server-side often is not there by the time the conversion happens.

  4. 04

    Nothing reconciles afterwards

    TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.

RudderStack → TikTok · the fix

What working looks like — RudderStack → TikTok

  • The ttclid on every event

  • Conversions arriving in TikTok

    Events appear in TikTok Events Manager, deduplicated against the pixel, and become usable for optimization.

  • Reconciled against the source

RudderStack → TikTok · architecture

How RudderStack and TikTok actually connect

  1. 1

    RudderStack holds the truth

    The warehouse copy is what makes a pipeline like this auditable. You can ask what was actually sent, rather than inferring it from what each destination decided to display.

  2. 2

    TikTok Events API needs a click to match

    TikTok matches server events using ttclid where available, falling back to hashed contact information. Both should be sent — the fallback is what carries the events where the click ID did not survive.

  3. 3

    The identifier is the bridge

    The ttclid, captured at the visit and carried into the RudderStack event.

  4. 4

    The event source decides reliability

    Send from your backend once the transaction is settled. A pipeline that only forwards browser events inherits every browser event's problems and adds a hop.

  5. 5

    Deduplication at the destination

    TikTok deduplicates on event_id, the same pattern as Meta: the pixel and the Events API must send the same event_id for the same conversion. Mismatched IDs mean double counting.

RudderStack → TikTok · normal or broken

Working vs. broken, side by side — RudderStack → TikTok

Normal, not a fault

  • The ttclid present on the event

  • Sent from the RudderStack server-side source

  • Deduplicated correctly

    TikTok deduplicates on event_id, the same pattern as Meta: the pixel and the Events API must send the same event_id for the same conversion. Mismatched IDs mean double counting.

  • Reconciles with the source

Actually broken

  • The ttclid missing on most records

    Client-side sources lose identifiers to blocking and short cookie lifetimes; server-side sources have no browser context and must be handed the identifier explicitly by the application.

  • Sent from the browser

    Centralization is the point and the risk. Rename an event property in one place and every ad platform, warehouse table and email tool receives the new shape on the same afternoon.

  • Counted twice, or not at all

    TikTok traffic arrives through an in-app webview whose storage behavior is inconsistent. An identifier captured but not immediately persisted server-side often is not there by the time the conversion happens.

  • Nobody has reconciled it

RudderStack → TikTok · diagnose

Diagnostic order — RudderStack → TikTok

  1. 01

    Count events carrying the ttclid

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare warehouse event counts against each destination's reported counts

    Divergence localizes the fault immediately — to a transformation, to a filter, or to the destination's own deduplication.

  4. 04

    Measure ttclid capture rate on TikTok traffic specifically

    Not on all traffic. TikTok's in-app browser is the failure case, so a healthy overall capture rate can hide a poor one on exactly the traffic that matters.

  5. 05

    Read the match rate, not the success message

    TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.

RudderStack → TikTok · prove

How it gets proven — RudderStack → TikTok

Source of truth

Your warehouse tables, which RudderStack writes to alongside the ad platforms — the same events, landing somewhere you can query them.

  • The ttclid confirmed present on a live event.
  • Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
  • Warehouse purchase counts reconciled against each destination's received count for a closed window.

RudderStack → TikTok · free audit

What we check in the free audit

  • Count events carrying the ttclid
  • Follow one real conversion end to end
  • Compare warehouse event counts against each destination's reported counts
  • Measure ttclid capture rate on TikTok traffic specifically
  • Read the match rate, not the success message

Checked against

Your warehouse tables, which RudderStack writes to alongside the ad platforms — the same events, landing somewhere you can query them.

Get my free conversion tracking audit

Free30 minutesNo obligation

RudderStack → TikTok · when not to buy

When you don't need this — RudderStack → TikTok

  • Measure identifier coverage yourself first — pull your last hundred events and count how many carry the ttclid.
  • If you have one website and one ad platform, a pipeline is infrastructure you will maintain for a benefit you do not yet have.
  • If TikTok is a small share of spend, the effort is hard to justify. It pays when TikTok is a channel you are actively scaling.

RudderStack → TikTok · what we deliver

What gets built — RudderStack → TikTok

  • Identifier capture into RudderStack

    Capture on the web source, persist against the user identity, and attach it to server-side events so a purchase recorded by your backend still knows which click preceded it.

  • Event source: the RudderStack server-side source

    Send from your backend once the transaction is settled. A pipeline that only forwards browser events inherits every browser event's problems and adds a hop.

  • Dispatch to TikTok

    Server events to the TikTok Events API with the ttclid, hashed contact information and a matching event_id.

  • Reversals where they exist

    Emit an explicit reversal event on refund and route it to every destination that accepted the original.

Written guarantee

95%+ tracking accuracy

Measured against Your warehouse tables, which RudderStack writes to alongside the ad platforms — the same events, landing somewhere you can query them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

RudderStack → TikTok questions, answered

Read it from the landing URL on the web source, store it against the user, and attach it to backend events in the field the TikTok destination expects.

Free · 30 min

Get RudderStack and TikTok joined properly

Free30 minutesNo obligation