Connecting AfterShip Returns to AppsFlyer
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. AppsFlyer exists because mobile app attribution is a different problem from web attribution, and on iOS a large share of it is now aggregated and delayed by design rather than by accident. The join between them succeeds or fails on one thing: whether the AppsFlyer device identifier, appsflyer_id reaches the AfterShip return before the conversion happens, because AppsFlyer can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
AfterShip returns in AppsFlyer: only for orders placed in the app
AfterShip returns carry no device, so store the appsflyer_id on each order the app places and look it up when the return arrives. Send refunded amounts as a distinct negative-revenue event per AppsFlyer's documented method, never exchanges or store credit, and filter out web orders first so they don't drag organic revenue down. Check postback settings too.
AppsFlyer can only attribute a return if it can find the device that made the purchase, and the AfterShip return carries no device at all. The customer starts it in a hosted portal, often on a laptop, weeks after the order. The join has to be built at purchase time: store the appsflyer_id on the order when the app places it, so a later return can look up which device and install source the order belongs to.
AppsFlyer documents a way to report negative revenue for refunds; confirm the current method and event naming in your account before building, and keep it as a distinct event so gross purchase reporting stays intact. Only refunded amounts should go negative. An AfterShip exchange or store-credit resolution keeps the revenue and should not be sent as a reversal at all.
The failure specific to this pair is sending returns for web orders. Most AfterShip returns belong to website orders, and a negative revenue event with no device identifier either lands as organic or is dropped, dragging organic revenue down for no reason. Filter by order channel before sending. Remember too that AppsFlyer forwards events to connected networks, so check postback settings before a refund event reaches them.
AfterShip Returns → AppsFlyer · what breaks
Why this join usually fails — AfterShip Returns → AppsFlyer
- 01
The AppsFlyer device identifier, appsflyer_id 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
Web conversions sent to a mobile attribution platform
This is the common error and it produces confident nonsense. A purchase made on your website has no device identifier and no install behind it. AppsFlyer will either discard it or attribute it to nothing, and the revenue disappears somewhere between the two systems without anyone noticing it went.
- 04
Nothing reconciles afterwards
AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.
AfterShip Returns → AppsFlyer · the fix
What working looks like — AfterShip Returns → AppsFlyer
The AppsFlyer device identifier, appsflyer_id on every return
Conversions arriving in AppsFlyer
The event is attributed to the install source, forwarded to whichever networks are configured, and appears in the cohort reporting.
Reconciled against the source
AfterShip Returns → AppsFlyer · architecture
How AfterShip Returns and AppsFlyer 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
AppsFlyer needs a click to match
AppsFlyer needs the device identifier and an event name it recognizes, plus the revenue value for in-app purchases. A server event about a user with no linked device cannot be attributed to an install.
- 3
The identifier is the bridge
The AppsFlyer device identifier, appsflyer_id, 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
AppsFlyer deduplicates in-app events by its own event identifier. Sending the same purchase from both the SDK and your server produces two events and double-counts revenue in every dashboard downstream, including the ad networks AppsFlyer forwards to.
AfterShip Returns → AppsFlyer · normal or broken
Working vs. broken, side by side — AfterShip Returns → AppsFlyer
Normal, not a fault
The AppsFlyer device identifier, appsflyer_id present on the return
Sent from the store order record, adjusted by return outcome and cost
Deduplicated correctly
AppsFlyer deduplicates in-app events by its own event identifier. Sending the same purchase from both the SDK and your server produces two events and double-counts revenue in every dashboard downstream, including the ad networks AppsFlyer forwards to.
Reconciles with the source
Actually broken
The AppsFlyer device identifier, appsflyer_id 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
This is the common error and it produces confident nonsense. A purchase made on your website has no device identifier and no install behind it. AppsFlyer will either discard it or attribute it to nothing, and the revenue disappears somewhere between the two systems without anyone noticing it went.
Nobody has reconciled it
AfterShip Returns → AppsFlyer · diagnose
Diagnostic order — AfterShip Returns → AppsFlyer
- 01
Count returns carrying the AppsFlyer device identifier, appsflyer_id
- 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
Check what share of your revenue happens in the app at all
If most purchases are on the web, AppsFlyer is not your conversion destination and the work belongs somewhere else entirely.
- 05
Read the match rate, not the success message
AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.
AfterShip Returns → AppsFlyer · prove
How it gets proven — AfterShip Returns → AppsFlyer
Source of truth
Store orders net of returns, with return shipping cost by destination.
- The AppsFlyer device identifier, appsflyer_id confirmed present on a live return.
- In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
- Net margin reconciled per market after returns and their logistics cost.
AfterShip Returns → AppsFlyer · free audit
What we check in the free audit
- Count returns carrying the AppsFlyer device identifier, appsflyer_id
- Follow one real conversion end to end
- Compute net margin per destination market after return costs
- Check what share of your revenue happens in the app at all
- 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 → AppsFlyer · when not to buy
When you don't need this — AfterShip Returns → AppsFlyer
- Measure identifier coverage yourself first — pull your last hundred returns and count how many carry the AppsFlyer device identifier, appsflyer_id.
- Single-market sellers with flat return shipping can use one blended figure without losing anything.
- If you have no mobile app, this is not a destination for you. If you have one but sell mostly on the web, send web conversions to your ad platforms directly and use AppsFlyer only for install and in-app events.
AfterShip Returns → AppsFlyer · what we deliver
What gets built — AfterShip Returns → AppsFlyer
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 AppsFlyer
The AppsFlyer server-to-server events API, posted from your billing system with the device identifier and revenue.
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 → AppsFlyer questions, answered
Only for orders placed in the app, and only if the appsflyer_id was stored on the order when it was created. Send the refund as negative revenue under a separate event, after confirming the method in AppsFlyer's documentation.
Possibly, if that event is mapped in a network's postback configuration. Decide per network whether refunds should be forwarded rather than discovering it in their reporting.
Almost always because the AppsFlyer device identifier, appsflyer_id never reached the AfterShip return. Returns are initiated in a hosted portal weeks after the order. Measure coverage before debugging the dispatch.
AppsFlyer assigns its own device ID and matches installs to clicks through referrer data on Android and Apple's frameworks on iOS. There is no durable cross-device identifier. On iOS without ATT consent, attribution falls back to SKAdNetwork, which returns aggregated conversion values on a delay with no user-level detail at all — so a share of your installs will be attributable only in aggregate, permanently.
The store order record, adjusted by return outcome and cost. Send orders net of returns including actual return shipping, reported by destination market.
AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.
More on AfterShip Returns → AppsFlyer
- Loop → AppsFlyerConnecting Loop Returns to AppsFlyer
- AfterShip Returns → Google AdsConnecting AfterShip Returns to Google Ads
- AfterShip Returns → MetaConnecting AfterShip Returns to Meta Conversions API
RELATED GUIDES
Where AfterShip Returns → AppsFlyer fits in the rest of your tracking
- Narvar → AppsFlyerConnecting Narvar to AppsFlyer
- Loop → AppsFlyerConnecting Loop Returns to AppsFlyer
- Redo → AppsFlyerConnecting Redo to AppsFlyer
- Footwear ecommerceConversion tracking for footwear ecommerce, measured net of returns
- Narvar → BranchConnecting Narvar to Branch
- Loop → BranchConnecting Loop Returns to Branch
- Redo → BranchConnecting Redo to Branch
Free · 30 min
Get AfterShip Returns and AppsFlyer joined properly
Free30 minutesNo obligation
