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
- 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.
- 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.
- 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.
- 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
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
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
The identifier is the bridge
The ttclid, captured at the visit and carried into the RudderStack event.
- 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
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
- 01
Count events carrying the ttclid
- 02
Follow one real conversion end to end
- 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.
- 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.
- 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.
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.
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.
Usually the pixel and the Events API send different event_id values for the same order, so TikTok counts both.
Almost always because the ttclid never reached the RudderStack event. 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. Measure coverage before debugging the dispatch.
The ttclid — TikTok's click identifier, appended to your landing page URL and also stored in the _ttp cookie. TikTok additionally matches on hashed email and phone. In-app browser behavior makes ttclid capture more fragile than the equivalents on other platforms, so persisting it server-side as soon as it is seen matters more here than elsewhere.
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.
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.
More on RudderStack → TikTok
- TikTok · Lead → booked callHow to track lead to booked call for TikTok Ads
- TikTok · Booked call → closed wonHow to track booked call to closed won for TikTok Ads
- TikTok · Free trial → paidHow to track free trial to paid for TikTok Ads
RELATED GUIDES
Where RudderStack → TikTok fits in the rest of your tracking
- TikTok · EcommerceTikTok Ads conversion tracking for ecommerce brands
- TikTok · B2BTikTok Ads conversion tracking for B2B companies
- TikTok × SubscriptionsHow to reconcile TikTok Ads against your billing system
- TikTok · Free trial → paidHow to track free trial to paid for TikTok Ads
- Tealium → TikTokConnecting Tealium to TikTok Events API
- RudderStack → RedditConnecting RudderStack to Reddit
- B2BConversion tracking for B2B, from first touch to closed-won
- mParticle → TikTokConnecting mParticle to TikTok Events API
Free · 30 min
Get RudderStack and TikTok joined properly
Free30 minutesNo obligation
