Skip to main content
ShipStation → AppsFlyerIntegration guide

Connecting ShipStation to AppsFlyer

ShipStation is where the shipping cost of an order finally becomes known, which is the number that decides whether the conversion your ad platform reported was actually profitable. 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 ShipStation shipment 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

ShipStation to AppsFlyer: revenue from the order, never the shipment

ShipStation cannot send purchases to AppsFlyer, because a shipment carries no device or appsflyer_id. Send one purchase from either the app SDK or your order backend, using the appsflyer_id stored when the order was placed, never both. ShipStation's role is the value: use its actual cost by weight and zone to report revenue net of estimated shipping, decided before launch.

AppsFlyer attributes revenue to installs through the appsflyer_id on in-app and server events. A ShipStation shipment has no device on it, so ShipStation cannot be the sender. The purchase event should come from the app SDK or from your order backend with the appsflyer_id stored when the order was placed in the app, and from only one of them, or AppsFlyer counts the revenue twice and forwards both copies to your ad networks.

Where ShipStation matters is the value you report. AppsFlyer passes revenue to the networks running your app campaigns, and they optimize toward it. For a physical-goods app, consider sending revenue net of estimated shipping, using ShipStation's actual cost by product weight and zone to set the estimate. Decide before launch whether the networks see gross or net, because switching mid-campaign breaks every comparison with past data.

A delivered event is tempting as a retention signal, but think first: ShipStation reports per shipment, a split order generates several, and each needs the right appsflyer_id looked up from the order. If you do send one, name it distinctly from purchase and never attach revenue, so no partner postback treats it as a sale. For most app sellers the sane minimum is a single backend purchase with net value and no shipping events.

ShipStation → AppsFlyer · what breaks

Why this join usually fails — ShipStation → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches ShipStation

    The shipment is created after the order, in a different system, with no session behind it.

  2. 02

    Free shipping absorbing the whole margin

    An order that reported forty pounds of revenue and cost twelve to ship to a remote postcode is a different outcome from the same order shipped locally. Optimizing on revenue steers spend toward whichever geography is most expensive to serve.

  3. 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.

  4. 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.

ShipStation → AppsFlyer · the fix

What working looks like — ShipStation → AppsFlyer

  • The AppsFlyer device identifier, appsflyer_id on every shipment

  • 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

ShipStation → AppsFlyer · architecture

How ShipStation and AppsFlyer actually connect

  1. 1

    ShipStation holds the truth

    Shipping is frequently the difference between margin and none, and it varies by weight, destination and carrier in ways the order value does not predict.

  2. 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. 3

    The identifier is the bridge

    The AppsFlyer device identifier, appsflyer_id, captured at the visit and carried into the ShipStation shipment.

  4. 4

    The event source decides reliability

    Send orders at contribution margin where you can compute it — order value minus cost of goods and actual shipping.

  5. 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.

ShipStation → AppsFlyer · normal or broken

Working vs. broken, side by side — ShipStation → AppsFlyer

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the shipment

  • Sent from your order system, enriched with shipping 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

    The shipment is created after the order, in a different system, with no session behind it.

  • Sent from the browser

    An order that reported forty pounds of revenue and cost twelve to ship to a remote postcode is a different outcome from the same order shipped locally. Optimizing on revenue steers spend toward whichever geography is most expensive to serve.

  • 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

ShipStation → AppsFlyer · diagnose

Diagnostic order — ShipStation → AppsFlyer

  1. 01

    Count shipments carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare average shipping cost by campaign and by region

    The spread is usually larger than expected and it can reverse which campaigns look profitable.

  4. 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.

  5. 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.

ShipStation → AppsFlyer · prove

How it gets proven — ShipStation → AppsFlyer

Source of truth

Orders joined to their actual shipping cost and delivery outcome.

  • The AppsFlyer device identifier, appsflyer_id confirmed present on a live shipment.
  • In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
  • Orders reconciled at contribution margin against imported conversions for a settled month.

ShipStation → AppsFlyer · free audit

What we check in the free audit

  • Count shipments carrying the AppsFlyer device identifier, appsflyer_id
  • Follow one real conversion end to end
  • Compare average shipping cost by campaign and by region
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Orders joined to their actual shipping cost and delivery outcome.

Get my free conversion tracking audit

Free30 minutesNo obligation

ShipStation → AppsFlyer · when not to buy

When you don't need this — ShipStation → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred shipments and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • If you sell digital goods or charge shipping at cost, this refinement does not apply.
  • 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.

ShipStation → AppsFlyer · what we deliver

What gets built — ShipStation → AppsFlyer

  • Identifier capture into ShipStation

    Join on the order identifier. There is no identifier to capture here — the work is carrying the order's one through.

  • Event source: your order system, enriched with shipping cost

    Send orders at contribution margin where you can compute it — order value minus cost of goods and actual shipping.

  • 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, and should carry the return shipping cost too.

Written guarantee

95%+ tracking accuracy

Measured against Orders joined to their actual shipping cost and delivery outcome.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

ShipStation → AppsFlyer questions, answered

Not directly as far as we know, and its records have no device ID. Send the purchase from your order backend with the appsflyer_id stored on the app order.

Free · 30 min

Get ShipStation and AppsFlyer joined properly

Free30 minutesNo obligation