Connecting Medusa to Adobe Analytics
Medusa is a Node commerce engine you extend in your own codebase, which makes the conversion event a piece of application code — and therefore something that can be tested rather than hoped for. Adobe Analytics processes data on the way in through rules you configure, which means the same event can be recorded differently by two report suites and both will look authoritative. The join between them succeeds or fails on one thing: whether the Experience Cloud ID, plus whatever eVar you designate reaches the Medusa order before the conversion happens, because Adobe Analytics can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Medusa orders into Adobe Analytics with ECID from the cart
Write the Adobe ECID into Medusa cart metadata when the Web SDK sets it, so it reaches the order. A payment-capture subscriber then sends the purchase through the Edge API with variant SKUs, quantities, line totals and the order's own currency. Use the display ID as purchase ID to dedupe browser hits, and send refunds as separate events.
Because a Medusa storefront is a separate app from the backend, the Adobe ECID only exists in the storefront's browser session. Write it into cart metadata when the Web SDK first sets it, and it reaches the order automatically at completion. Your subscriber on payment capture can then send the purchase server-side through the Edge API with the ECID, so the order joins the visit that produced it even if the shopper closed the tab before the confirmation page loaded.
Medusa gives you everything Adobe's products variable wants: each line item's variant SKU, quantity and line total, plus the order's currency and region. Send the purchase in the order's currency and let the report suite convert, rather than converting in your subscriber, since Medusa stores can run several regions with different currencies. Use the order's display ID as the purchase ID.
That purchase ID is what keeps this pair honest. Many headless builds also fire a browser purchase on the confirmation page, and Adobe deduplicates purchases that share a purchase ID, so the browser hit and the subscriber hit count once. Without it you double revenue for every shopper who reaches the confirmation page. Refunds should go in as a separate refund event keyed to the same order, not as negative purchases.
Medusa → Adobe Analytics · what breaks
Why this join usually fails — Medusa → Adobe Analytics
- 01
The Experience Cloud ID, plus whatever eVar you designate never reaches Medusa
The storefront is separate from the backend, and the identifier must be attached to the cart before the order is created.
- 02
Firing on order placed rather than payment captured
They are different events and the gap between them contains every failed and pending payment. Order-placed is the easier hook and the wrong one.
- 03
Processing rules rewriting data before anyone sees it
Rules run before storage and are frequently configured years earlier by someone who has left. A campaign variable can be overwritten, defaulted or dropped on the way in, and the reports will look consistent and be wrong.
- 04
Nothing reconciles afterwards
Use a raw data feed or Data Debugger to see what actually arrived, not the processed report. Those are different things and only one of them shows the truth.
Medusa → Adobe Analytics · the fix
What working looks like — Medusa → Adobe Analytics
The Experience Cloud ID, plus whatever eVar you designate on every order
Conversions arriving in Adobe Analytics
The hit is processed through VISTA and processing rules, lands in the report suite, and becomes available under whatever allocation the eVar specifies.
Reconciled against the source
Medusa → Adobe Analytics · architecture
How Medusa and Adobe Analytics actually connect
- 1
Medusa holds the truth
Because you own the event handlers, the conversion can fire from the payment-captured event specifically rather than from whatever the frontend happened to render.
- 2
Adobe Analytics needs a click to match
An eVar with the right persistence and allocation, an event configured in the report suite, and processing rules that do not quietly rewrite what arrived.
- 3
The identifier is the bridge
The Experience Cloud ID, plus whatever eVar you designate, captured at the visit and carried into the Medusa order.
- 4
The event source decides reliability
Send orders at payment capture, at the paid total.
- 5
Deduplication at the destination
Adobe deduplicates on purchase ID for orders. Omit it and a customer refreshing a confirmation page records the order again, which is the single most common inflation in Adobe implementations.
Medusa → Adobe Analytics · normal or broken
Working vs. broken, side by side — Medusa → Adobe Analytics
Normal, not a fault
The Experience Cloud ID, plus whatever eVar you designate present on the order
Sent from a Medusa subscriber on order payment capture
Deduplicated correctly
Adobe deduplicates on purchase ID for orders. Omit it and a customer refreshing a confirmation page records the order again, which is the single most common inflation in Adobe implementations.
Reconciles with the source
Actually broken
The Experience Cloud ID, plus whatever eVar you designate missing on most records
The storefront is separate from the backend, and the identifier must be attached to the cart before the order is created.
Sent from the browser
They are different events and the gap between them contains every failed and pending payment. Order-placed is the easier hook and the wrong one.
Counted twice, or not at all
Rules run before storage and are frequently configured years earlier by someone who has left. A campaign variable can be overwritten, defaulted or dropped on the way in, and the reports will look consistent and be wrong.
Nobody has reconciled it
Medusa → Adobe Analytics · diagnose
Diagnostic order — Medusa → Adobe Analytics
- 01
Count orders carrying the Experience Cloud ID, plus whatever eVar you designate
- 02
Follow one real conversion end to end
- 03
Check which event your subscriber listens to
One line of code, and it decides whether you are counting orders or counting money.
- 04
Read the processing rules and the eVar allocation settings
Before debugging the tag. On mature Adobe implementations the explanation is upstream of the browser far more often than in it.
- 05
Read the match rate, not the success message
Use a raw data feed or Data Debugger to see what actually arrived, not the processed report. Those are different things and only one of them shows the truth.
Medusa → Adobe Analytics · prove
How it gets proven — Medusa → Adobe Analytics
Source of truth
Medusa orders by payment status, emitted from your own subscriber code.
- The Experience Cloud ID, plus whatever eVar you designate confirmed present on a live order.
- Orders reconciled against the raw feed with purchase ID deduplication verified, then against the processed report suite.
- Payment-captured orders reconciled against imported conversions.
Medusa → Adobe Analytics · free audit
What we check in the free audit
- Count orders carrying the Experience Cloud ID, plus whatever eVar you designate
- Follow one real conversion end to end
- Check which event your subscriber listens to
- Read the processing rules and the eVar allocation settings
- Read the match rate, not the success message
Checked against
Medusa orders by payment status, emitted from your own subscriber code.
Free30 minutesNo obligation
Medusa → Adobe Analytics · when not to buy
When you don't need this — Medusa → Adobe Analytics
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Experience Cloud ID, plus whatever eVar you designate.
- If every payment method you accept is instant, the two events nearly coincide and the distinction costs more than it returns.
- If you are already on GA4 and not obliged to use Adobe, running both means two versions of every number and a standing argument about which is right.
Medusa → Adobe Analytics · what we deliver
What gets built — Medusa → Adobe Analytics
Identifier capture into Medusa
Write the identifier into cart metadata at first touch so it is carried onto the order automatically at completion.
Event source: a Medusa subscriber on order payment capture
Send orders at payment capture, at the paid total.
Dispatch to Adobe Analytics
Server-side via the Data Insertion or Edge API, with the ECID and the configured variables.
Reversals where they exist
Refunds emit their own event and should reverse.
Written guarantee
95%+ tracking accuracy
Measured against Medusa orders by payment status, emitted from your own subscriber code.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Medusa → Adobe Analytics questions, answered
Save it in cart metadata from the storefront when the Web SDK sets it; Medusa carries cart metadata onto the order when the cart completes.
Send the order's display ID as the purchase ID on both the browser hit and the server hit, so Adobe counts the purchase once.
Almost always because the Experience Cloud ID, plus whatever eVar you designate never reached the Medusa order. The storefront is separate from the backend, and the identifier must be attached to the cart before the order is created. Measure coverage before debugging the dispatch.
Identity is the ECID, with visitor stitching configurable on top. The click identifier is not native — it lives in an eVar you assign, with an expiry and an allocation model you choose, and those two settings silently decide what your attribution reports say.
A Medusa subscriber on order payment capture. Send orders at payment capture, at the paid total.
Use a raw data feed or Data Debugger to see what actually arrived, not the processed report. Those are different things and only one of them shows the truth.
More on Medusa → Adobe Analytics
- Stripe → Adobe AnalyticsConnecting Stripe to Adobe Analytics
- PayPal → Adobe AnalyticsConnecting PayPal to Adobe Analytics
- Shopify → Adobe AnalyticsConnecting Shopify to Adobe Analytics
RELATED GUIDES
Where Medusa → Adobe Analytics fits in the rest of your tracking
- BigCommerce → Adobe AnalyticsConnecting BigCommerce to Adobe Analytics
- OpenCart → Adobe AnalyticsConnecting OpenCart to Adobe Analytics
- WooCommerce Subscriptions → Adobe AnalyticsConnecting WooCommerce Subscriptions to Adobe Analytics
- Medusa → MixpanelConnecting Medusa to Mixpanel
- Medusa → PostHogConnecting Medusa to PostHog
- Jewelry ecommerceConversion tracking for jewelry ecommerce, measured in settled orders
- Magento → Adobe AnalyticsConnecting Magento to Adobe Analytics
- SureCart → Adobe AnalyticsConnecting SureCart to Adobe Analytics
Free · 30 min
Get Medusa and Adobe Analytics joined properly
Free30 minutesNo obligation
