Connecting Square to Branch
Square holds the transaction, and for most Square businesses the majority of those transactions are a card tapped at a counter with no browser anywhere near them. 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 Square payment or 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
Square ordering apps with Branch: web menu to app order
For Square businesses with their own ordering app, send the app purchase from your backend after Square confirms payment, through Branch's server-to-server events API with the user identity Branch knows and the Square payment ID as event identifier. Match or drop any SDK purchase, test deferred deep links through install, and leave Square Online orders out.
Branch is relevant to a Square business that has its own ordering or loyalty app and wants campaigns to survive the jump from a web link to the app. The typical path is a promotion link to a menu or offer, an install, and an order placed in the app and paid through Square. Branch's deferred deep link is what tells the app which campaign that new user came from.
The purchase itself should come from your backend after Square confirms the payment, posted to the Branch server-to-server events API with the user identity Branch knows and the Square payment ID as the event identifier. If the app's Branch SDK also logs the purchase, use the same identifier or drop one of them, since Branch forwards events to partners and a duplicate travels with it.
This pair breaks most often at the install. If the deferred deep link payload does not arrive, the new user looks organic, and the first app order is credited to nobody. Test the full path on iOS from an ad click through install and first order before trusting the numbers. Square Online web orders are not Branch's job; leave them to your web measurement and keep the two channels in separate reports.
Square → Branch · what breaks
Why this join usually fails — Square → Branch
- 01
The Branch link click identifier and the deferred deep link payload never reaches Square
Square Online checkout is hosted, so the identifier must be carried deliberately rather than by cookie. For in-person payments there is no identifier at all unless the customer booked an appointment or is in the customer directory — a walk-in who taps a card cannot be joined to an ad click by anyone.
- 02
Most of the revenue has no browser
A card at a terminal has no click, no session and no identifier. That is a boundary to measure rather than a bug to fix, and the honest deliverable includes how much of your revenue sits outside it.
- 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.
- 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.
Square → Branch · the fix
What working looks like — Square → Branch
The Branch link click identifier and the deferred deep link payload on every transaction
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
Square → Branch · architecture
How Square and Branch actually connect
- 1
Square holds the truth
Square records every payment with its amount, channel and, where the customer is identified, a link to the customer directory. That directory is the only bridge between a counter payment and anything that happened online.
- 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
The identifier is the bridge
The Branch link click identifier and the deferred deep link payload, captured at the visit and carried into the Square payment or order.
- 4
The event source decides reliability
Subscribe to payment and order events and send from your server. This covers online orders cleanly, and covers in-person payments only for the share you can join to an identity.
- 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.
Square → Branch · normal or broken
Working vs. broken, side by side — Square → Branch
Normal, not a fault
The Branch link click identifier and the deferred deep link payload present on the transaction
Sent from the Square payment 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
Square Online checkout is hosted, so the identifier must be carried deliberately rather than by cookie. For in-person payments there is no identifier at all unless the customer booked an appointment or is in the customer directory — a walk-in who taps a card cannot be joined to an ad click by anyone.
Sent from the browser
A card at a terminal has no click, no session and no identifier. That is a boundary to measure rather than a bug to fix, and the honest deliverable includes how much of your revenue sits outside it.
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
Square → Branch · diagnose
Diagnostic order — Square → Branch
- 01
Count transactions carrying the Branch link click identifier and the deferred deep link payload
- 02
Follow one real conversion end to end
- 03
Split Square revenue by channel before anything else
Online versus in-person. Every subsequent number depends on that split, and blending them makes both unreadable.
- 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.
- 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.
Square → Branch · prove
How it gets proven — Square → Branch
Source of truth
Square's transaction list, split by channel — online and in-person are different questions.
- The Branch link click identifier and the deferred deep link payload confirmed present on a live transaction.
- Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
- The in-person join rate measured and stated as a number before any coverage claim is made.
Square → Branch · free audit
What we check in the free audit
- Count transactions carrying the Branch link click identifier and the deferred deep link payload
- Follow one real conversion end to end
- Split Square revenue by channel before anything else
- Measure your organic install share and ask whether it is plausible
- Read the match rate, not the success message
Checked against
Square's transaction list, split by channel — online and in-person are different questions.
Free30 minutesNo obligation
Square → Branch · when not to buy
When you don't need this — Square → Branch
- Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the Branch link click identifier and the deferred deep link payload.
- If nearly all your revenue is in person with no appointments and no identified customers, there is very little here to attribute and we will say so rather than build a bridge to 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.
Square → Branch · what we deliver
What gets built — Square → Branch
Identifier capture into Square
Capture the click identifier and carry it into Square Online checkout, and for in-person work use an appointment booking as the bridge so the eventual payment can be joined through the customer record.
Event source: the Square payment webhook
Subscribe to payment and order events and send from your server. This covers online orders cleanly, and covers in-person payments only for the share you can join to an identity.
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
Square exposes refunds clearly, and in hospitality and services voids and comps are frequent enough that wiring the reversal matters.
Written guarantee
95%+ tracking accuracy
Measured against Square's transaction list, split by channel — online and in-person are different questions.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Square → Branch questions, answered
Yes, if your backend sends the purchase to Branch after the Square payment succeeds, with the user identity from the deep-linked install.
Usually the deferred deep link did not reach the app on first open, so the install lost its campaign. Test the install path on iOS end to end.
Almost always because the Branch link click identifier and the deferred deep link payload never reached the Square payment or order. Square Online checkout is hosted, so the identifier must be carried deliberately rather than by cookie. For in-person payments there is no identifier at all unless the customer booked an appointment or is in the customer directory — a walk-in who taps a card cannot be joined to an ad click by anyone. Measure coverage before debugging the dispatch.
Branch stores the click context and replays it into the app on first open, which is how a marketing campaign survives an install. That handoff is probabilistic on iOS and increasingly constrained, so the deep link data can arrive incomplete or not at all — and when it does not, the user looks organic.
The Square payment webhook. Subscribe to payment and order events and send from your server. This covers online orders cleanly, and covers in-person payments only for the share you can join to an identity.
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.
More on Square → Branch
- Square Online → BranchConnecting Square Online to Branch
- Square Appointments → BranchConnecting Square Appointments to Branch
- Square → Google AdsConnecting Square to Google Ads
RELATED GUIDES
Where Square → Branch fits in the rest of your tracking
- Affirm → BranchConnecting Affirm to Branch
- Checkout.com → BranchConnecting Checkout.com to Branch
- Chargebee → BranchConnecting Chargebee to Branch
- Square → AppsFlyerConnecting Square to AppsFlyer
- EcommerceConversion tracking for ecommerce brands, measured against your orders
- Mollie → BranchConnecting Mollie to Branch
- Maxio → BranchConnecting Maxio to Branch
- Recurly → BranchConnecting Recurly to Branch
Free · 30 min
Get Square and Branch joined properly
Free30 minutesNo obligation
