Connecting Adobe Experience Manager to Mixpanel
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. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the commerce order behind AEM before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
AEM to Mixpanel: set distinct_id client-side, never in the cache
Load the Mixpanel SDK through Adobe Tags or a client library, never from server-rendered values a cached page would share. Read the anonymous distinct_id in the browser at cart time, store it on the order, and send the purchase server-side from the commerce order with an $insert_id from the order number, merged to the customer ID at sign-in.
Most AEM sites are content-heavy with anonymous visitors and a login only at checkout or in an account area, which makes Mixpanel's identity merge the whole job. The anonymous distinct_id from browsing must be tied to the commerce customer ID when they sign in or check out, or the content journey and the purchase land on two different people and every content-to-order funnel shows zero.
Two AEM specifics cause that. The Mixpanel SDK must be loaded through Adobe Tags or a client library rather than initialized from server-rendered values, because a dispatcher-cached page will serve the same embedded value to everyone. And the purchase should be sent server-side from the commerce order, carrying the distinct_id read in the browser at cart time and stored on the order, plus an $insert_id derived from the order number so retries do not double it.
Run Mixpanel for funnels and retention, not as a channel report; Adobe Analytics already owns attribution in this stack. If your AEM site has no login and guest checkout is the norm, Mixpanel can only follow people within a device, so decide whether that is enough before instrumenting fifty content events.
AEM → Mixpanel · what breaks
Why this join usually fails — AEM → Mixpanel
- 01
The distinct_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.
- 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.
- 03
One event schema, two teams, no agreement
Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.
- 04
Nothing reconciles afterwards
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
AEM → Mixpanel · the fix
What working looks like — AEM → Mixpanel
The distinct_id on every order
Conversions arriving in Mixpanel
The event lands on the user profile and becomes available in funnels, retention and cohort analysis.
Reconciled against the source
Adobe Experience Manager's own records are the reference, not either dashboard.
AEM → Mixpanel · architecture
How AEM and Mixpanel actually connect
- 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
Mixpanel needs a click to match
Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.
- 3
The identifier is the bridge
The distinct_id, captured at the visit and carried into the commerce order behind AEM.
- 4
The event source decides reliability
Send from the commerce layer, server-side. Dispatcher caching makes any per-request template logic unreliable.
- 5
Deduplication at the destination
Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.
AEM → Mixpanel · normal or broken
Working vs. broken, side by side — AEM → Mixpanel
Normal, not a fault
The distinct_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
Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.
Reconciles with the source
Mixpanel's count and Adobe Experience Manager's records agree within a few percent over a closed window.
Actually broken
The distinct_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
Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.
Nobody has reconciled it
The dashboard shows a number and no one has compared it to Adobe Experience Manager.
AEM → Mixpanel · diagnose
Diagnostic order — AEM → Mixpanel
- 01
Count orders carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Map which system answers which question before building
In an Adobe stack this framing saves more time than any implementation detail.
- 04
List every event name in the project and look for near-duplicates
Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.
- 05
Read the match rate, not the success message
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
AEM → Mixpanel · prove
How it gets proven — AEM → Mixpanel
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 distinct_id confirmed present on a live order.
- Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
- Conversions confirmed sourced from the commerce system, with the Adobe Analytics difference explained rather than reconciled.
AEM → Mixpanel · free audit
What we check in the free audit
- Count orders carrying the distinct_id
- Follow one real conversion end to end
- Map which system answers which question before building
- List every event name in the project and look for near-duplicates
- Read the match rate, not the success message
Checked against
Your commerce system — AEM manages experiences, not transactions.
Free30 minutesNo obligation
AEM → Mixpanel · when not to buy
When you don't need this — AEM → Mixpanel
- If Mixpanel 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 distinct_id.
- If Adobe Analytics already answers your reporting needs, the remaining work is only feeding ad platforms — a much smaller scope.
- If you already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.
AEM → Mixpanel · what we deliver
What gets built — AEM → Mixpanel
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 Mixpanel
The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event 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.
From $400 · See packages
FAQ
AEM → Mixpanel questions, answered
The anonymous distinct_id was never merged with the customer ID at sign-in or checkout, or the server-side purchase used a different ID. Store the browser distinct_id on the order and identify at login.
Usually not. They answer different questions; keep Adobe for channel reporting and use Mixpanel for product-style funnels and retention.
Almost always because the distinct_id never reached the commerce order behind 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. Measure coverage before debugging the dispatch.
Mixpanel identifies people by distinct_id, which starts as an anonymous device value and should be aliased to your own user ID at signup. Getting that alias wrong is the single most common Mixpanel implementation failure: the anonymous pre-signup activity and the identified user become two separate people, and every funnel that crosses signup is broken.
Your commerce system's order event. Send from the commerce layer, server-side. Dispatcher caching makes any per-request template logic unreliable.
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
More on AEM → Mixpanel
- AEM → Google AdsConnecting Adobe Experience Manager to Google Ads
- AEM → MetaConnecting Adobe Experience Manager to Meta Conversions API
- AEM → GA4Connecting Adobe Experience Manager to GA4
RELATED GUIDES
Where AEM → Mixpanel fits in the rest of your tracking
- Duda → MixpanelConnecting Duda to Mixpanel
- Webflow → MixpanelConnecting Webflow to Mixpanel
- Craft → MixpanelConnecting Craft CMS to Mixpanel
- AEM → Adobe AnalyticsConnecting Adobe Experience Manager to Adobe Analytics
- AEM → AmplitudeConnecting Adobe Experience Manager to Amplitude
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Umbraco → MixpanelConnecting Umbraco to Mixpanel
- Contentful → MixpanelConnecting Contentful to Mixpanel
Free · 30 min
Get AEM and Mixpanel joined properly
Free30 minutesNo obligation
