Skip to main content
Loop → BranchIntegration guide

Connecting Loop Returns to Branch

Loop is built to turn returns into exchanges rather than refunds, which means the outcome of a return is a decision with three different revenue consequences. 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 Loop return 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

Loop Returns and Branch: no web-to-app seam to bridge

Nothing to send for the return itself: Loop runs in a web portal weeks after purchase, with no install for Branch's deep links. For Branch-attributed app purchases, check whether Branch has a refund event before inventing one. Most stores should leave Branch gross, tag app orders with the Branch campaign at checkout, and join Loop outcomes on order number.

Branch exists to carry a click across an app install. Loop handles a return weeks after the purchase, in a hosted web portal the customer usually reaches from a link in an order email. Neither side of that moment involves an install, so the deferred deep link payload Branch depends on plays no part, and a Loop return has nothing to tell Branch about how a user arrived.

Where it can matter is revenue attached to Branch-attributed app purchases. If a customer installed through a Branch link and bought in the app, Branch credited that campaign with the order value. A refund weeks later does not reach Branch unless you send it, and check whether your Branch setup has an event you can use for a refund or reversal before inventing one; a custom event with a negative value may not net revenue the way you expect.

For most stores the honest setup is to leave Branch reporting gross, and compute net revenue for Branch-attributed users in your own data: tag app orders with the Branch campaign at checkout, join Loop outcomes on the order number, and read the campaign after the return window. That answers the question without sending return events into a deep-linking tool.

Loop → Branch · what breaks

Why this join usually fails — Loop → Branch

  1. 01

    The Branch link click identifier and the deferred deep link payload never reaches Loop

    Returns are initiated weeks after the order, in a Loop-hosted portal, with no session from the original purchase.

  2. 02

    Every return treated as a full refund

    It understates revenue on exchanges, which is exactly the outcome Loop is designed to produce. A store with a high exchange rate reports itself as performing far worse than it is.

  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.

Loop → Branch · the fix

What working looks like — Loop → Branch

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

  • 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

    Loop Returns's own records are the reference, not either dashboard.

Loop → Branch · architecture

How Loop and Branch actually connect

  1. 1

    Loop Returns holds the truth

    An exchange keeps the revenue and costs you shipping. A refund reverses it entirely. Store credit sits in between. Treating all three as one reversal loses the distinction Loop exists to create.

  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 Loop return.

  4. 4

    The event source decides reliability

    Send orders, then adjust: refunds reverse fully, exchanges reverse only the shipping cost, store credit reverses to the credit's value.

  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.

Loop → Branch · normal or broken

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

Normal, not a fault

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

    Visible on the record itself in Loop Returns, not merely captured somewhere on the site.

  • Sent from the store order record, adjusted by Loop outcomes

  • 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

    Branch's count and Loop Returns's records agree within a few percent over a closed window.

Actually broken

  • The Branch link click identifier and the deferred deep link payload missing on most records

    Returns are initiated weeks after the order, in a Loop-hosted portal, with no session from the original purchase.

  • Sent from the browser

    It understates revenue on exchanges, which is exactly the outcome Loop is designed to produce. A store with a high exchange rate reports itself as performing far worse than it is.

  • 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

    The dashboard shows a number and no one has compared it to Loop Returns.

Loop → Branch · diagnose

Diagnostic order — Loop → Branch

  1. 01

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

  2. 02

    Follow one real conversion end to end

  3. 03

    Split returns by outcome — refund, exchange, store credit

    The mix differs by campaign and by product, and it changes the net revenue figure materially.

  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.

Loop → Branch · prove

How it gets proven — Loop → Branch

Against Loop Returns's own records, not against either platform's dashboard.

Source of truth

Store orders net of returns, with exchanges and refunds distinguished.

  • The Branch link click identifier and the deferred deep link payload confirmed present on a live return.
  • Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
  • Net revenue reconciled after the return window with the three outcomes adjusted separately.

Loop → Branch · free audit

What we check in the free audit

  • Count returns carrying the Branch link click identifier and the deferred deep link payload
  • Follow one real conversion end to end
  • Split returns by outcome — refund, exchange, store credit
  • Measure your organic install share and ask whether it is plausible
  • Read the match rate, not the success message

Checked against

Store orders net of returns, with exchanges and refunds distinguished.

Get my free conversion tracking audit

Free30 minutesNo obligation

Loop → Branch · when not to buy

When you don't need this — Loop → Branch

  • If Branch already reports conversions that reconcile against Loop Returns's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred returns and count how many carry the Branch link click identifier and the deferred deep link payload.
  • If you only issue refunds, a simple full reversal is correct and this distinction adds nothing.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

Loop → Branch · what we deliver

What gets built — Loop → Branch

  • Identifier capture into Loop

    Join on the order identifier. There is no identifier to capture here — the work is carrying the order's through and reversing correctly.

  • Event source: the store order record, adjusted by Loop outcomes

    Send orders, then adjust: refunds reverse fully, exchanges reverse only the shipping cost, store credit reverses to the credit's value.

  • 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

    This is the whole integration. Three outcomes, three different adjustments.

Written guarantee

95%+ tracking accuracy

Measured against Store orders net of returns, with exchanges and refunds distinguished.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Loop → Branch questions, answered

Not automatically. Branch keeps the original purchase revenue; returns only reduce it in your own data unless you deliberately send a reversal event.

Free · 30 min

Get Loop and Branch joined properly

Free30 minutesNo obligation