Connecting AfterShip Returns to Branch
AfterShip handles returns across many carriers and regions, which makes it the place where the true cost of a cross-border return finally becomes visible. 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 AfterShip return 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
AfterShip returns and Branch: keep returns out of the deep link
AfterShip returns give Branch nothing to attribute: they happen weeks later in a hosted web portal with no link click or app session. Instead store the Branch-attributed campaign on each app order and join AfterShip returns on order number to compute return-adjusted revenue per campaign in your own reporting, checking whether Branch accepts refunds first.
Branch earns its keep at the moment a web click becomes an app open. A return happens weeks later in AfterShip's hosted portal, usually opened from an email on whatever device the customer has in hand. There is no link click to attribute and no in-app session in the chain, so the return itself gives Branch nothing to do.
Where it gets relevant: Branch-attributed in-app purchase totals are gross, and a campaign pushing installs with discounted first orders may carry a return rate nobody has looked at. Store the Branch-attributed campaign on the order when the app places it, then join AfterShip returns on the order number to compute return-adjusted revenue per campaign in your own reporting. Check whether Branch's commerce events accept a refund or negative value before trying to push returns into it.
One place Branch can help the return flow itself: if AfterShip's return emails link to the portal, a Branch link can route app users to an in-app returns or exchange screen instead, if your app has one. That is a deep-linking job rather than measurement, and only worth building if exchanges inside the app keep revenue that a web refund would lose.
AfterShip Returns → Branch · what breaks
Why this join usually fails — AfterShip Returns → Branch
- 01
The Branch link click identifier and the deferred deep link payload never reaches AfterShip Returns
Returns are initiated in a hosted portal weeks after the order.
- 02
Return cost averaged across very different markets
A market with a twelve percent return rate and cheap domestic logistics is a different business from one with the same rate and international freight. One blended net figure recommends the wrong market.
- 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.
AfterShip Returns → Branch · the fix
What working looks like — AfterShip Returns → Branch
The Branch link click identifier and the deferred deep link payload on every return
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
AfterShip Returns → Branch · architecture
How AfterShip Returns and Branch actually connect
- 1
AfterShip Returns holds the truth
A domestic return costs a label. An international return can cost more than the item's margin, and the rate differs by market. Averaging them hides which markets are actually profitable.
- 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 AfterShip return.
- 4
The event source decides reliability
Send orders net of returns including actual return shipping, reported by destination market.
- 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.
AfterShip Returns → Branch · normal or broken
Working vs. broken, side by side — AfterShip Returns → Branch
Normal, not a fault
The Branch link click identifier and the deferred deep link payload present on the return
Sent from the store order record, adjusted by return outcome and cost
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
Returns are initiated in a hosted portal weeks after the order.
Sent from the browser
A market with a twelve percent return rate and cheap domestic logistics is a different business from one with the same rate and international freight. One blended net figure recommends the wrong market.
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
AfterShip Returns → Branch · diagnose
Diagnostic order — AfterShip Returns → Branch
- 01
Count returns carrying the Branch link click identifier and the deferred deep link payload
- 02
Follow one real conversion end to end
- 03
Compute net margin per destination market after return costs
It frequently reverses which markets look worth advertising in.
- 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.
AfterShip Returns → Branch · prove
How it gets proven — AfterShip Returns → Branch
Source of truth
Store orders net of returns, with return shipping cost by destination.
- The Branch link click identifier and the deferred deep link payload confirmed present on a live return.
- Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
- Net margin reconciled per market after returns and their logistics cost.
AfterShip Returns → Branch · free audit
What we check in the free audit
- Count returns carrying the Branch link click identifier and the deferred deep link payload
- Follow one real conversion end to end
- Compute net margin per destination market after return costs
- Measure your organic install share and ask whether it is plausible
- Read the match rate, not the success message
Checked against
Store orders net of returns, with return shipping cost by destination.
Free30 minutesNo obligation
AfterShip Returns → Branch · when not to buy
When you don't need this — AfterShip Returns → Branch
- Measure identifier coverage yourself first — pull your last hundred returns and count how many carry the Branch link click identifier and the deferred deep link payload.
- Single-market sellers with flat return shipping can use one blended figure without losing 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.
AfterShip Returns → Branch · what we deliver
What gets built — AfterShip Returns → Branch
Identifier capture into AfterShip Returns
Join on the order identifier and carry return cost back onto it before computing margin.
Event source: the store order record, adjusted by return outcome and cost
Send orders net of returns including actual return shipping, reported by destination market.
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 reverse with their full logistics cost.
Written guarantee
95%+ tracking accuracy
Measured against Store orders net of returns, with return shipping cost by destination.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
AfterShip Returns → Branch questions, answered
Not by itself, because the return has no link click. Store the attributed campaign on the app order and join returns to it by order number in your own data.
Only if your app has a returns or exchange flow worth sending people to. Otherwise a plain link to the hosted portal is simpler and works for every customer.
Almost always because the Branch link click identifier and the deferred deep link payload never reached the AfterShip return. Returns are initiated in a hosted portal weeks after the order. 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 store order record, adjusted by return outcome and cost. Send orders net of returns including actual return shipping, reported by destination market.
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 AfterShip Returns → Branch
- Loop → BranchConnecting Loop Returns to Branch
- AfterShip Returns → Google AdsConnecting AfterShip Returns to Google Ads
- AfterShip Returns → MetaConnecting AfterShip Returns to Meta Conversions API
RELATED GUIDES
Where AfterShip Returns → Branch fits in the rest of your tracking
- Narvar → BranchConnecting Narvar to Branch
- Redo → BranchConnecting Redo to Branch
- Loop → BranchConnecting Loop Returns to Branch
- AfterShip Returns → AppsFlyerConnecting AfterShip Returns to AppsFlyer
- Footwear ecommerceConversion tracking for footwear ecommerce, measured net of returns
- Narvar → AppsFlyerConnecting Narvar to AppsFlyer
- Loop → AppsFlyerConnecting Loop Returns to AppsFlyer
- Redo → AppsFlyerConnecting Redo to AppsFlyer
Free · 30 min
Get AfterShip Returns and Branch joined properly
Free30 minutesNo obligation
