Skip to main content
AEM → AmplitudeIntegration guide

Connecting Adobe Experience Manager to Amplitude

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. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the commerce order behind AEM before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

AEM to Amplitude: keep the device ID alive across the commerce hop

Read the Amplitude device ID in the browser at add-to-cart and store it on the cart in the commerce layer; the ECID means nothing to Amplitude. Load the SDK through Adobe Tags, not cached page values. Send orders to the HTTP V2 API with that device ID, customer user_id, an order-number insert_id, and line-item price and quantity.

Amplitude on an AEM site is usually there to answer a question Adobe Analytics answers poorly: which content paths turn into repeat buyers. That only works if the revenue event sent from the commerce order lands on the same Amplitude device ID that browsed the AEM pages. The Experience Cloud ID (ECID) is not that identifier, and Amplitude knows nothing about it, so read the Amplitude device ID in the browser at add-to-cart and store it on the cart in the commerce layer.

The browser SDK has to be loaded through Adobe Tags or a client library, never initialized with values rendered into a cached page, or the dispatcher will hand one visitor's settings to the next. When the commerce engine fires the order event, send it to the HTTP V2 API with that stored device ID, the customer ID as user_id if they logged in, an insert_id built from the order number, and price and quantity on each line item so revenue reporting is not empty.

Expect Amplitude, Adobe Analytics and the order system to show three different purchase counts. Amplitude's will run lowest where consent or blockers stop its SDK, and that gap is information about your audience, not a reason to backfill events without a device ID, which only creates anonymous one-event users.

AEM → Amplitude · what breaks

Why this join usually fails — AEM → Amplitude

  1. 01

    The user ID and device ID pair 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

    Revenue events that carry no revenue

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  4. 04

    Nothing reconciles afterwards

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

AEM → Amplitude · the fix

What working looks like — AEM → Amplitude

  • The user ID and device ID pair on every order

  • Conversions arriving in Amplitude

    The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.

  • Reconciled against the source

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

AEM → Amplitude · architecture

How AEM and Amplitude 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

    Amplitude needs a click to match

    Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.

  3. 3

    The identifier is the bridge

    The user ID and device ID pair, 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

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

AEM → Amplitude · normal or broken

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

Normal, not a fault

  • The user ID and device ID pair 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

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

  • Reconciles with the source

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

Actually broken

  • The user ID and device ID pair 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

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  • Nobody has reconciled it

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

AEM → Amplitude · diagnose

Diagnostic order — AEM → Amplitude

  1. 01

    Count orders carrying the user ID and device ID pair

  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 a purchase event for the price and quantity fields specifically

    Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.

  5. 05

    Read the match rate, not the success message

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

AEM → Amplitude · prove

How it gets proven — AEM → Amplitude

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 user ID and device ID pair confirmed present on a live order.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Conversions confirmed sourced from the commerce system, with the Adobe Analytics difference explained rather than reconciled.

AEM → Amplitude · free audit

What we check in the free audit

  • Count orders carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Map which system answers which question before building
  • Check a purchase event for the price and quantity fields specifically
  • 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 → Amplitude · when not to buy

When you don't need this — AEM → Amplitude

  • If Amplitude 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 user ID and device ID pair.
  • If Adobe Analytics already answers your reporting needs, the remaining work is only feeding ad platforms — a much smaller scope.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

AEM → Amplitude · what we deliver

What gets built — AEM → Amplitude

  • 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 Amplitude

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.

  • 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 → Amplitude questions, answered

You can set it as a user property for joining later, but Amplitude merges people on its own device ID and your user_id. Use the commerce customer ID as user_id and carry the Amplitude device ID onto the order.

Free · 30 min

Get AEM and Amplitude joined properly

Free30 minutesNo obligation