Skip to main content
LoyaltyLion → BranchIntegration guide

Connecting LoyaltyLion to Branch

LoyaltyLion is built around tiers, which means a customer's discount rate changes as they spend more — and so does the margin on every subsequent order. 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 LoyaltyLion tier 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

LoyaltyLion and Branch: carry the member through the app install

Only if the loyalty program lives in your app. Put the campaign and reward offer, not member identity, in the Branch deferred deep link; on first open the app asks for login, then calls LoyaltyLion to award points. Send install rewards and in-app purchases net of tier discount with stable event identifiers, and award install bonuses once per customer ID.

Branch earns its place in this pair only if your loyalty program also lives in a mobile app. The specific problem it solves is a campaign that says download the app for bonus points. A member taps the link on mobile web, installs, opens the app as an anonymous user, and the bonus either never arrives or arrives without the campaign being credited. The deferred deep link payload is what carries both across the install.

Put the campaign and the reward offer in the Branch link, not the member's identity. On first open, the app reads the payload, asks the person to log in, and only then calls LoyaltyLion to award the points to the known customer. Send the app install reward and later in-app purchases to Branch as events with a stable event identifier, and purchases at revenue net of tier discount.

Points-for-install offers attract repeat claims, so award the bonus once per customer ID in LoyaltyLion, not once per install. Otherwise reinstalling the app becomes a way to farm points, and Branch will dutifully attribute every reinstall to the campaign that promised them.

LoyaltyLion → Branch · what breaks

Why this join usually fails — LoyaltyLion → Branch

  1. 01

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

    Tier benefits apply automatically at checkout, so the discount is inside the order rather than in a code.

  2. 02

    Tier discounts absorbed silently into order value

    Unlike a coupon, a tier discount has no code. It is applied automatically and disappears into the order total, so the margin erosion from a maturing loyalty base is invisible in every marketing report.

  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.

LoyaltyLion → Branch · the fix

What working looks like — LoyaltyLion → Branch

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

  • 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

LoyaltyLion → Branch · architecture

How LoyaltyLion and Branch actually connect

  1. 1

    LoyaltyLion holds the truth

    A top-tier customer buys at a permanently lower margin. Their order value looks identical to a new customer's and is worth meaningfully less, which matters when you are deciding what a new customer is worth acquiring.

  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 LoyaltyLion tier order.

  4. 4

    The event source decides reliability

    Send orders net of tier discount, with the tier recorded so margin by cohort stays visible.

  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.

LoyaltyLion → Branch · normal or broken

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

Normal, not a fault

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

  • Sent from your order feed with tier 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

    Tier benefits apply automatically at checkout, so the discount is inside the order rather than in a code.

  • Sent from the browser

    Unlike a coupon, a tier discount has no code. It is applied automatically and disappears into the order total, so the margin erosion from a maturing loyalty base is invisible in every marketing report.

  • 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

LoyaltyLion → Branch · diagnose

Diagnostic order — LoyaltyLion → Branch

  1. 01

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

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare average margin by loyalty tier

    As the programme matures this gap widens, and it is the reason a growing loyal base can coincide with falling profitability.

  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.

LoyaltyLion → Branch · prove

How it gets proven — LoyaltyLion → Branch

Source of truth

Store orders with the customer's loyalty tier recorded at the time of purchase.

  • The Branch link click identifier and the deferred deep link payload confirmed present on a live redemption.
  • Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
  • Orders reconciled net of tier discount against imported conversions, with tier recorded.

LoyaltyLion → Branch · free audit

What we check in the free audit

  • Count redemptions carrying the Branch link click identifier and the deferred deep link payload
  • Follow one real conversion end to end
  • Compare average margin by loyalty tier
  • Measure your organic install share and ask whether it is plausible
  • Read the match rate, not the success message

Checked against

Store orders with the customer's loyalty tier recorded at the time of purchase.

Get my free conversion tracking audit

Free30 minutesNo obligation

LoyaltyLion → Branch · when not to buy

When you don't need this — LoyaltyLion → Branch

  • Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the Branch link click identifier and the deferred deep link payload.
  • Flat-rate loyalty programmes without tiers do not have this problem.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

LoyaltyLion → Branch · what we deliver

What gets built — LoyaltyLion → Branch

  • Identifier capture into LoyaltyLion

    Record the tier on the order and net tier discounts out of the reported value.

  • Event source: your order feed with tier attached

    Send orders net of tier discount, with the tier recorded so margin by cohort stays visible.

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

Written guarantee

95%+ tracking accuracy

Measured against Store orders with the customer's loyalty tier recorded at the time of purchase.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

LoyaltyLion → Branch questions, answered

Pass the offer in a Branch deep link, have the app read it on first open after login, and award points once per customer ID through LoyaltyLion.

Free · 30 min

Get LoyaltyLion and Branch joined properly

Free30 minutesNo obligation