Skip to main content
ReferralCandy → BranchIntegration guide

Connecting ReferralCandy to Branch

ReferralCandy serves smaller stores where the referral programme is often the second-largest acquisition channel and is almost never measured against paid media properly. 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 ReferralCandy referral 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

ReferralCandy and Branch: carrying a referral across an install

Wrap the ReferralCandy referral landing page in a Branch link carrying the referrer's code in the deep link payload, read it on first app open, store it on the user and apply the friend's discount. Send in-app purchases server-side to Branch with an event identifier and discounted revenue. Accept typed codes as an iOS fallback.

Branch exists for the gap ReferralCandy cannot cross: a link opened in a browser, an app installed, a purchase made in the app. ReferralCandy's referral link points at your website, so on its own it loses the referrer the moment the friend installs. Branch can carry context through, but only if the referral information goes into a Branch link in the first place.

The workable design is a Branch link that wraps the store's referral landing page and carries the referrer's code in the deep link payload. On first app open, read the payload, store the code on the user, and apply the friend's discount in the app. Then send the in-app purchase server-side to Branch with an event identifier and revenue after the discount, and report the order to ReferralCandy only if it can attribute app orders. Check that first; it depends on whether app orders run through the same store platform.

The deferred payload sometimes arrives empty on iOS. When it does, the coupon code is the fallback evidence, so have the app accept a typed code. If you have no app, or the app has no checkout, there is no seam to bridge and Branch adds nothing to a referral program that already works on the web.

ReferralCandy → Branch · what breaks

Why this join usually fails — ReferralCandy → Branch

  1. 01

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

    Referral links land with their own parameters on a store that may already hold a paid identifier.

  2. 02

    Referral and paid competing for the same orders

    Without a precedence rule the credit goes to whichever parameter was written last, which means your reported channel mix is an accident of browsing order.

  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.

ReferralCandy → Branch · the fix

What working looks like — ReferralCandy → Branch

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

  • 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

ReferralCandy → Branch · architecture

How ReferralCandy and Branch actually connect

  1. 1

    ReferralCandy holds the truth

    At small-store scale the referral programme can rival paid acquisition in volume. Pooling them means neither channel's true cost per acquisition is knowable.

  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 ReferralCandy referral.

  4. 4

    The event source decides reliability

    Send orders net of rewards, with referral orders marked and excluded from paid conversion imports.

  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.

ReferralCandy → Branch · normal or broken

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

Normal, not a fault

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

  • Sent from your order feed with referral attribution

  • 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

    Referral links land with their own parameters on a store that may already hold a paid identifier.

  • Sent from the browser

    Without a precedence rule the credit goes to whichever parameter was written last, which means your reported channel mix is an accident of browsing order.

  • 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

ReferralCandy → Branch · diagnose

Diagnostic order — ReferralCandy → Branch

  1. 01

    Count referrals 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 carrying both a referral and a paid parameter

    It is usually a meaningful share, and every one of them is currently credited by luck.

  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.

ReferralCandy → Branch · prove

How it gets proven — ReferralCandy → Branch

Source of truth

Store orders flagged by referral, net of both rewards.

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

ReferralCandy → Branch · free audit

What we check in the free audit

  • Count referrals carrying the Branch link click identifier and the deferred deep link payload
  • Follow one real conversion end to end
  • Count orders carrying both a referral and a paid parameter
  • 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 referral, net of both rewards.

Get my free conversion tracking audit

Free30 minutesNo obligation

ReferralCandy → Branch · when not to buy

When you don't need this — ReferralCandy → Branch

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

ReferralCandy → Branch · what we deliver

What gets built — ReferralCandy → Branch

  • Identifier capture into ReferralCandy

    Set precedence explicitly and record both identifiers on the order.

  • Event source: your order feed with referral attribution

    Send orders net of rewards, with referral orders marked and excluded from paid conversion imports.

  • 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 reclaim rewards.

Written guarantee

95%+ tracking accuracy

Measured against Store orders flagged by referral, net of both rewards.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

ReferralCandy → Branch questions, answered

Not by itself. Put the referrer's code in a Branch deep link payload, read it on first open, and keep a typed coupon as the fallback.

Free · 30 min

Get ReferralCandy and Branch joined properly

Free30 minutesNo obligation