Skip to main content
Rebuy → TikTokIntegration guide

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

  1. 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.

  2. 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.

  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.

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. 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. 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 Rebuy-influenced order.

  4. 4

    The event source decides reliability

    Send the settled order total including accepted upsells, with the upsell contribution recorded separately.

  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.

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

  1. 01

    Count orders carrying the ttclid

  2. 02

    Follow one real conversion end to end

  3. 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.

  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.

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.

Get my free conversion tracking audit

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.

Get my free conversion tracking audit

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.

Free · 30 min

Get Rebuy and TikTok joined properly

Free30 minutesNo obligation