Connecting Sitecore to AppsFlyer
Sitecore is enterprise digital experience software with its own personalisation and analytics stack, which frequently competes with rather than complements the measurement you are trying to build. 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 Sitecore contact and 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
Sitecore web traffic and AppsFlyer: where the two actually meet
Sitecore meets AppsFlyer only where pages send visitors to an app. Put AppsFlyer OneLinks behind app banners and download buttons instead of plain App Store URLs, so web-driven installs are attributed. Keep web orders out of AppsFlyer and send them to ad platforms directly. Never pass the Sitecore contact ID as AppsFlyer's customer user ID.
AppsFlyer measures app installs and in-app events, so a Sitecore site only meets it at the point where web visitors are sent to an app. The usual mechanism is an AppsFlyer OneLink behind the app banner or download button on Sitecore pages, which lets AppsFlyer attribute the install to the web placement. Check that your banner links are OneLinks rather than plain App Store URLs; a plain link makes every web-driven install look organic.
Orders placed on the website through the commerce layer behind Sitecore do not belong in AppsFlyer. Sending web purchases there with no device identifier gives AppsFlyer nothing to attribute, and pushing them alongside SDK purchases inflates app revenue that AppsFlyer then forwards to ad networks. Send web orders to your ad platforms directly and keep AppsFlyer for installs and purchases made inside the app.
If the app and the site share a login, the app can tell AppsFlyer its customer user ID, which lets you see the same customer across web orders and app events in your own data. That linking happens in your warehouse or CRM, not in Sitecore's experience database. Sitecore's contact record is keyed to its own tracker and should not be used as the customer ID passed to AppsFlyer.
Sitecore → AppsFlyer · what breaks
Why this join usually fails — Sitecore → AppsFlyer
- 01
The AppsFlyer device identifier, appsflyer_id never reaches Sitecore
Sitecore's personalisation can vary page output per visitor, its analytics identity model is separate from any ad platform's, and enterprise deployments sit behind multiple caching and CDN layers.
- 02
Two analytics systems answering different questions
Sitecore's experience analytics and your ad platform reporting will never agree because they measure different things. Trying to reconcile them wastes weeks.
- 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.
Sitecore → AppsFlyer · the fix
What working looks like — Sitecore → 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
Sitecore → AppsFlyer · architecture
How Sitecore and AppsFlyer actually connect
- 1
Sitecore holds the truth
Sitecore's experience database tracks contacts and interactions for personalisation. It is not a conversion source for ad platforms and its numbers will not match theirs, by design.
- 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 Sitecore contact and order.
- 4
The event source decides reliability
Send from the commerce layer. Sitecore's own goal and event tracking serves personalisation and should not be wired to ad platforms.
- 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.
Sitecore → AppsFlyer · normal or broken
Working vs. broken, side by side — Sitecore → AppsFlyer
Normal, not a fault
The AppsFlyer device identifier, appsflyer_id present on the order
Sent from your commerce system's order event
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
Sitecore's personalisation can vary page output per visitor, its analytics identity model is separate from any ad platform's, and enterprise deployments sit behind multiple caching and CDN layers.
Sent from the browser
Sitecore's experience analytics and your ad platform reporting will never agree because they measure different things. Trying to reconcile them wastes weeks.
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
Sitecore → AppsFlyer · diagnose
Diagnostic order — Sitecore → AppsFlyer
- 01
Count orders carrying the AppsFlyer device identifier, appsflyer_id
- 02
Follow one real conversion end to end
- 03
Separate Sitecore's personalisation analytics from conversion measurement
They are different systems for different purposes. Conflating them is the standard mistake in this stack.
- 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.
Sitecore → AppsFlyer · prove
How it gets proven — Sitecore → AppsFlyer
Source of truth
Your commerce or CRM system — Sitecore's own analytics database answers a different question.
- 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.
- Conversions confirmed sourced from the commerce system rather than from Sitecore's experience database.
Sitecore → 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
- Separate Sitecore's personalisation analytics from conversion measurement
- Check what share of your revenue happens in the app at all
- Read the match rate, not the success message
Checked against
Your commerce or CRM system — Sitecore's own analytics database answers a different question.
Free30 minutesNo obligation
Sitecore → AppsFlyer · when not to buy
When you don't need this — Sitecore → AppsFlyer
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the AppsFlyer device identifier, appsflyer_id.
- If your Sitecore implementation is content-only with commerce elsewhere, work at the commerce layer entirely.
- 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.
Sitecore → AppsFlyer · what we deliver
What gets built — Sitecore → AppsFlyer
Identifier capture into Sitecore
Capture the identifier server-side in the application and persist it to the commerce order, keeping it separate from Sitecore's own contact identity model.
Event source: your commerce system's order event
Send from the commerce layer. Sitecore's own goal and event tracking serves personalisation and should not be wired to ad platforms.
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
Handled at the commerce layer.
Written guarantee
95%+ tracking accuracy
Measured against Your commerce or CRM system — Sitecore's own analytics database answers a different question.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Sitecore → AppsFlyer questions, answered
No. AppsFlyer attributes against devices that installed the app. Web orders belong in your ad platforms and analytics, with AppsFlyer reserved for app activity.
Use AppsFlyer OneLink URLs on the Sitecore banner or download buttons so the web placement is recorded as the install source.
Almost always because the AppsFlyer device identifier, appsflyer_id never reached the Sitecore contact and order. Sitecore's personalisation can vary page output per visitor, its analytics identity model is separate from any ad platform's, and enterprise deployments sit behind multiple caching and CDN layers. 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.
Your commerce system's order event. Send from the commerce layer. Sitecore's own goal and event tracking serves personalisation and should not be wired to ad platforms.
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 Sitecore → AppsFlyer
- Sitecore → Google AdsConnecting Sitecore to Google Ads
- Sitecore → MetaConnecting Sitecore to Meta Conversions API
- Sitecore → GA4Connecting Sitecore to GA4
RELATED GUIDES
Where Sitecore → AppsFlyer fits in the rest of your tracking
- Concrete CMS → AppsFlyerConnecting Concrete CMS to AppsFlyer
- Contentful → AppsFlyerConnecting Contentful to AppsFlyer
- Drupal Commerce → AppsFlyerConnecting Drupal Commerce to AppsFlyer
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- AEM → AppsFlyerConnecting Adobe Experience Manager to AppsFlyer
- Sanity → AppsFlyerConnecting Sanity to AppsFlyer
- Umbraco → AppsFlyerConnecting Umbraco to AppsFlyer
- Craft → AppsFlyerConnecting Craft CMS to AppsFlyer
Free · 30 min
Get Sitecore and AppsFlyer joined properly
Free30 minutesNo obligation
