Skip to main content
BigCommerce → AppsFlyerIntegration guide

Connecting BigCommerce to AppsFlyer

BigCommerce is a hosted store with an unusually open API, which makes it one of the easier ecommerce platforms to instrument properly. 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 BigCommerce 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

BigCommerce app orders in AppsFlyer, web orders kept out

AppsFlyer applies only to a native app on BigCommerce's APIs. Have the app mark its orders by channel or field and write the device's appsflyer_id onto the order. From the order webhook, send purchases server-to-server only for marked orders once paid, with the BigCommerce order ID as event identifier. Do not also fire SDK purchases.

AppsFlyer belongs in a BigCommerce stack only when there is a native shopping app, usually a headless build on BigCommerce's APIs. Orders from the app and from the website end up in the same BigCommerce order list, and the most common mistake is sending all of them to AppsFlyer. Web orders have no appsflyer_id and no install, so they either disappear or inflate organic revenue.

Mark app orders when they are created. Have the app set a channel or a dedicated field on the BigCommerce order and write the device's appsflyer_id onto it. Then, from the order webhook, send a purchase to AppsFlyer's server-to-server API only for orders with that marker and only once the status reaches paid, using the BigCommerce order ID as the event identifier. Webhook payloads only identify the order, so your server fetches the order to get value, currency and the stored device ID before sending.

Decide where the purchase is sent from. If the app's SDK already fires a purchase on its confirmation screen, adding the server event doubles revenue in AppsFlyer and in every network it forwards to. Pick one source; the server is more reliable because wallet and payment redirects can close the app before the screen renders. Refunds are recorded on the original BigCommerce order, so they can be reported with the same order ID if you want net revenue.

BigCommerce → AppsFlyer · what breaks

Why this join usually fails — BigCommerce → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches BigCommerce

    BigCommerce offers both a hosted checkout and an embedded one, and which you use changes whether your storefront scripts run during checkout. On the hosted flow the identifier has to travel through the cart rather than through a cookie.

  2. 02

    Two checkout modes with different script access

    Hosted and embedded checkout behave differently, and a setup built for one silently misses conversions on the other.

  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.

BigCommerce → AppsFlyer · the fix

What working looks like — BigCommerce → 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

BigCommerce → AppsFlyer · architecture

How BigCommerce and AppsFlyer actually connect

  1. 1

    BigCommerce holds the truth

    The order carries line items, tax, shipping and currency. Decide whether you report the order total or a net figure before comparing anything, because most BigCommerce discrepancies are two people using two definitions.

  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 BigCommerce order.

  4. 4

    The event source decides reliability

    Send when the order status reaches paid, from your server. This covers wallet checkouts and customers who never reach the confirmation page.

  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.

BigCommerce → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the order

  • Sent from the BigCommerce order webhook

  • 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

    BigCommerce offers both a hosted checkout and an embedded one, and which you use changes whether your storefront scripts run during checkout. On the hosted flow the identifier has to travel through the cart rather than through a cookie.

  • Sent from the browser

    Hosted and embedded checkout behave differently, and a setup built for one silently misses conversions on the other.

  • 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

BigCommerce → AppsFlyer · diagnose

Diagnostic order — BigCommerce → AppsFlyer

  1. 01

    Count orders carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm which checkout mode the store uses

    Then test a purchase on that mode specifically rather than on whichever one is convenient.

  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.

BigCommerce → AppsFlyer · prove

How it gets proven — BigCommerce → AppsFlyer

Source of truth

BigCommerce's order list for the same window, at an agreed value definition.

  • 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.
  • A purchase through the store's actual checkout mode confirmed to carry the identifier onto the order.

BigCommerce → 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
  • Confirm which checkout mode the store uses
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

BigCommerce's order list for the same window, at an agreed value definition.

Get my free conversion tracking audit

Free30 minutesNo obligation

BigCommerce → AppsFlyer · when not to buy

When you don't need this — BigCommerce → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • BigCommerce's native channel integrations are decent for simple single-currency stores. If your admin and platform numbers already agree, leave it.
  • 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.

BigCommerce → AppsFlyer · what we deliver

What gets built — BigCommerce → AppsFlyer

  • Identifier capture into BigCommerce

    Capture the identifier on the storefront and write it to the order through a cart custom field, then read it back server-side from the order.

  • Event source: the BigCommerce order webhook

    Send when the order status reaches paid, from your server. This covers wallet checkouts and customers who never reach the confirmation page.

  • 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 are recorded against the original order, so reversals are straightforward.

Written guarantee

95%+ tracking accuracy

Measured against BigCommerce's order list for the same window, at an agreed value definition.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

BigCommerce → AppsFlyer questions, answered

No. Only orders placed in your app carry a device identifier AppsFlyer can attribute. Web orders belong in your ad platforms directly.

Free · 30 min

Get BigCommerce and AppsFlyer joined properly

Free30 minutesNo obligation