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
- 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.
- 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.
- 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.
- 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
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
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
The identifier is the bridge
The AppsFlyer device identifier, appsflyer_id, captured at the visit and carried into the Umbraco Commerce order.
- 4
The event source decides reliability
Fire from the .NET notification handler rather than a view, which may be cached at the edge.
- 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
- 01
Count orders carrying the AppsFlyer device identifier, appsflyer_id
- 02
Follow one real conversion end to end
- 03
Establish the deployment and change-control process first
It determines the timeline more than any technical question here.
- 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.
- 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.
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.
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.
No. They have no app device identifier, so AppsFlyer would treat them as unattributed. Send web orders to your web analytics and ad platforms instead.
Almost always because the AppsFlyer device identifier, appsflyer_id never reached the Umbraco Commerce order. 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. Measure coverage before debugging the dispatch.
AppsFlyer assigns its own device ID and matches installs to clicks through referrer data on Android and Apple's frameworks on iOS. There is no durable cross-device identifier. On iOS without ATT consent, attribution falls back to SKAdNetwork, which returns aggregated conversion values on a delay with no user-level detail at all — so a share of your installs will be attributable only in aggregate, permanently.
The Umbraco Commerce order-finalised notification. Fire from the .NET notification handler rather than a view, which may be cached at the edge.
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.
More on Umbraco → AppsFlyer
- Umbraco → Google AdsConnecting Umbraco to Google Ads
- Umbraco → MetaConnecting Umbraco to Meta Conversions API
- Umbraco → GA4Connecting Umbraco to GA4
RELATED GUIDES
Where Umbraco → AppsFlyer fits in the rest of your tracking
- Drupal Commerce → AppsFlyerConnecting Drupal Commerce to AppsFlyer
- Webflow → AppsFlyerConnecting Webflow to AppsFlyer
- Concrete CMS → AppsFlyerConnecting Concrete CMS to AppsFlyer
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Statamic → AppsFlyerConnecting Statamic to AppsFlyer
- Ghost → AppsFlyerConnecting Ghost memberships to AppsFlyer
- Duda → AppsFlyerConnecting Duda to AppsFlyer
- Sitecore → AppsFlyerConnecting Sitecore to AppsFlyer
Free · 30 min
Get Umbraco and AppsFlyer joined properly
Free30 minutesNo obligation
