Skip to main content
Afterpay → BranchIntegration guide

Connecting Afterpay to Branch

Afterpay is pay-in-four buy-now-pay-later, which means the shopper is approved elsewhere and the merchant is paid up front by the provider. 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 Afterpay 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

Afterpay and Branch: web orders before the install aren't app wins

Send web Afterpay orders to web ad platforms and app purchases to Branch from your backend, keyed on the app's user identity with the order ID as event identifier. Label confirmation-page app banners as their own Branch channel so post-purchase installs aren't read as acquisition, and use a plain return URL for in-app Afterpay approval.

Branch's job is carrying a campaign across an app install, and the Afterpay pattern that confuses it runs the other way. A shopper buys on mobile web with Afterpay, then installs your app to track the order, often because the confirmation page offered it. If that app banner is a Branch link, the install is attributed to the banner and the next app purchase can be credited to it, while the first purchase, the one paid media actually drove, was a web order.

Keep the two clean. Web Afterpay orders go to your web ad platforms from the order record. App purchases go to Branch from your backend, keyed on the user identity the app sets, with the order ID as the event identifier so the SDK and the server do not both count it. Label confirmation-page banners as their own channel in Branch so post-purchase installs are never read as acquisition.

For in-app Afterpay checkout, the approval step leaves your native screens and returns through a callback. If that return goes through a Branch link, it can register as a link open and re-engage the user from that link. Use a plain return URL, then test one Afterpay purchase in the app to confirm the event lands once with the original install source intact.

Afterpay → Branch · what breaks

Why this join usually fails — Afterpay → Branch

  1. 01

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

    The shopper is redirected to Afterpay for approval and a meaningful share never return to the confirmation page. The order exists and no pixel fired.

  2. 02

    The approval redirect that ends the session

    Approval happens on Afterpay's side. The customer is committed, the merchant is paid, and the confirmation page is optional from the shopper's point of view.

  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.

Afterpay → Branch · the fix

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

Afterpay → Branch · architecture

How Afterpay and Branch actually connect

  1. 1

    Afterpay holds the truth

    Afterpay pays the merchant in full and collects instalments from the shopper itself, so your revenue arrives at once even though the customer pays over time. The store's order record is the money event, not the instalment schedule.

  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 Afterpay order.

  4. 4

    The event source decides reliability

    Fire from the order record, which exists whether or not the browser came back, and tag the payment method so BNPL performance is 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.

Afterpay → Branch · normal or broken

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

Normal, not a fault

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

  • Sent from your store's 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 shopper is redirected to Afterpay for approval and a meaningful share never return to the confirmation page. The order exists and no pixel fired.

  • Sent from the browser

    Approval happens on Afterpay's side. The customer is committed, the merchant is paid, and the confirmation page is optional from the shopper's point of view.

  • 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

Afterpay → Branch · diagnose

Diagnostic order — Afterpay → 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

    Count Afterpay checkouts started against confirmation-page loads

    The gap is the share of BNPL revenue a browser-side setup cannot see, and it is usually larger than merchants expect.

  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.

Afterpay → Branch · prove

How it gets proven — Afterpay → Branch

Source of truth

Your store's orders paid with Afterpay, cross-checked against Afterpay's settlement.

  • 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.
  • An Afterpay order abandoned at the return step, confirmed to still report.

Afterpay → 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
  • Count Afterpay checkouts started against confirmation-page loads
  • Measure your organic install share and ask whether it is plausible
  • Read the match rate, not the success message

Checked against

Your store's orders paid with Afterpay, cross-checked against Afterpay's settlement.

Get my free conversion tracking audit

Free30 minutesNo obligation

Afterpay → Branch · when not to buy

When you don't need this — Afterpay → 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.
  • If BNPL is a very small share of your orders, measure that share before commissioning anything.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

Afterpay → Branch · what we deliver

What gets built — Afterpay → Branch

  • Identifier capture into Afterpay

    Capture the identifier before checkout and store it on the order in your own system, so the conversion does not depend on the shopper completing the return journey.

  • Event source: your store's order webhook

    Fire from the order record, which exists whether or not the browser came back, and tag the payment method so BNPL performance is 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

    Returns on BNPL orders run higher than card in many stores, so the reversal matters more here than elsewhere.

Written guarantee

95%+ tracking accuracy

Measured against Your store's orders paid with Afterpay, cross-checked against Afterpay's settlement.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Afterpay → Branch questions, answered

Not as app purchases. They have no install behind them; send them to your web ad platforms and keep Branch for orders placed in the app.

Free · 30 min

Get Afterpay and Branch joined properly

Free30 minutesNo obligation