Skip to main content
CartStack → TikTokIntegration guide

Connecting CartStack to TikTok Events API

CartStack recovers abandoned carts and abandoned browsing sessions, which means it can claim orders from visitors who never added anything to a cart at all. 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 CartStack recovered order 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

CartStack to TikTok: the in-app browser to mail app handoff

CartStack recovery emails open in Safari or Chrome, not TikTok's in-app browser, so the ttclid and _ttp cookie are gone. Write the ttclid server-side at landing and attach it to the cart when CartStack captures an email, then send CompletePayment through the Events API with hashed email, phone and the order ID as event_id.

The break for this pair is not cross-device, it is cross-browser on the same phone. A TikTok ad opens your store inside TikTok's in-app browser. The shopper leaves, and later taps a CartStack recovery email in their mail app, which opens Safari or Chrome. That browser has never seen the `ttclid` or the `_ttp` cookie, so the TikTok pixel there records a purchase from nobody in particular.

Capture the `ttclid` on the landing page and write it server-side as soon as it appears, then attach it to the cart record when CartStack captures an email. When the recovered order lands, send `CompletePayment` through the Events API with the stored `ttclid`, hashed email and phone, and an `event_id` equal to the order ID, the same ID the pixel uses on the thank-you page. Check how CartStack's email capture behaves inside TikTok's in-app browser on your store; if shoppers rarely type an email there, few TikTok carts will be recoverable at all.

Browse abandonment needs care with TikTok traffic, where many visits are short and curious. A browse recovery that converts days later is mostly the email's work. Report recovered and first-pass orders separately in your own data before letting them shape the TikTok optimization event.

CartStack → TikTok · what breaks

Why this join usually fails — CartStack → TikTok

  1. 01

    The ttclid never reaches CartStack

    Recovery emails are opened days later on other devices, arriving as fresh sessions.

  2. 02

    Browse abandonment claiming credit for the original visit

    Recovering a browser who never added to cart means claiming an order from someone your advertising brought and your email finished. Both contributed, and only one gets reported without persistence.

  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.

CartStack → TikTok · the fix

What working looks like — CartStack → TikTok

  • The ttclid on every recovery

  • Conversions arriving in TikTok

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

  • Reconciled against the source

CartStack → TikTok · architecture

How CartStack and TikTok actually connect

  1. 1

    CartStack holds the truth

    Browse abandonment recovery reaches people who looked and left. Attributing their eventual purchase entirely to the recovery email ignores whatever brought them the first time.

  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 CartStack recovered order.

  4. 4

    The event source decides reliability

    Send orders with a flag for recovered versus first-pass, so both channels are visible.

  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.

CartStack → TikTok · normal or broken

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

Normal, not a fault

  • The ttclid present on the recovery

  • Sent from your order record with recovery attribution

  • 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

    Recovery emails are opened days later on other devices, arriving as fresh sessions.

  • Sent from the browser

    Recovering a browser who never added to cart means claiming an order from someone your advertising brought and your email finished. Both contributed, and only one gets reported without persistence.

  • 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

CartStack → TikTok · diagnose

Diagnostic order — CartStack → TikTok

  1. 01

    Count recoverys carrying the ttclid

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether recovered orders retain their original acquisition source

    If they show as email or direct, paid is undercounted by your recovery rate.

  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.

CartStack → TikTok · prove

How it gets proven — CartStack → TikTok

Source of truth

Store orders flagged by whether a recovery message preceded them.

  • The ttclid confirmed present on a live recovery.
  • Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
  • Orders reconciled with recovery flagged and original source retained.

CartStack → TikTok · free audit

What we check in the free audit

  • Count recoverys carrying the ttclid
  • Follow one real conversion end to end
  • Check whether recovered orders retain their original acquisition source
  • Measure ttclid capture rate on TikTok traffic specifically
  • Read the match rate, not the success message

Checked against

Store orders flagged by whether a recovery message preceded them.

Get my free conversion tracking audit

Free30 minutesNo obligation

CartStack → TikTok · when not to buy

When you don't need this — CartStack → TikTok

  • Measure identifier coverage yourself first — pull your last hundred recoverys and count how many carry the ttclid.
  • No recovery programme means no double-claim and this is an ordinary store integration.
  • 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.

CartStack → TikTok · what we deliver

What gets built — CartStack → TikTok

  • Identifier capture into CartStack

    Persist the identifier against the abandoned session so a recovered order still resolves to the original source.

  • Event source: your order record with recovery attribution

    Send orders with a flag for recovered versus first-pass, so both channels are visible.

  • 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 Store orders flagged by whether a recovery message preceded them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

CartStack → TikTok questions, answered

The ad opens in TikTok's in-app browser, while the email opens in the phone's default browser, so the ttclid and TikTok cookie don't carry over. Store the ttclid with the cart and send the order through the Events API with hashed email.

Free · 30 min

Get CartStack and TikTok joined properly

Free30 minutesNo obligation