Skip to main content
Rebuy → BranchIntegration guide

Connecting Rebuy to Branch

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. Branch's real job is the web-to-app seam — a person clicks a link in a browser, installs the app, and something has to carry the context across an install that destroys every cookie involved. The join between them succeeds or fails on one thing: whether the Branch link click identifier and the deferred deep link payload reaches the Rebuy-influenced order before the conversion happens, because Branch can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Rebuy and Branch: only relevant if your app runs Shopify checkout

Rebuy and Branch connect only in a shopping app with Shopify checkout. Send the Branch commerce event from your server after the order settles, with the final total including accepted upsells, the Shopify order ID as identifier, and the user's Branch identity carried through a cart attribute. Do not also log the purchase from the SDK.

Branch carries campaign context across an app install, and Rebuy upsells happen in a Shopify checkout, so the pair only connects for brands with a shopping app whose checkout is Shopify's. Then a Branch-attributed user who buys in the app and accepts a post-purchase offer generates revenue in two steps, and the PURCHASE event your app logs from the SDK usually reflects only the first.

Send the commerce event from your server once the order has settled, with the final total including accepted upsells, the Shopify order ID as the event's identifier and the Branch identity you set for the user carried on the order, for example through a cart attribute added when the app started checkout. Do not also log the purchase from the SDK, because Branch forwards events to ad partners and a duplicate travels with it. If you want to see the upsell on its own, log it as a separate custom event with its revenue.

Confirm Rebuy's offers actually render inside your app's checkout before building this. If they do not, the in-app order total is final at creation and the timing problem disappears. For a brand with no app, Branch has no role here at all.

Rebuy → Branch · what breaks

Why this join usually fails — Rebuy → Branch

  1. 01

    The Branch link click identifier and the deferred deep link payload 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 install that erases the campaign

    Someone clicks a paid ad on the mobile web, hits the app store, installs, and opens the app as a brand new anonymous user. Without deferred deep linking that campaign produced an organic install, and the ad account shows nothing for a conversion it genuinely caused.

  4. 04

    Nothing reconciles afterwards

    Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.

Rebuy → Branch · the fix

What working looks like — Rebuy → Branch

  • The Branch link click identifier and the deferred deep link payload on every order

  • Conversions arriving in Branch

    The event is attributed to the originating link and campaign, and forwarded to any configured downstream partners.

  • Reconciled against the source

Rebuy → Branch · architecture

How Rebuy and Branch 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

    Branch needs a click to match

    Branch needs the link click context matched to the app open, plus the event and its revenue. Without the deferred deep link payload there is nothing to join the install to.

  3. 3

    The identifier is the bridge

    The Branch link click identifier and the deferred deep link payload, 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

    Branch deduplicates on the event identifier you supply. Firing a purchase from both the SDK and your server without a shared identifier double-counts, and Branch forwards to downstream partners, so the duplicate propagates.

Rebuy → Branch · normal or broken

Working vs. broken, side by side — Rebuy → Branch

Normal, not a fault

  • The Branch link click identifier and the deferred deep link payload present on the order

  • Sent from the Shopify order webhook, after post-purchase

  • Deduplicated correctly

    Branch deduplicates on the event identifier you supply. Firing a purchase from both the SDK and your server without a shared identifier double-counts, and Branch forwards to downstream partners, so the duplicate propagates.

  • Reconciles with the source

Actually broken

  • The Branch link click identifier and the deferred deep link payload 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

    Someone clicks a paid ad on the mobile web, hits the app store, installs, and opens the app as a brand new anonymous user. Without deferred deep linking that campaign produced an organic install, and the ad account shows nothing for a conversion it genuinely caused.

  • Nobody has reconciled it

Rebuy → Branch · diagnose

Diagnostic order — Rebuy → Branch

  1. 01

    Count orders carrying the Branch link click identifier and the deferred deep link payload

  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 your organic install share and ask whether it is plausible

    An implausibly large organic share is usually broken attribution rather than genuine word of mouth.

  5. 05

    Read the match rate, not the success message

    Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.

Rebuy → Branch · prove

How it gets proven — Rebuy → Branch

Source of truth

The final Shopify order total after any post-purchase upsell has been accepted.

  • The Branch link click identifier and the deferred deep link payload confirmed present on a live order.
  • Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
  • Settled order totals reconciled against imported conversions, with upsell contribution stated separately.

Rebuy → Branch · free audit

What we check in the free audit

  • Count orders carrying the Branch link click identifier and the deferred deep link payload
  • Follow one real conversion end to end
  • Compare checkout-time order value against final settled order value
  • Measure your organic install share and ask whether it is plausible
  • 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 → Branch · when not to buy

When you don't need this — Rebuy → Branch

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Branch link click identifier and the deferred deep link payload.
  • If you run no post-purchase offers, checkout-time value is the final value and the timing question does not arise.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

Rebuy → Branch · what we deliver

What gets built — Rebuy → Branch

  • 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 Branch

    The Branch server-to-server events API, posted from your backend with the user identity and event data.

  • 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 → Branch questions, answered

Only if you send the settled order total from your server. A PURCHASE event logged by the app at order creation misses the upsell.

Free · 30 min

Get Rebuy and Branch joined properly

Free30 minutesNo obligation