Skip to main content
nopCommerce → AppsFlyerIntegration guide

Connecting nopCommerce to AppsFlyer

nopCommerce is a .NET platform usually run by teams who deploy their own builds, which makes tracking a code change rather than a plugin install — and code changes ship on the release cycle, not on the marketing calendar. 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 nopCommerce 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

nopCommerce app orders to AppsFlyer, joined at login

AppsFlyer applies only to orders placed in an app on the nopCommerce catalog. At app login, store the appsflyer_id as a customer generic attribute and set the customer ID in the SDK, then post paid orders server-to-server with device ID, revenue and currency. Choose server or SDK per purchase, never both.

AppsFlyer helps a nopCommerce store only when there is a mobile app on the same catalog and customer accounts. Web orders placed on the storefront should go straight to your ad platforms; sending them to AppsFlyer with no device identifier gives it events it cannot attribute to any install.

The join happens at login. When a customer signs into the app, store the appsflyer_id as a generic attribute on the nopCommerce customer, and set your nopCommerce customer ID as the customer user ID in the SDK. An order placed in the app can then be posted from an order-paid event consumer through AppsFlyer's server-to-server events API with the device ID, revenue and currency, as long as the SDK is not also logging the same purchase.

Choose one source per purchase. The SDK knows about the order the moment the app shows confirmation; the server knows when payment is actually captured, which for payment methods left pending in nopCommerce can be hours later or never. The server is more accurate and the SDK is faster, and sending both double-counts revenue in AppsFlyer and in every network it forwards to. If you want revenue net of refunds, send a separate event from the order-refunded handler.

nopCommerce → AppsFlyer · what breaks

Why this join usually fails — nopCommerce → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches nopCommerce

    Custom builds mean the checkout flow differs per installation, and a redeploy can remove tracking that was added by hand.

  2. 02

    Tracking that disappears on the next release

    Anything bolted onto a self-hosted build by hand will eventually be lost in a merge. Putting the identifier in the schema makes it a first-class field that a redeploy carries rather than erases.

  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.

nopCommerce → AppsFlyer · the fix

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

nopCommerce → AppsFlyer · architecture

How nopCommerce and AppsFlyer actually connect

  1. 1

    nopCommerce holds the truth

    Because the platform is self-hosted, the order table is directly queryable and there is no reason to infer revenue from a confirmation page.

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

  4. 4

    The event source decides reliability

    Send orders with payment status paid, at the order subtotal.

  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.

nopCommerce → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the order

  • Sent from the nopCommerce order table

  • 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

    Custom builds mean the checkout flow differs per installation, and a redeploy can remove tracking that was added by hand.

  • Sent from the browser

    Anything bolted onto a self-hosted build by hand will eventually be lost in a merge. Putting the identifier in the schema makes it a first-class field that a redeploy carries rather than erases.

  • 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

nopCommerce → AppsFlyer · diagnose

Diagnostic order — nopCommerce → AppsFlyer

  1. 01

    Count orders carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether identifier capture survives a deploy

    Test it deliberately on a staging release rather than discovering it three weeks after the fact.

  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.

nopCommerce → AppsFlyer · prove

How it gets proven — nopCommerce → AppsFlyer

Source of truth

nopCommerce orders by payment status, from the database rather than from a page.

  • 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.
  • Paid orders reconciled from the database against imported conversions for a closed week.

nopCommerce → 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
  • Check whether identifier capture survives a deploy
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

nopCommerce orders by payment status, from the database rather than from a page.

Get my free conversion tracking audit

Free30 minutesNo obligation

nopCommerce → AppsFlyer · when not to buy

When you don't need this — nopCommerce → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • If your team already sends orders server-side from the application, this is done and the remaining work is reconciliation.
  • 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.

nopCommerce → AppsFlyer · what we deliver

What gets built — nopCommerce → AppsFlyer

  • Identifier capture into nopCommerce

    Add the identifier as a custom order field in the data model, so it survives redeploys as a schema change rather than as a script.

  • Event source: the nopCommerce order table

    Send orders with payment status paid, at the order subtotal.

  • 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 and voids reverse.

Written guarantee

95%+ tracking accuracy

Measured against nopCommerce orders by payment status, from the database rather than from a page.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

nopCommerce → AppsFlyer questions, answered

No. Send web orders to your ad platforms directly and use AppsFlyer only for installs and orders placed in the app.

Free · 30 min

Get nopCommerce and AppsFlyer joined properly

Free30 minutesNo obligation