Skip to main content
Dynamic Yield → TikTokIntegration guide

Connecting Dynamic Yield to TikTok Events API

Dynamic Yield personalizes continuously rather than in discrete tests, so there is no stable control group and no clean before-and-after to compare a campaign against. 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 Dynamic Yield experience 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

Dynamic Yield and TikTok: personalizing the in-app browser visit

Read the ttclid server-side from the landing request and persist it before any Dynamic Yield experience renders in TikTok's webview. Send CompletePayment from the order system with the order number as event_id matching the pixel, plus hashed email and phone. Record the served experience on the order, and keep Dynamic Yield widget clicks out of TikTok events.

TikTok visitors arrive in an in-app webview that can load scripts more slowly than a full browser, and Dynamic Yield experiences render client-side on that same page load. If your ttclid capture runs after personalization, or lives inside a template an experience replaces, it is the first thing lost. Read the ttclid server-side from the landing request and persist it before any experience renders.

If Dynamic Yield targets by traffic source, TikTok visitors may be getting their own experience: shorter pages, different hero products, a discount banner. Record which one on the order. Check whether your TikTok setup accepts it as a custom property on CompletePayment; if not, keep the join in your own order data and compare there. Without it, a creative test in TikTok Ads Manager and a page test in Dynamic Yield run on the same visitors and each takes credit for the other's lift.

Send CompletePayment from the order system with the order number as event_id, matching any TikTok pixel on the confirmation page, and hashed email and phone as the fallback match. Keep Dynamic Yield widget clicks out of TikTok's AddToCart and ViewContent events; a feed of personalization interactions trains optimization toward people who click recommendations, not people who buy.

Dynamic Yield → TikTok · what breaks

Why this join usually fails — Dynamic Yield → TikTok

  1. 01

    The ttclid never reaches Dynamic Yield

    Personalization decisions are made per session and can rewrite page content and links, including the parameters on outbound and internal links.

  2. 02

    No control group, therefore no baseline

    Continuous personalization with no holdout makes it impossible to say whether performance changed because of media, because of merchandising, or because the algorithm learned something. Most implementations have no holdout.

  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.

Dynamic Yield → TikTok · the fix

What working looks like — Dynamic Yield → TikTok

  • The ttclid on every experience

  • Conversions arriving in TikTok

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

  • Reconciled against the source

Dynamic Yield → TikTok · architecture

How Dynamic Yield and TikTok actually connect

  1. 1

    Dynamic Yield holds the truth

    Always-on personalization means the page a visitor saw in March is not the page a visitor sees today. Year-on-year campaign comparisons quietly stop being comparisons.

  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 Dynamic Yield experience.

  4. 4

    The event source decides reliability

    Send purchases with variant metadata. Hold back a genuine control audience if you want to say anything causal at all.

  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.

Dynamic Yield → TikTok · normal or broken

Working vs. broken, side by side — Dynamic Yield → TikTok

Normal, not a fault

  • The ttclid present on the experience

  • Sent from your order system with the served variant attached

  • 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

    Personalization decisions are made per session and can rewrite page content and links, including the parameters on outbound and internal links.

  • Sent from the browser

    Continuous personalization with no holdout makes it impossible to say whether performance changed because of media, because of merchandising, or because the algorithm learned something. Most implementations have no holdout.

  • 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

Dynamic Yield → TikTok · diagnose

Diagnostic order — Dynamic Yield → TikTok

  1. 01

    Count experiences carrying the ttclid

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm whether a holdout exists at all

    If it does not, the honest reporting position is that campaign performance cannot be cleanly separated from personalization effects.

  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.

Dynamic Yield → TikTok · prove

How it gets proven — Dynamic Yield → TikTok

Source of truth

Your order system, joined to the personalization variant served.

  • The ttclid confirmed present on a live experience.
  • Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
  • Orders reconciled against imported conversions, with holdout performance reported alongside.

Dynamic Yield → TikTok · free audit

What we check in the free audit

  • Count experiences carrying the ttclid
  • Follow one real conversion end to end
  • Confirm whether a holdout exists at all
  • Measure ttclid capture rate on TikTok traffic specifically
  • Read the match rate, not the success message

Checked against

Your order system, joined to the personalization variant served.

Get my free conversion tracking audit

Free30 minutesNo obligation

Dynamic Yield → TikTok · when not to buy

When you don't need this — Dynamic Yield → TikTok

  • Measure identifier coverage yourself first — pull your last hundred experiences and count how many carry the ttclid.
  • Without a holdout group, adding conversion tracking will not make the results interpretable. Build the holdout first.
  • 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.

Dynamic Yield → TikTok · what we deliver

What gets built — Dynamic Yield → TikTok

  • Identifier capture into Dynamic Yield

    Capture and persist the identifier before personalization renders, and verify that no personalized link template strips the parameters.

  • Event source: your order system with the served variant attached

    Send purchases with variant metadata. Hold back a genuine control audience if you want to say anything causal at all.

  • 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

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, joined to the personalization variant served.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Dynamic Yield → TikTok questions, answered

It can if capture runs after an experience rewrites the page or URL. Persist the ttclid server-side from the landing request before personalization loads.

Free · 30 min

Get Dynamic Yield and TikTok joined properly

Free30 minutesNo obligation