Skip to main content
AEM → AppsFlyerIntegration guide

Connecting Adobe Experience Manager to AppsFlyer

AEM sits inside the wider Adobe stack, which usually means Adobe Analytics is already in place and answering a different question from your ad platforms. 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 commerce order behind AEM 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

AEM pages handing campaigns to AppsFlyer OneLink

Deploy AppsFlyer's Smart Script through Adobe's tag manager so it reads incoming UTMs and builds a OneLink URL carrying them into the install. Make app buttons in AEM components take their destination from the script rather than a hard-coded store URL. Keep web commerce purchases out of AppsFlyer and send them to ad platforms from the commerce layer.

AppsFlyer attributes app installs, and the AEM site matters to it in one place: the visitor who lands from a paid ad on a web page and is then pushed to install the app. If the app-store button on that AEM page is a plain store link, the campaign that brought the visitor is lost and the install shows as organic. AppsFlyer's Smart Script is designed for this: it reads the incoming UTM parameters on the web page and builds a OneLink URL that carries them into the install.

Deploy Smart Script through Adobe's tag manager rather than an AEM template, because it reads the URL in the browser, which Dispatcher caching does not interfere with. Then make the app buttons in your AEM components take their destination from the script rather than a hard-coded store URL authored in the page. That last step is usually what stalls, because the button URL is content and the script is tagging, and different teams own each.

Purchases made on the AEM site through your web commerce system do not belong in AppsFlyer. They have no device ID. Send those to your ad platforms from the commerce layer and keep AppsFlyer to installs and in-app events.

AEM → AppsFlyer · what breaks

Why this join usually fails — AEM → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches AEM

    Dispatcher caching in front of AEM serves stored output, the Adobe data layer has its own conventions that may not carry your identifier, and enterprise release cycles slow every iteration.

  2. 02

    Three systems that will never agree

    Adobe Analytics, your commerce system and your ad platforms each measure differently. The useful work is deciding which answers which question, not forcing them to match.

  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.

AEM → AppsFlyer · the fix

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

    Adobe Experience Manager's own records are the reference, not either dashboard.

AEM → AppsFlyer · architecture

How AEM and AppsFlyer actually connect

  1. 1

    Adobe Experience Manager holds the truth

    In most AEM deployments the commerce engine is separate, and Adobe Analytics reports on its own model with its own attribution. None of those three will agree by default and that is expected rather than broken.

  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 commerce order behind AEM.

  4. 4

    The event source decides reliability

    Send from the commerce layer, server-side. Dispatcher caching makes any per-request template logic unreliable.

  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.

AEM → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the order

    Visible on the record itself in Adobe Experience Manager, not merely captured somewhere on the site.

  • 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

    AppsFlyer's count and Adobe Experience Manager's records agree within a few percent over a closed window.

Actually broken

  • The AppsFlyer device identifier, appsflyer_id missing on most records

    Dispatcher caching in front of AEM serves stored output, the Adobe data layer has its own conventions that may not carry your identifier, and enterprise release cycles slow every iteration.

  • Sent from the browser

    Adobe Analytics, your commerce system and your ad platforms each measure differently. The useful work is deciding which answers which question, not forcing them to match.

  • 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

    The dashboard shows a number and no one has compared it to Adobe Experience Manager.

AEM → AppsFlyer · diagnose

Diagnostic order — AEM → AppsFlyer

  1. 01

    Count orders carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Map which system answers which question before building

    In an Adobe stack this framing saves more time than any implementation detail.

  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.

AEM → AppsFlyer · prove

How it gets proven — AEM → AppsFlyer

Against Adobe Experience Manager's own records, not against either platform's dashboard.

Source of truth

Your commerce system — AEM manages experiences, not transactions.

  • 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, with the Adobe Analytics difference explained rather than reconciled.

AEM → 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
  • Map which system answers which question before building
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Your commerce system — AEM manages experiences, not transactions.

Get my free conversion tracking audit

Free30 minutesNo obligation

AEM → AppsFlyer · when not to buy

When you don't need this — AEM → AppsFlyer

  • If AppsFlyer already reports conversions that reconcile against Adobe Experience Manager's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • If Adobe Analytics already answers your reporting needs, the remaining work is only feeding ad platforms — a much smaller scope.
  • 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.

AEM → AppsFlyer · what we deliver

What gets built — AEM → AppsFlyer

  • Identifier capture into AEM

    Capture the identifier server-side and persist it to the commerce order, and if you use the Adobe client data layer, add the identifier explicitly rather than assuming it propagates.

  • Event source: your commerce system's order event

    Send from the commerce layer, server-side. Dispatcher caching makes any per-request template logic unreliable.

  • 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 system — AEM manages experiences, not transactions.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

AEM → AppsFlyer questions, answered

Use AppsFlyer's Smart Script, deployed through your tag manager, to build OneLink URLs from the landing page's parameters, and point AEM app buttons at those URLs.

Free · 30 min

Get AEM and AppsFlyer joined properly

Free30 minutesNo obligation