Skip to main content
Umbraco → AppsFlyerIntegration guide

Connecting Umbraco to AppsFlyer

Umbraco is a .NET CMS common in mid-market and enterprise European organisations, which means IT governance is usually the binding constraint rather than technology. 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 Umbraco Commerce 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

AppsFlyer and a headless Umbraco Commerce app checkout

AppsFlyer applies only when your mobile app places orders through Umbraco Commerce. Have the app pass its appsflyer_id in the checkout call, store it as an order property, and post the purchase server-to-server from the order-finalized notification, unless the SDK already logs it. Pick one sender, derive the event ID from the order number, and exclude web orders.

AppsFlyer applies when Umbraco Commerce is the order engine behind your own mobile app, with the app calling your APIs to create and finalize orders. The in-app purchase can then be posted server-to-server from the order-finalized notification, but only if the app passes its appsflyer_id with the checkout call and your API stores it as an order property. Without that step the server has an order and no device to attribute it to.

Decide which side sends the purchase. If the app's AppsFlyer SDK already logs purchases on the confirmation screen, adding a server event from Umbraco doubles revenue in AppsFlyer and in every network it forwards to. The server route is better when payment confirmation happens asynchronously in Commerce, because the app's confirmation screen may never render for a customer who backgrounds the app mid-payment. Pick one, and derive the event identifier from the Commerce order number.

Web orders placed through the Umbraco website stay out of AppsFlyer entirely; they have no device identifier and will land as organic noise. Refunds and cancellations recorded on the Commerce order should be reported back as negative revenue where your AppsFlyer setup supports it, and because the app API change and the server handler are both releases, scope them together.

Umbraco → AppsFlyer · what breaks

Why this join usually fails — Umbraco → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches Umbraco

    Output caching and CDN layers sit in front of most Umbraco deployments, and the deployment process itself frequently prevents quick iteration, which means getting the capture right the first time matters more here.

  2. 02

    Change control, not technology

    The build is straightforward and the release cycle is not. Scope the deployment process before committing to a timeline, because in this segment it is the schedule.

  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.

Umbraco → AppsFlyer · the fix

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

Umbraco → AppsFlyer · architecture

How Umbraco and AppsFlyer actually connect

  1. 1

    Umbraco holds the truth

    You own the database. What you may not own is the release process — Umbraco sites in this segment often sit behind change control that adds weeks to any modification.

  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 Umbraco Commerce order.

  4. 4

    The event source decides reliability

    Fire from the .NET notification handler rather than a view, which may be cached at the edge.

  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.

Umbraco → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the order

  • Sent from the Umbraco Commerce order-finalised notification

  • 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

    Output caching and CDN layers sit in front of most Umbraco deployments, and the deployment process itself frequently prevents quick iteration, which means getting the capture right the first time matters more here.

  • Sent from the browser

    The build is straightforward and the release cycle is not. Scope the deployment process before committing to a timeline, because in this segment it is the schedule.

  • 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

Umbraco → AppsFlyer · diagnose

Diagnostic order — Umbraco → AppsFlyer

  1. 01

    Count orders carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Establish the deployment and change-control process first

    It determines the timeline more than any technical question here.

  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.

Umbraco → AppsFlyer · prove

How it gets proven — Umbraco → AppsFlyer

Source of truth

Umbraco Commerce's order records in your own database, at agreed order states.

  • 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.
  • Order data confirmed populated on an order placed through the CDN as an anonymous visitor.

Umbraco → 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
  • Establish the deployment and change-control process first
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Umbraco Commerce's order records in your own database, at agreed order states.

Get my free conversion tracking audit

Free30 minutesNo obligation

Umbraco → AppsFlyer · when not to buy

When you don't need this — Umbraco → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • If the site is maintained by an internal IT team on a quarterly release cycle, plan the engagement around that rather than around the code.
  • 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.

Umbraco → AppsFlyer · what we deliver

What gets built — Umbraco → AppsFlyer

  • Identifier capture into Umbraco

    Capture the identifier and persist it to the order through a server-side notification handler in the application.

  • Event source: the Umbraco Commerce order-finalised notification

    Fire from the .NET notification handler rather than a view, which may be cached at the edge.

  • 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

    Order state changes to refunded or cancelled are recorded.

Written guarantee

95%+ tracking accuracy

Measured against Umbraco Commerce's order records in your own database, at agreed order states.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Umbraco → AppsFlyer questions, answered

Yes, if your app passes its appsflyer_id with the checkout API call and Umbraco stores it on the order, so the order-finalized handler can post the event server-to-server.

Free · 30 min

Get Umbraco and AppsFlyer joined properly

Free30 minutesNo obligation