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
- 01
The ttclid never reaches CartHook
The offer runs after order creation, so anything that fired at checkout has already gone.
- 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.
- 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.
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
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
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 CartHook post-purchase order.
- 4
The event source decides reliability
Send the settled order total, with upsell contribution recorded separately so take rate is visible per campaign.
- 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
- 01
Count orders carrying the ttclid
- 02
Follow one real conversion end to end
- 03
Compare checkout total against final settled total
The gap is the revenue your conversion reporting is currently discarding.
- 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.
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.
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.
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.
Read it on the first storefront page, write it to a cart attribute so it becomes part of the order, and send it server-side from the order webhook.
Almost always because the ttclid never reached the CartHook post-purchase order. The offer runs after order creation, so anything that fired at checkout has already gone. 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 Shopify order webhook. Send the settled order total, with upsell contribution recorded separately so take rate is visible per campaign.
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 CartHook → 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 CartHook → TikTok fits in the rest of your tracking
- TikTok · FashionTikTok Ads conversion tracking for fashion brands
- TikTok · SupplementsTikTok Ads conversion tracking for supplement brands
- TikTok × Ecommerce OrdersHow to reconcile TikTok Ads against your store's order table
- TikTok · Add to cart → purchaseHow to track add to cart to purchase for TikTok Ads
- Rebuy → TikTokConnecting Rebuy to TikTok Events API
- CartHook → LinkedInConnecting CartHook to LinkedIn Ads
- SupplementsConversion tracking for supplement brands, built around subscription value
- Zipify OCU → TikTokConnecting Zipify OneClickUpsell to TikTok Events API
Free · 30 min
Get CartHook and TikTok joined properly
Free30 minutesNo obligation
