Skip to main content
Shopify POS → AppsFlyerIntegration guide

Connecting Shopify POS to AppsFlyer

Shopify POS writes counter sales into the same order table as the online store, which is genuinely useful for inventory and quietly ruinous for advertising reporting. 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 Shopify POS order 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

Shopify POS sales and AppsFlyer: only via your own app's users

Shopify POS sales carry no appsflyer_id, so never send them as in-app purchases. The legitimate case is a brand app whose member code is scanned at the till: look up that customer's stored appsflyer_id and send a separately named in-store purchase server-to-server, with the Shopify order ID as event identifier, kept out of revenue forwarded to ad networks.

AppsFlyer attributes app installs and in-app events to a device. A Shopify POS sale happens on the merchant's device, with the customer's phone possibly still in their pocket, so there is no appsflyer_id anywhere in the till transaction. Sending POS orders to AppsFlyer as in-app purchases would attribute counter sales to whatever install campaign last touched some unrelated device.

The legitimate case is a brand with its own shopping or loyalty app. When a customer scans their app's member code at the till, staff attach the matching Shopify customer to the POS order. Your backend can then look up that customer's appsflyer_id, stored when the app last opened, and send an in-store purchase event through the server-to-server API with a clearly separate event name. That measures whether app installs drive store visits, which is a fair question for a retailer with both.

Keep that event out of the revenue AppsFlyer forwards to ad networks as an in-app purchase. Forwarded in-store revenue makes install campaigns look like they pay for themselves at the counter. Use the Shopify order ID as the event identifier so a retried webhook does not double, and only send orders with a known app user attached; everything else stays out.

Shopify POS → AppsFlyer · what breaks

Why this join usually fails — Shopify POS → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches Shopify POS

    There is no browser at the till. POS orders arrive with no referrer, no session and no identifier of any kind.

  2. 02

    Counter sales flowing into online conversions

    Because both live in Shopify's order table, the default integration sends everything. Reported return then climbs with footfall, and a good Saturday in the shop reads as a successful ad campaign.

  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.

Shopify POS → AppsFlyer · the fix

What working looks like — Shopify POS → AppsFlyer

  • The AppsFlyer device identifier, appsflyer_id on every order

  • 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

Shopify POS → AppsFlyer · architecture

How Shopify POS and AppsFlyer actually connect

  1. 1

    Shopify POS holds the truth

    One order table, two businesses. The channel field is the only thing separating revenue a click could have produced from revenue a person walking past produced.

  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 Shopify POS order.

  4. 4

    The event source decides reliability

    Send online-channel orders at their value. Report POS revenue alongside as context, never inside the same conversion action.

  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.

Shopify POS → AppsFlyer · normal or broken

Working vs. broken, side by side — Shopify POS → AppsFlyer

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the order

  • Sent from the Shopify order webhook, filtered by channel

  • 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

    There is no browser at the till. POS orders arrive with no referrer, no session and no identifier of any kind.

  • Sent from the browser

    Because both live in Shopify's order table, the default integration sends everything. Reported return then climbs with footfall, and a good Saturday in the shop reads as a successful ad campaign.

  • 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

Shopify POS → AppsFlyer · diagnose

Diagnostic order — Shopify POS → AppsFlyer

  1. 01

    Count orders carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Filter by sales channel and compare against the online order count

    If the filtered figure does not match Shopify's own online channel report, the filter is wrong before the tracking is.

  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.

Shopify POS → AppsFlyer · prove

How it gets proven — Shopify POS → AppsFlyer

Source of truth

Shopify orders filtered by sales channel, with POS held apart from the online store.

  • The AppsFlyer device identifier, appsflyer_id confirmed present on a live order.
  • In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
  • Online-channel orders reconciled against imported conversions for a settled week.

Shopify POS → AppsFlyer · free audit

What we check in the free audit

  • Count orders carrying the AppsFlyer device identifier, appsflyer_id
  • Follow one real conversion end to end
  • Filter by sales channel and compare against the online order count
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Shopify orders filtered by sales channel, with POS held apart from the online store.

Get my free conversion tracking audit

Free30 minutesNo obligation

Shopify POS → AppsFlyer · when not to buy

When you don't need this — Shopify POS → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • A shop whose online sales are a rounding error should measure directions, calls and offer-code redemptions instead of building a revenue import.
  • 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.

Shopify POS → AppsFlyer · what we deliver

What gets built — Shopify POS → AppsFlyer

  • Identifier capture into Shopify POS

    Attribute the online channel only. Measure in-store influence with an offer code or a geo holdout rather than pretending the till is trackable.

  • Event source: the Shopify order webhook, filtered by channel

    Send online-channel orders at their value. Report POS revenue alongside as context, never inside the same conversion action.

  • 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

    Refunds reverse, per channel.

Written guarantee

95%+ tracking accuracy

Measured against Shopify orders filtered by sales channel, with POS held apart from the online store.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Shopify POS → AppsFlyer questions, answered

Only for customers identified at the till through your own app, whose AppsFlyer device ID you can look up. Anonymous counter sales have no device to attribute.

Free · 30 min

Get Shopify POS and AppsFlyer joined properly

Free30 minutesNo obligation