Skip to main content
CartHook → BranchIntegration guide

Connecting CartHook to Branch

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

CartHook to Branch: no install, no seam, usually nothing to send

A CartHook upsell happens entirely on the web, with no app install, so Branch usually has nothing to attribute and web-only stores should skip it. With an app, send one purchase per order from your backend with the settled total and a stable event ID, never a second purchase for the upsell, since Branch forwards events to ad partners.

Branch carries campaign context across an app install. A CartHook upsell happens entirely on the web: the shopper pays on Shopify's checkout, sees the offer on the post-purchase page and accepts it on the same web order. There is no app open anywhere in that sequence, so there is no deferred deep link to replay and nothing for Branch to attribute.

Branch becomes relevant only if the store also has an app and uses Branch links to move people between web and app. The awkward case is a shopper who taps a Branch link on the mobile web, opens the app and buys there: whether they see a CartHook offer depends on whether the app's checkout includes Shopify's post-purchase page, which many app checkouts do not. Check that before treating upsell take rate as comparable across web and app.

If app orders are sent to Branch from your backend, send one purchase per order with the settled total and a stable event identifier, not a second purchase when the upsell lands. Branch forwards events to ad partners, so an upsell posted as its own purchase becomes an extra conversion in every network downstream. For a web-only store, skip Branch and send the settled order to the ad platforms directly.

CartHook → Branch · what breaks

Why this join usually fails — CartHook → Branch

  1. 01

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

CartHook → Branch · the fix

What working looks like — CartHook → 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

CartHook → Branch · architecture

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

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

    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.

CartHook → Branch · normal or broken

Working vs. broken, side by side — CartHook → 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

  • 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

    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

    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

CartHook → Branch · diagnose

Diagnostic order — CartHook → 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 total against final settled total

    The gap is the revenue 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.

CartHook → Branch · prove

How it gets proven — CartHook → Branch

Source of truth

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

  • 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 for a closed week.

CartHook → 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 total against final settled total
  • 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 the post-purchase sequence completes.

Get my free conversion tracking audit

Free30 minutesNo obligation

CartHook → Branch · when not to buy

When you don't need this — CartHook → 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.
  • Stores without post-purchase offers can report checkout 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.

CartHook → Branch · what we deliver

What gets built — CartHook → Branch

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

No. Branch attributes app installs and in-app events, and a web post-purchase upsell is neither.

Free · 30 min

Get CartHook and Branch joined properly

Free30 minutesNo obligation