Skip to main content
CartHook → TikTokIntegration guide

Connecting CartHook to TikTok Events API

CartHook does post-purchase one-click upsells specifically, which means every pound it adds arrives after the order was created and after any checkout-time conversion already fired. 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 CartHook post-purchase 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

CartHook to TikTok: one-click upsells from in-app browser buyers

TikTok's in-app webview often closes right after the CartHook offer, so send CompletePayment to the Events API from the Shopify order webhook after the offer sequence, at the settled total. Carry the ttclid through a cart attribute, include hashed email and phone, and use the Shopify order ID as event_id on any browser event too.

TikTok buyers usually check out inside TikTok's in-app browser, and CartHook's post-purchase offer suits that context: one tap, no card entry, charged to the payment method already used. The difficulty is measurement, because the webview is often closed right after the offer, before any later pixel fires.

Send CompletePayment from the Shopify order webhook after the offer sequence ends, at the settled order total, with the ttclid read on the storefront landing and written to a cart attribute so it rides on the order. Include hashed email and phone from the order, because in-app storage regularly loses the ttclid before checkout finishes and the order's contact details are what TikTok can still match on. Use the Shopify order ID as the event_id, and the same value on any browser CompletePayment that remains.

Compare upsell take rate on orders that carry a ttclid against everything else. If TikTok buyers accept offers more often, a checkout-time conversion has been understating TikTok against other channels. For upsell-only refunds, check what your Events API setup supports; if there is no way to reduce a past event, track the reduction in your own reporting rather than retracting the order.

CartHook → TikTok · what breaks

Why this join usually fails — CartHook → TikTok

  1. 01

    The ttclid never reaches CartHook

    The offer runs after order creation, so anything that fired at checkout has already gone.

  2. 02

    Upsell revenue that no campaign ever gets credit for

    If the conversion fires at checkout, every pound the upsell adds is invisible. The campaigns bringing buyers most receptive to upsells look identical to those bringing the least receptive.

  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.

CartHook → TikTok · the fix

What working looks like — CartHook → TikTok

  • The ttclid on every order

  • Conversions arriving in TikTok

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

  • Reconciled against the source

CartHook → TikTok · architecture

How CartHook and TikTok actually connect

  1. 1

    CartHook holds the truth

    A one-click upsell charges the stored payment method and appends to the same order. The order total changes; the checkout total does not.

  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 CartHook post-purchase order.

  4. 4

    The event source decides reliability

    Send the settled order total, with upsell contribution recorded separately so take rate is visible per campaign.

  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.

CartHook → TikTok · normal or broken

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

Normal, not a fault

  • The ttclid present on the order

  • Sent from the Shopify order webhook

  • 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

    The offer runs after order creation, so anything that fired at checkout has already gone.

  • Sent from the browser

    If the conversion fires at checkout, every pound the upsell adds is invisible. The campaigns bringing buyers most receptive to upsells look identical to those bringing the least receptive.

  • 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

CartHook → TikTok · diagnose

Diagnostic order — CartHook → TikTok

  1. 01

    Count orders carrying the ttclid

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare checkout total against final settled total

    The gap is the revenue your conversion reporting is currently discarding.

  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.

CartHook → TikTok · prove

How it gets proven — CartHook → TikTok

Source of truth

The final Shopify order total after the post-purchase sequence completes.

  • The ttclid confirmed present on a live order.
  • Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
  • Settled order totals reconciled against imported conversions for a closed week.

CartHook → TikTok · free audit

What we check in the free audit

  • Count orders carrying the ttclid
  • Follow one real conversion end to end
  • Compare checkout total against final settled total
  • Measure ttclid capture rate on TikTok traffic specifically
  • Read the match rate, not the success message

Checked against

The final Shopify order total after the post-purchase sequence completes.

Get my free conversion tracking audit

Free30 minutesNo obligation

CartHook → TikTok · when not to buy

When you don't need this — CartHook → TikTok

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the ttclid.
  • Stores without post-purchase offers can report checkout value and the timing question does not arise.
  • 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.

CartHook → TikTok · what we deliver

What gets built — CartHook → TikTok

  • Identifier capture into CartHook

    Send the conversion from the order webhook once the post-purchase window closes, rather than at checkout.

  • Event source: the Shopify order webhook

    Send the settled order total, with upsell contribution recorded separately so take rate is visible per campaign.

  • 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; an upsell-only refund should reduce rather than reverse the order.

Written guarantee

95%+ tracking accuracy

Measured against The final Shopify order total after the post-purchase sequence completes.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

CartHook → TikTok questions, answered

Only if CompletePayment is sent after the post-purchase sequence, from the order, at the settled total. A checkout-time pixel event cannot include it.

Free · 30 min

Get CartHook and TikTok joined properly

Free30 minutesNo obligation