Connecting Rebuy to TikTok Events API
Rebuy adds personalised upsells across the cart, checkout and post-purchase, which means the order value at checkout is frequently not the order value that settles. 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 Rebuy-influenced 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
Rebuy post-purchase upsells and TikTok CompletePayment value
TikTok cannot adjust a CompletePayment once sent, so a Rebuy upsell accepted after checkout is lost if the pixel fires first. Send CompletePayment server-only after the post-purchase offer resolves, with the settled Shopify total, the ttclid saved on the order at checkout, hashed email and phone, and the order ID as event_id; disable or match the pixel event.
TikTok has no way to adjust a CompletePayment after it is sent, and its deduplication on event_id means a later server event repeating the same ID is dropped. If the TikTok pixel fires CompletePayment on Shopify's checkout and a Rebuy post-purchase upsell is accepted a minute later, the extra revenue only reaches TikTok if it is sent as a separate event or the original was held back.
For stores using value-based optimization on TikTok, the cleaner setup is server-only: wait for the post-purchase offer to resolve, then send CompletePayment with the settled Shopify total, the ttclid saved on the order at checkout, hashed email and phone, and the order ID as event_id. Turn off the pixel's CompletePayment or give it the same event_id, and check what the Shopify TikTok channel sends, if you have it installed, before adding a second sender.
Watch the in-app browser specifically. TikTok shoppers often reach the post-purchase page inside the webview, and if your capture saved the ttclid only in a cookie, it may be gone by the time a server-side event is assembled. Compare upsell acceptance rates on TikTok-sourced orders with other sources to see whether the extra value changes which campaigns win.
Rebuy → TikTok · what breaks
Why this join usually fails — Rebuy → TikTok
- 01
The ttclid never reaches Rebuy
Post-purchase offers render after the order is created, so a conversion fired at checkout has already gone before the upsell revenue exists.
- 02
Upsell revenue missing from every conversion
Post-purchase upsells can add a meaningful percentage to average order value. Firing the conversion at checkout means none of it is attributed, and the campaigns that bring upsell-receptive buyers look identical to those that do not.
- 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.
Rebuy → TikTok · the fix
What working looks like — Rebuy → 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
Rebuy → TikTok · architecture
How Rebuy and TikTok actually connect
- 1
Rebuy holds the truth
A post-purchase upsell creates additional revenue on the same order, seconds to minutes after the original conversion fired. If the conversion was sent at checkout, that revenue is missing from every report.
- 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 Rebuy-influenced order.
- 4
The event source decides reliability
Send the settled order total including accepted upsells, with the upsell contribution recorded separately.
- 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.
Rebuy → TikTok · normal or broken
Working vs. broken, side by side — Rebuy → TikTok
Normal, not a fault
The ttclid present on the order
Sent from the Shopify order webhook, after post-purchase
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
Post-purchase offers render after the order is created, so a conversion fired at checkout has already gone before the upsell revenue exists.
Sent from the browser
Post-purchase upsells can add a meaningful percentage to average order value. Firing the conversion at checkout means none of it is attributed, and the campaigns that bring upsell-receptive buyers look identical to those that do not.
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
Rebuy → TikTok · diagnose
Diagnostic order — Rebuy → TikTok
- 01
Count orders carrying the ttclid
- 02
Follow one real conversion end to end
- 03
Compare checkout-time order value against final settled order value
The gap is your upsell revenue, and it is the amount 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.
Rebuy → TikTok · prove
How it gets proven — Rebuy → TikTok
Source of truth
The final Shopify order total after any post-purchase upsell has been accepted.
- 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, with upsell contribution stated separately.
Rebuy → TikTok · free audit
What we check in the free audit
- Count orders carrying the ttclid
- Follow one real conversion end to end
- Compare checkout-time order value against final settled order value
- Measure ttclid capture rate on TikTok traffic specifically
- Read the match rate, not the success message
Checked against
The final Shopify order total after any post-purchase upsell has been accepted.
Free30 minutesNo obligation
Rebuy → TikTok · when not to buy
When you don't need this — Rebuy → TikTok
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the ttclid.
- If you run no post-purchase offers, checkout-time value is the final 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.
Rebuy → TikTok · what we deliver
What gets built — Rebuy → TikTok
Identifier capture into Rebuy
Send the conversion from the order webhook after the post-purchase window closes, or send an adjustment when the upsell is accepted.
Event source: the Shopify order webhook, after post-purchase
Send the settled order total including accepted upsells, with the upsell contribution recorded separately.
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, including refunded upsells specifically.
Written guarantee
95%+ tracking accuracy
Measured against The final Shopify order total after any post-purchase upsell has been accepted.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Rebuy → TikTok questions, answered
Only if the conversion is sent after the upsell is accepted, or the upsell goes as a separate event. TikTok does not update a CompletePayment that has already been sent.
The Events API, sent after the post-purchase offer resolves, with the order ID as event_id and the pixel's CompletePayment removed or matched.
Almost always because the ttclid never reached the Rebuy-influenced order. Post-purchase offers render after the order is created, so a conversion fired at checkout has already gone before the upsell revenue exists. 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, after post-purchase. Send the settled order total including accepted upsells, with the upsell contribution recorded separately.
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 Rebuy → 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 Rebuy → TikTok fits in the rest of your tracking
- TikTok · BeautyTikTok Ads conversion tracking for beauty 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
- Checkout Champ → TikTokConnecting Checkout Champ to TikTok Events API
- Rebuy → Google AdsConnecting Rebuy to Google Ads
- SupplementsConversion tracking for supplement brands, built around subscription value
- CartHook → TikTokConnecting CartHook to TikTok Events API
Free · 30 min
Get Rebuy and TikTok joined properly
Free30 minutesNo obligation
