Skip to main content
Refersion → BranchIntegration guide

Connecting Refersion to Branch

Refersion runs affiliate and influencer programmes on Shopify stores, which puts a commission-earning third party directly alongside your paid media on the same orders. 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 Refersion conversion 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

Refersion and Branch: keep the affiliate value alive through the link

Branch links that open the app skip the storefront, so Refersion never sees the creator. Confirm web fallbacks pass the full query string, including the Refersion parameter, and put the Refersion affiliate ID in deep link data so the app applies the creator's discount code. Never post Refersion conversions to Branch; send in-app purchases with the affiliate ID.

Brands with an app often wrap creator links in Branch so mobile users open the app instead of the website. That wrapping is where Refersion attribution dies: a Branch link that routes to the app never loads the storefront, so Refersion's tracking script never sees its link value, and an app checkout without the creator's code is commissioned to nobody.

Two things fix it. For web fallbacks, confirm the Branch link passes the original query string, including the Refersion parameter, through to the store URL; test on desktop and on a phone without the app installed. For app opens, put the Refersion affiliate ID into the deep link data and have the app apply that creator's discount code at checkout, which is the only route by which Refersion will credit the sale.

Do not post Refersion conversions to Branch's events API. They are web orders already measured where they happened, and Branch would forward them to downstream partners as app events. Send Branch the in-app purchase from the app or your backend, with the affiliate ID as an event property, and keep payout in Refersion.

Refersion → Branch · what breaks

Why this join usually fails — Refersion → Branch

  1. 01

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

    Affiliate links carry their own parameters and land on your store, frequently overwriting or colliding with a paid identifier already stored.

  2. 02

    Influencer codes claiming paid traffic's orders

    A customer sees your ad, searches for a discount code, finds an influencer's, and orders. The influencer earns a commission on a sale your advertising produced, and your paid reporting counts it too.

  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.

Refersion → Branch · the fix

What working looks like — Refersion → Branch

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

  • 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

Refersion → Branch · architecture

How Refersion and Branch actually connect

  1. 1

    Refersion holds the truth

    An affiliate order costs you a commission on top of whatever the ad click cost. If both systems claim it, the order is being paid for twice and neither report mentions the other.

  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 Refersion conversion.

  4. 4

    The event source decides reliability

    Send orders net of affiliate commission, with the affiliate-sourced share marked.

  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.

Refersion → Branch · normal or broken

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

Normal, not a fault

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

  • Sent from the store order record with Refersion attribution attached

  • 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

    Affiliate links carry their own parameters and land on your store, frequently overwriting or colliding with a paid identifier already stored.

  • Sent from the browser

    A customer sees your ad, searches for a discount code, finds an influencer's, and orders. The influencer earns a commission on a sale your advertising produced, and your paid reporting counts it too.

  • 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

Refersion → Branch · diagnose

Diagnostic order — Refersion → Branch

  1. 01

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

  2. 02

    Follow one real conversion end to end

  3. 03

    Count orders appearing in both paid conversions and Refersion

    The overlap is the double payment. One query, rarely run.

  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.

Refersion → Branch · prove

How it gets proven — Refersion → Branch

Source of truth

Store orders flagged by whether an affiliate link or code produced them, with the commission recorded.

  • The Branch link click identifier and the deferred deep link payload confirmed present on a live conversion.
  • Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
  • Non-affiliate orders reconciled against imported conversions, with the overlap measured and stated.

Refersion → Branch · free audit

What we check in the free audit

  • Count conversions carrying the Branch link click identifier and the deferred deep link payload
  • Follow one real conversion end to end
  • Count orders appearing in both paid conversions and Refersion
  • Measure your organic install share and ask whether it is plausible
  • Read the match rate, not the success message

Checked against

Store orders flagged by whether an affiliate link or code produced them, with the commission recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

Refersion → Branch · when not to buy

When you don't need this — Refersion → Branch

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the Branch link click identifier and the deferred deep link payload.
  • No affiliate programme means no conflict and this reduces to an ordinary store integration.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

Refersion → Branch · what we deliver

What gets built — Refersion → Branch

  • Identifier capture into Refersion

    Set an explicit precedence rule between affiliate and paid parameters rather than letting last-write-wins decide, and record both on the order.

  • Event source: the store order record with Refersion attribution attached

    Send orders net of affiliate commission, with the affiliate-sourced share marked.

  • 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 and should claw back the commission.

Written guarantee

95%+ tracking accuracy

Measured against Store orders flagged by whether an affiliate link or code produced them, with the commission recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Refersion → Branch questions, answered

Only if the Branch link forwards the original query parameters to the web fallback, or the app reads the affiliate ID from the deep link data and applies the code. Test both paths before giving creators wrapped links.

Free · 30 min

Get Refersion and Branch joined properly

Free30 minutesNo obligation