Connecting Shopify to Branch
Shopify is the system of record for the order, and its admin numbers are the ones the business runs on. 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 Shopify 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
Shopify and Branch: carrying a storefront click into in-app orders
Branch matters for a Shopify brand only with a shopping app. On first open, the app reads the deferred deep link, keeps campaign data with the app user and writes your user ID to a cart attribute; the paid-order webhook then posts the purchase to Branch with the order ID as event identifier. Drop duplicate SDK purchases.
Branch's job for a Shopify brand is the seam between the mobile storefront and a shopping app, if you have one: a deep link on a product page, email or text opens the same product in the app, or survives the App Store when the app is not installed. Orders placed in the app still become Shopify orders, so the attribution question is whether the Branch link context reaches the cart before checkout.
The concrete join: on first open the app reads the deferred deep link payload, keeps the campaign data with the app user, and writes your user ID into a cart attribute. The paid-order webhook then posts the purchase to Branch server-side with the order ID as the event identifier, the paid total and the currency. That beats an SDK purchase event because it sees checkout discounts and catches checkouts finished in a web view. If the app SDK already logs a purchase, drop one of the two.
The characteristic break is a link to a storefront product URL whose handle has no matching route in the app, so the app opens on the home screen and the eventual purchase looks organic. Map product handles to app routes and test on a device without the app installed. Without an app, Branch has nothing to do for a Shopify store.
Shopify → Branch · what breaks
Why this join usually fails — Shopify → Branch
- 01
The Branch link click identifier and the deferred deep link payload never reaches Shopify
Shopify's checkout is locked down. Custom scripts on the checkout steps are not permitted on standard plans, and the old additional-scripts route is gone, so the identifier has to be captured on the storefront and carried into the order through cart or order attributes rather than read at the checkout itself.
- 02
Checkout extensibility hides what you need
Shopify deliberately restricts what runs during checkout. Setups that assumed free rein there broke when the platform moved to Checkout Extensibility, and many stores have been quietly under-reporting since.
- 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.
Shopify → Branch · the fix
What working looks like — Shopify → 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
Shopify → Branch · architecture
How Shopify and Branch actually connect
- 1
Shopify holds the truth
The order carries line items, discounts, shipping, tax, currency and the customer. Note which figure you intend to report — total, subtotal, or net of shipping and tax — because most mismatches between Shopify and an ad platform turn out to be two people comparing two different numbers.
- 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 Shopify order.
- 4
The event source decides reliability
Send when Shopify says the order is paid, from your server. This also covers draft orders, POS, and the customer who closes the tab on the thank-you page — none of which a pixel on the order-status page will ever see.
- 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.
Shopify → Branch · normal or broken
Working vs. broken, side by side — Shopify → Branch
Normal, not a fault
The Branch link click identifier and the deferred deep link payload present on the order
Sent from the orders/paid 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
Shopify's checkout is locked down. Custom scripts on the checkout steps are not permitted on standard plans, and the old additional-scripts route is gone, so the identifier has to be captured on the storefront and carried into the order through cart or order attributes rather than read at the checkout itself.
Sent from the browser
Shopify deliberately restricts what runs during checkout. Setups that assumed free rein there broke when the platform moved to Checkout Extensibility, and many stores have been quietly under-reporting since.
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
Shopify → Branch · diagnose
Diagnostic order — Shopify → Branch
- 01
Count orders carrying the Branch link click identifier and the deferred deep link payload
- 02
Follow one real conversion end to end
- 03
Open a recent paid order and read its note attributes
If the identifier is not on the order, nothing downstream can attribute it. Check ten orders, not one — partial coverage is the normal failure, not total absence.
- 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.
Shopify → Branch · prove
How it gets proven — Shopify → Branch
Source of truth
Shopify Admin → Orders, for the same window, in the same currency and on the same timezone.
- 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.
- Order totals in Shopify Admin reconciled per order, not on the summed total, over a closed window.
Shopify → 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
- Open a recent paid order and read its note attributes
- Measure your organic install share and ask whether it is plausible
- Read the match rate, not the success message
Checked against
Shopify Admin → Orders, for the same window, in the same currency and on the same timezone.
Free30 minutesNo obligation
Shopify → Branch · when not to buy
When you don't need this — Shopify → 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.
- Shopify's own native channel integrations already cover simple single-currency stores adequately. If your admin numbers and platform numbers already agree, you do not need this.
- If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.
Shopify → Branch · what we deliver
What gets built — Shopify → Branch
Identifier capture into Shopify
Capture the click identifier on the storefront, write it to a cart attribute so it becomes an order note attribute, and read it back server-side from the order. That path survives the checkout domain hop that breaks cookie-based approaches.
Event source: the orders/paid webhook
Send when Shopify says the order is paid, from your server. This also covers draft orders, POS, and the customer who closes the tab on the thank-you page — none of which a pixel on the order-status page will ever see.
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/create fires with the original order reference, so refunds and cancellations can be reversed at the destination.
Written guarantee
95%+ tracking accuracy
Measured against Shopify Admin → Orders, for the same window, in the same currency and on the same timezone.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Shopify → Branch questions, answered
Orders placed in your own app can be attributed if the Branch link context is carried to the cart and the purchase is sent with it. Website orders are not Branch's job.
They can, if the app has a route for each product handle and the link carries it. Test on a device without the app installed, because that is where deferred deep linking fails.
Almost always because the Branch link click identifier and the deferred deep link payload never reached the Shopify order. Shopify's checkout is locked down. Custom scripts on the checkout steps are not permitted on standard plans, and the old additional-scripts route is gone, so the identifier has to be captured on the storefront and carried into the order through cart or order attributes rather than read at the checkout itself. 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 orders/paid webhook. Send when Shopify says the order is paid, from your server. This also covers draft orders, POS, and the customer who closes the tab on the thank-you page — none of which a pixel on the order-status page will ever see.
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 Shopify → Branch
- Shopify POS → BranchConnecting Shopify POS to Branch
- Checkout Extensibility → BranchConnecting Shopify Checkout Extensibility to Branch
- Shopify → HubSpotConnecting Shopify to HubSpot
RELATED GUIDES
Where Shopify → Branch fits in the rest of your tracking
- WooCommerce Subscriptions → BranchConnecting WooCommerce Subscriptions to Branch
- WooCommerce → BranchConnecting WooCommerce to Branch
- OpenCart → BranchConnecting OpenCart to Branch
- Shopify → AppsFlyerConnecting Shopify to AppsFlyer
- Furniture ecommerceConversion tracking for furniture ecommerce, measured after delivery
- nopCommerce → BranchConnecting nopCommerce to Branch
- Checkout Extensibility → BranchConnecting Shopify Checkout Extensibility to Branch
- BigCommerce → BranchConnecting BigCommerce to Branch
Free · 30 min
Get Shopify and Branch joined properly
Free30 minutesNo obligation
