Glossary/Analytics & Measurement

Ecommerce Analytics

Ecommerce analytics is the practice of collecting and analyzing an online store’s data (traffic, conversion, orders, products, customers, ad spend and costs) to understand performance and decide what to do next. It turns raw events into metrics such as conversion rate, AOV, CAC, CLV and contribution margin.

Updated 5 min read 5 questions answered
In short
  • Ecommerce analytics turns store data (traffic, carts, orders, refunds, customers, ad spend and costs) into answers about which products, channels and customers make money.
  • Most stores start from one equation: revenue = sessions × conversion rate × average order value. Each factor is then split by channel, device, landing page or product mix.
  • Revenue is not profit. Add product cost, shipping, payment fees and returns, or a campaign can grow revenue and still lose money.
  • Web analytics such as GA4 tracks sessions and events. Ecommerce analytics adds orders, costs and customers over time, and you need both joined together.

Where AmICited fits

AmICited connects to your shop and walks revenue down to profit: product cost, packaging, shipping, payment fees and ad spend give contribution margins CM1, CM2 and CM3. The same workspace tracks how AI assistants mention your brand and products.

See the Economics report
AmICited Economics report: a bridge from revenue through product cost, packaging, shipping and payment fees to CM1, CM2, CM3 and profit in EUR, with contribution margins over time
Revenue to profit for a connected shop, from the AmICited Economics report.

What Is Ecommerce Analytics?

Ecommerce analytics is the work of turning store data into answers. It pulls together traffic, product views, carts, orders, refunds, customers, ad spend and costs, then shows which products, channels and customers make money and which don’t. The goal isn’t more dashboards. It’s better decisions about what to buy, promote, price and stop doing.

Data typically comes from the store platform (Shopify, WooCommerce, BigCommerce, Magento), Google Analytics 4 ecommerce tracking, ad platforms such as Google Ads and Meta Ads, email tools, payment processors and shipping software. Founders, marketers, merchandisers and finance teams all use it, each looking at different slices.

How Ecommerce Analytics Works

Most stores build their analytics on one equation:

Revenue = Sessions × Conversion Rate × Average Order Value

Worked example: 50,000 sessions × 2% conversion rate × $70 average order value = $70,000 in revenue.

The equation shows where growth can come from. Raise conversion to 2.2% and revenue becomes $77,000 without one extra visitor. Raise AOV to $75 and it becomes $75,000. That’s why teams break each factor into its drivers: sessions by channel, conversion by device and landing page, AOV by product mix.

Profit follows a similar chain. Contribution margin per order (revenue minus product cost, shipping, payment fees and returns) times the number of orders, minus marketing spend, tells you what the period actually earned. In the example above, 1,000 orders with $18 of contribution each and $12,000 in ad spend leave $18,000 − $12,000 = $6,000 before fixed costs.

Revenue isn’t profit, though. A good analytics setup takes the next step:

  1. Collect. Track events (views, add to cart, checkout) and pull orders, refunds and costs.
  2. Clean and join. Match orders to sessions and channels, remove test orders, apply refunds and currency conversion.
  3. Measure. Calculate KPIs: conversion, AOV, CAC, repeat rate, return rate, contribution margin.
  4. Segment. Split by channel, product, customer cohort, device and country.
  5. Act. Decide budgets, pricing, buying and site changes, then check the effect.

Ecommerce analytics revenue formula worked example with sessions, conversion rate and AOV

Ecommerce Analytics Metrics by Area

AreaKey metricsQuestion it answers
TrafficSessions, source/medium, new vs returningWhere do visitors come from?
ConversionConversion rate, add-to-cart rate, checkout completion, cart abandonmentWhere do shoppers drop off?
OrdersRevenue, orders, AOV, units per orderHow much are people buying?
CustomersRepeat purchase rate, CLV, cohort retentionDo customers come back?
MarketingCAC, ROAS, MER (revenue ÷ total marketing spend)Is acquisition efficient?
ProductsRevenue and margin by product, sell-through, return rateWhat should we buy and promote?
ProfitGross margin, contribution margin per orderDoes each order make money?
AmICited Sales engine: daily net revenue against profit in EUR, and orders placed per day against orders that earned revenue
Revenue next to profit, and orders placed next to orders that earned money, day by day for a connected shop.

Ecommerce Analytics vs Web Analytics

Web analytics tools like GA4 are built around sessions and events. They tell you which pages people visit and where they came from. Ecommerce analytics adds the commercial layer: orders, refunds, product costs, shipping, ad spend and customers over time. Web analytics can say a campaign drove 300 orders. Ecommerce analytics can say those orders came mostly from one-time discount buyers who returned 20% of items and never ordered again. You need both, joined together.

Types of Ecommerce Analytics

Teams usually describe four levels. Descriptive analytics reports what happened: revenue, orders and conversion last week. Diagnostic analytics explains why: conversion dropped because mobile checkout broke, or AOV fell because a popular bundle went out of stock. Predictive analytics estimates what will happen, such as demand forecasts or which customers are likely to reorder. Prescriptive analytics suggests what to do, for example which products to restock or which campaigns to cut. Most stores get the biggest return from doing the first two well before investing in the last two, since predictions built on messy data inherit its errors.

AI assistants are a new traffic and discovery source that standard analytics handles poorly. Some visits arrive as referrals from chatgpt.com or perplexity.ai. Many don’t: a shopper reads a recommendation in an AI answer, then searches your brand or types your URL. That shows up as branded search or direct traffic, with no trace of the AI step.

AmICited What GA4 says: 20,060 sessions by GA4 default channel group, 81% direct, 11% organic search and 21 sessions from AI assistants
GA4 credits only 21 sessions to AI assistants while 81% shows as direct, which is where most AI-driven visits end up. amicited.com, November 2026.

So treat AI as both a measured channel and a visibility metric. Segment known AI referrers in GA4, and track how engines mention you. AmICited’s AI visibility tracking covers that side, while store-side reports such as Cockpit and Sales Engine show what moved revenue and profit.

Best Practices for Ecommerce Analytics

  • Treat the store platform as the source of truth for orders and revenue, and analytics tools for behavior and sources.
  • Define each KPI once (for example, whether revenue includes tax and shipping) and use the same definition everywhere.
  • Add costs: product cost, shipping, payment fees and returns. Revenue-only dashboards hide losses.
  • Look at cohorts, not just monthly totals, to see whether new customers come back.
  • Set up a separate channel for AI assistant referrers in GA4.
  • Review a short set of KPIs weekly and dig deeper only when one moves.

Common Ecommerce Analytics Mistakes

The biggest mistake is optimizing for revenue or ROAS without margin. A campaign can grow revenue and lose money once discounts, shipping and returns are included. Another is trusting a single attribution view, such as Meta’s in-platform numbers, which tend to credit themselves generously.

Teams also compare numbers across tools without knowing why they differ, then lose trust in all of them. Broken tracking after a theme or checkout change can go unnoticed for weeks. And many stores collect lots of data but never connect it to a decision, so the dashboards look busy and nothing changes.

Frequently asked questions

See What Moved Profit, Not Just Revenue

AmICited's Cockpit shows what moved profit over thirty days in a reconciled waterfall of revenue and known costs, with threshold-triggered next actions.