Setting up Adobe Analytics ecommerce tracking so revenue matches your orders

Your Adobe Analytics revenue is 4% below the order total in your commerce platform. Finance trusts the platform, marketing trusts Analytics, and the Monday meeting goes to explaining the gap.
That gap nearly always traces back to the Adobe Analytics ecommerce implementation, not the reports. A missing purchase ID, a stray comma in the products string or a checkout step that fires twice is enough. This guide walks through the setup in the order you'd actually do it, on Adobe Commerce or Shopify. It ends with the reports to build and a troubleshooting table for when the numbers still disagree.
Before you start an Adobe Analytics ecommerce implementation
Four things should be in place before anyone opens a tag manager.
- Access. You need an Adobe Analytics report suite, Adobe Experience Platform Tags and permission to create a datastream.
- A supported platform version. Adobe Commerce's Data Connection extension needs 2.4.4 or newer. Adobe's release schedule lists 2.4.9 (released May 12, 2026) as the latest line, with regular support to May 31, 2029. Regular support for 2.4.6 ended on August 11, 2026. If you're behind, run the upgrade and the tracking work together so you test once.
- An owner for the report suite. Someone has to govern the variables. Without that person, eVars get reused for new purposes and the reports decay, and no tool fixes it.
- A real need for it. Adobe Analytics is an enterprise platform with enterprise overhead. If you run one store on a standard theme, your platform's reports plus GA4 will likely cover it.
Step 1: Write the tracking plan around the commerce events
List every page type, every commerce event and every variable, with an owner for each. Developers, marketing and finance will all come back to this document, so let it settle the arguments before they start.
Build it on Adobe's 7 standard commerce events. Per Adobe's events documentation, the codes are case-sensitive, so scadd won't count as scAdd. The last column is the field the Web SDK sends instead of the event code.
| Event code | Metric in reports | When to fire it | Web SDK (XDM) field |
|---|---|---|---|
prodView |
Product Views | Product detail page loads | commerce.productViews.value |
scOpen |
Carts | First item creates a new cart | commerce.productListOpens.value |
scAdd |
Cart Additions | Shopper adds an item | commerce.productListAdds.value |
scRemove |
Cart Removals | Shopper removes an item | commerce.productListRemovals.value |
scView |
Cart Views | Cart page or mini-cart opens | commerce.productListViews.value |
scCheckout |
Checkouts | First checkout step loads | commerce.checkouts.value |
purchase |
Orders (plus Units and Revenue) | Order confirmation | commerce.purchases.value |
Adobe says most organizations on non-legacy contracts also get 1,000 custom events (event1 to event1000). Use them for the steps the standard set skips, like shipping method selected or coupon applied.
Three decisions usually get left for later and shouldn't be. How will returns and refunds show up? Which merchandising eVars do you need (more on those in step 4)? And if you'll want customer lifetime value one day, how will you identify signed-in customers?
Step 2: Choose the Web SDK unless you have a reason not to
Adobe's implementation overview lists several methods. For new customers, it calls the Web SDK extension the "standardized and recommended method" to implement Adobe Analytics. AppMeasurement gets a different label: the "historical manual method."
For a new build, deploy the Web SDK through Adobe Experience Platform Tags. Keep AppMeasurement only if you're maintaining an existing implementation and a rebuild isn't on the table yet.
Step 3: Publish a data layer named after the business, not the tool
Your storefront should push product, cart and order data to a data layer that tags can read. On Adobe Commerce, Adobe's own extension requires the Adobe Client Data Layer.
Name the data layer variables after business objects (product, cart, order), not after Analytics variables. Other systems can then read the same data. A later change of analytics tool also won't mean rebuilding the site.
If the site runs on AEM as well as a commerce platform, the data layer has to span both. The AEM Adobe Analytics integration guide covers the content side.
Step 4: Get the products string and purchase ID right
These two variables decide whether your revenue number holds up. Most of the troubleshooting table at the end of this guide comes back to them.
The products variable
The products variable carries the item-level detail. Adobe's syntax is 6 semicolon-separated fields: category, product name, quantity, price, events and eVars. Commas separate multiple products.
A purchase of 2 items might look like this:
s.products = "Footwear;SKU-1042;1;89.00,;SKU-2210;2;30.00";
Three rules prevent most data quality problems. Strip semicolons, commas and pipes from product names and categories, because they break the parse. Send price as the line total with no currency symbol, and remember it only counts on the purchase event. Never send products without events: Adobe counts that hit as a Product View, which is how product views quietly double.
The whole string can run to 64k bytes, so large carts are fine. Units and revenue are calculated from the quantity and price fields at purchase.
With the Web SDK, the same detail travels as XDM. Adobe's field mapping reference shows productListItems[] carrying SKU, quantity and price total, while commerce.order.purchaseID holds the purchase ID. Stick to those standard paths and, in Adobe's words, "no additional configuration is necessary to send data to Adobe Analytics."
Purchase ID
The purchaseID variable deduplicates orders. When a shopper refreshes the confirmation page, the second hit with the same ID is left out of conversion reporting.
Set it from the real order number. Adobe stores a maximum of 20 bytes and truncates anything longer, so two IDs that match after truncation get deduplicated too. Purchase IDs also apply to all visitors for 37 months. Never reuse an order number format across stores that share a report suite.
Merchandising eVars
Merchandising eVars answer "what led to this sale?" at the product level. They bind a value, such as an internal search term or a category browse path, to each product in the cart. Success events for that product are then credited to the bound value.
Adobe documents two syntaxes. Product syntax sets the value inside the products string when you know it at that moment. Conversion variable syntax sets the eVar earlier, then binds it on a binding event such as a product view. Internal search is the classic case for the second.
Picture a shopper who searches "trail shoes" and then buys socks. Without merchandising eVars, that search term gets credit for the whole cart. With them, each product carries its own path to purchase.
Step 5: Create the schema and datastream
The XDM mapping lives in a datastream. Adobe's Analytics and Commerce integration tutorial sets out the order:
- Create an XDM schema with the "Adobe Analytics ExperienceEvent Commerce" field group.
- Create a datastream.
- Add the Adobe Analytics service to it and enter your report suite ID.
The tutorial then picks up in Analysis Workspace, which is where step 8 starts.
Step 6: Connect your commerce platform
Adobe Commerce: the Data Connection extension
On Adobe Commerce, you don't hand-code every event. The Data Connection extension, formerly the Experience Platform connector, sends 3 kinds of Adobe Commerce data to Adobe Experience Platform. Storefront events cover browser-side actions such as page views, add-to-cart and checkout steps. Back-office events cover server-side order status changes, such as order placed and order shipped. Profile records and events cover shopper profile creation and lifecycle changes.
It requires Adobe Commerce 2.4.4 or newer, an Adobe organization ID and the Adobe Client Data Layer. From Experience Platform, Adobe says the data flows through the Edge Network to Adobe Analytics, Real-Time CDP, Customer Journey Analytics and Adobe Journey Optimizer.
Teams that already run their own tag setup can take Adobe's Tags-based path with the Commerce Events SDK instead.
Shopify: customer events through a custom pixel
On Shopify, commerce events go out through the Web Pixels API. Shopify's standard events map closely to Adobe's:
product_viewed→prodViewproduct_added_to_cart→scAddproduct_removed_from_cart→scRemovecart_viewed→scViewcheckout_started→scCheckoutcheckout_completed→purchase
Shopify also emits checkout step events, such as payment_info_submitted, which suit custom events.
Plan for upkeep. Shopify's custom pixels page says they load in a sandbox and require JavaScript knowledge, and that adding and using them is unsupported by Shopify. Re-test after every theme or checkout change, not just at launch.
Step 7: Validate against your order totals
Place test orders with 1 item, several items and a coupon. Compare orders, units and revenue in Analytics with the commerce platform for the same day. Then refresh the confirmation page and confirm no second order appears.
After launch, give each system its job. The Adobe Commerce Reports menu is the record for finance: orders, tax, invoices, refunds and coupons. Analytics is the record for shopper behavior. Reconcile the two weekly against a tolerance everyone has agreed in advance.
Timing matters as much as the code. Ship the tracking 4–6 weeks before your peak-season code freeze, because nobody should be debugging a data layer during Black Friday week.
Before go-live, our Adobe Analytics services team can check the products string and purchase ID against a sample of your real orders. Any gap then shows up before the first Monday meeting.
Step 8: Build the Adobe ecommerce reports in Analysis Workspace
Adobe discontinued Reports & Analytics on January 17, 2024, so every report below lives in Analysis Workspace. Once the tracking holds, these six carry most of the value.
| Question | Build this in Workspace | Key metrics |
|---|---|---|
| What sells, and at what volume? | Freeform table: Products by Revenue | Orders, Units, Revenue |
| Where do shoppers drop off? | Fallout visualization: product view → cart → checkout → order | Fallout and fallthrough per step |
| How bad is cart abandonment? | Freeform table with a calculated metric: Orders ÷ Carts | Carts, Checkouts, Orders |
| Which searches drive sales? | Freeform table: internal search term eVar by Revenue | Revenue, Orders |
| Which traffic sources drive revenue? | Freeform table: marketing channel by Revenue | Revenue, conversion rates |
| Why did revenue spike or dip? | Line chart with anomaly detection, then Contribution Analysis | Revenue, Orders |
The Fallout visualization shows where shoppers drop off between touchpoints, and Adobe sets no limit on how many you add. Each step defaults to "eventual path," which counts anyone who reaches the next step later in the visit. Switch to "next hit" for strict, step-after-step checkout flows. Then right-click a step to break down fallout. Seeing what shoppers did instead of continuing usually tells you more than the drop-off rate.
Cart abandonment needs a little assembly. Adobe Analytics gives you Carts, Checkouts and Orders rather than a ready-made abandonment rate. Build a calculated metric such as Orders divided by Carts, then trend it by device and traffic source. Adobe Commerce keeps its own Abandoned Carts report under Marketing, which lists the actual carts. Analytics shows the pattern in user behavior; Commerce shows the carts themselves.
Anomaly detection flags a metric that moves outside its expected range. Adobe says the model accounts for seasonality, including Black Friday, so peak week doesn't bury you in false alarms. Check your package first, though. Select and Foundation customers get daily granularity only and no Contribution Analysis. Prime includes 10 Contribution Analysis tokens a month, and Ultimate includes 20. Read the contract before promising leadership automated root-cause reports.
Optional: send Analytics data to the rest of the Adobe stack
Analytics rarely works alone in an Adobe stack. The Adobe Analytics source connector streams report suite data into Adobe Experience Platform without changing your existing implementation. Adobe says new data reaches Real-Time Customer Profile in under 2 minutes without Analytics for Target. Production sandboxes backfill 13 months of history by default.
That data can enrich Real-Time Customer Profile, giving Adobe Real-Time CDP a unified view of customer data for audiences. It also lets Adobe Journey Optimizer trigger messages from web behavior you already track. Adobe's own example is a cart-add followed by a reminder email when the order never arrives. Adobe has to activate the Analytics data source for this, so put it in the project timeline.
If your personalization already runs on Adobe Target, keeping analytics in the same stack is the simpler choice. The Adobe Commerce personalization guide covers that side.
Troubleshooting: when the numbers still don't match
Start with the symptom you can see in Workspace and work back to the cause.
| Symptom | Likely cause | Fix |
|---|---|---|
| Some orders count twice | purchase fires on page load with no purchase ID, so a refresh adds an order |
Set purchaseID from the real order number |
| Revenue is wrong on multi-quantity lines | Price sent per unit, not per line | Multiply quantity by unit price before sending |
| One product shows up as two | A comma in the name ("Shirt, blue") | Clean names in the data layer |
| Product Views run high | products sent on hits without events |
Always pair products with an event |
| Cart Additions stay at zero | Event code in the wrong case (scadd) |
Use the exact case from Adobe's list |
| Orders from one store go missing | Purchase IDs collide after the 20-byte cut, or repeat across stores in one report suite | Keep IDs unique and under 20 bytes |
| A search term gets credit for the whole cart | Conversion eVar used where a merchandising eVar belongs | Set binding rules in the tracking plan |
| Shopify events stop after a theme update | Custom pixels are unsupported, so changes can break them | Re-test the pixel after every theme or checkout change |
| Advanced Reporting won't run in Adobe Commerce | The store has used more than one base currency | It only works on installs with a single base currency since install |
If the fixes point back at the storefront rather than the tags, our Adobe Commerce and Shopify development teams can rework the data layer at the source. For a replatform or a full tracking rebuild across your ecommerce stack, let's talk through your tracking plan.
FAQ
Is Adobe Analytics better than Google Analytics 4 for ecommerce?
It depends on your stack and scale. GA4's ecommerce events cover the same shopper actions (view_item, add_to_cart, begin_checkout, purchase), with up to 200 items per event and a required transaction_id on purchases. Adobe Analytics adds merchandising eVars for product-level attribution and direct links to Adobe Target, Journey Optimizer and Real-Time CDP. GA4 is often enough for a single storefront whose media budget sits mostly in Google Ads.
Do I still need Adobe Analytics if Adobe Commerce has built-in reports?
For most stores, yes, because they answer different questions. Commerce reports cover what happened to orders: sales, tax, refunds, coupons, abandoned carts, bestsellers and low stock. Commerce also includes Advanced Reporting, powered by Commerce Intelligence, and a full Commerce Intelligence account adds 5 dashboards with about 70 reports. Adobe Analytics covers why it happened: which campaign, search or page path led to the sale.
Should I use Customer Journey Analytics instead of Adobe Analytics?
Consider it if you need online and offline data in one view. Customer Journey Analytics is built on Adobe Experience Platform to combine data from call centers, POS and the web. It drops eVars and props in favor of dimensions and metrics, so a tracking plan written for Adobe Analytics needs rethinking rather than a straight copy.

