Ecommerce Analytics: The Complete Guide for Online Stores in 2026

What ecommerce analytics actually means, the metrics that drive growth, how to set up GA4 for ecommerce, and how to turn data into revenue.

Running an online store without analytics is like driving with the windscreen blacked out. You can feel the engine, you can hear the wheels, but you have no idea whether you're heading toward the cliff or the highway. Ecommerce analytics is the windscreen — and in 2026 it's no longer optional, regardless of whether you do €10,000 a month on Shopify or €10 million on a custom platform.

This guide is the complete picture: what ecommerce analytics covers, the metrics that actually predict growth, how to set up GA4 properly for an online store, the integrations that matter, and how to act on the data without turning into a full-time analyst.

What is ecommerce analytics?

Ecommerce analytics is the practice of collecting and interpreting the data generated by your online store across three layers: how visitors find you, how they behave on the site, and what happens after they buy. It sits at the intersection of web analytics (GA4), product analytics (heatmaps, session recordings), advertising analytics (Meta, Google Ads, TikTok) and business analytics (revenue, margin, cohort retention).

The reason it's treated as its own category — separate from generic web analytics — is that ecommerce has unique events (add-to-cart, checkout, purchase, refund) and unique metrics (AOV, CAC, LTV, repeat rate) that don't apply to content sites or SaaS.

Why ecommerce analytics matters more in 2026

Three shifts have made analytics the single highest-leverage skill in ecommerce today.

First, paid acquisition costs have doubled in five years. Meta CPMs in Europe rose 89% between 2021 and 2025; Google Shopping CPCs in competitive categories are up 60%. Margins that used to absorb sloppy attribution now don't. Knowing which channel actually drove the sale — not just which one got the last click — directly determines whether you're profitable.

Second, iOS 14, GDPR consent banners and the death of third-party cookies broke the simple tracking setups stores relied on. Your Meta pixel sees 30-50% fewer conversions than it did in 2019. Without server-side tracking, conversion APIs and modeled conversions, you're optimizing your ad spend on a fraction of reality.

Third, AI made it cheap to actually read your data daily. The bottleneck used to be analyst time; now the bottleneck is willingness to act on what the data says. Stores that look at their numbers every week outperform stores that look at them monthly by a wide margin.

The ten core ecommerce metrics

Every ecommerce dashboard ultimately reduces to ten numbers. If you can recite these for last week and last month, you understand your business.

1. Revenue

Gross sales for the period. The basic outcome metric. Tracked daily, compared week-over-week and year-over-year. Always include both: weekly comparisons catch operational issues, yearly comparisons control for seasonality.

2. Orders

Number of completed transactions. Separates a 'revenue up because price increase' month from a 'revenue up because more customers' month — very different stories with very different implications.

3. Average Order Value (AOV)

Revenue ÷ orders. The lever that everyone ignores. Increasing AOV by 10% with bundles or upsells often produces more profit than increasing traffic by 10%, because you don't pay acquisition costs twice. Set AOV targets per category — comparing the AOV of accessories vs main products on the same dashboard is meaningless.

4. Conversion rate

Orders ÷ sessions. The health metric of the store itself. Industry baseline: 1.5-2.5% for general ecommerce, 3-5% for category leaders, 0.5-1.5% for considered purchases (furniture, B2B). Segment by device: mobile CVR is typically 40% lower than desktop, and falling mobile CVR is the most common silent revenue killer.

5. Sessions and source mix

Total sessions plus breakdown by acquisition channel. Watch for over-reliance on a single channel. A store with 70% of revenue from one paid campaign is fragile; one with 30% organic, 30% paid, 20% email and 20% direct is resilient.

6. Customer Acquisition Cost (CAC)

Marketing spend ÷ new customers. Compute it weekly with a blended view (all spend, all new customers) and channel-level (per channel). Blended CAC is what your P&L cares about. Channel-level CAC tells you where to scale or cut.

7. ROAS

Revenue from ads ÷ ad spend. The ad efficiency metric. Important caveat: in-platform ROAS (what Meta or Google reports) is now systematically inflated because of attribution loosening. Trust your GA4 or server-side attribution, not the ad platform dashboard.

8. Customer Lifetime Value (LTV)

Average revenue per customer over a defined window — typically 12 or 24 months. The metric that justifies your CAC. A €60 CAC is a disaster for a product nobody rebuys; the same CAC is excellent if customers spend €400 over two years. Calculate LTV by acquisition channel — paid social often acquires customers with much lower LTV than organic, even at the same CAC.

9. Repeat purchase rate

Percentage of customers who order more than once within a defined window. The single best predictor of long-term store health. A store with 35% repeat rate has structurally lower CAC than a store at 12% because every cohort compounds.

10. Contribution margin

Revenue minus COGS minus marketing minus payment fees minus shipping costs, expressed as a percentage. The number that decides whether you're building a business or a hobby. Most stores look only at gross margin and discover too late that paid acquisition ate everything.

Setting up GA4 for ecommerce

GA4 ecommerce tracking is the foundation. Get this wrong and every metric above will lie to you. The minimum viable setup requires four event types fired correctly with the right parameters.

  1. view_item — fired when a product page loads. Parameters: item_id, item_name, item_category, price, currency.
  2. add_to_cart — fired on cart addition. Same parameters plus quantity.
  3. begin_checkout — fired when the user enters checkout. Items array plus total value.
  4. purchase — fired exactly once on order completion. Parameters: transaction_id (must be unique to prevent double-counting), value, currency, tax, shipping, items array, coupon.

If you're on Shopify, install the official Google & YouTube channel app and confirm in GA4 DebugView that purchase events fire once per real order. If you're on a custom or headless stack, fire events server-side via the Measurement Protocol to avoid losing data to ad blockers and consent rejection.

The single most common GA4 ecommerce bug is double-fired purchase events on the thank-you page (page reloads, single-page-app navigation). It silently doubles your reported revenue. Test with DebugView before trusting any number.

Integrations that multiply your data

GA4 alone is a starting point, not the full picture. Four integrations dramatically increase what you can answer.

Ad platforms (Meta, Google Ads, TikTok)

Connect your ad accounts to GA4 to pull spend data automatically — this is what makes ROAS and CAC views possible without manual data entry. For Meta, also configure the Conversions API server-side to recover the 30-50% of conversions iOS 14 hides from the pixel.

Your ecommerce platform

Shopify, WooCommerce, BigCommerce all expose order data via API. Pulling actual order data (not just GA4 events) gives you real revenue including refunds, real margin if you've uploaded COGS, and customer-level history that GA4 doesn't store.

Email and SMS platforms (Klaviyo, Mailchimp)

Email is typically the highest-ROAS channel by a wide margin. UTM-tag every email and SMS link so its contribution lands in GA4, then cross-reference with Klaviyo's flow-level revenue to confirm.

Server-side tracking or attribution tools

Once you're spending more than €5,000/month on paid acquisition, the data loss from client-side tracking starts costing real money. Server-side GTM, Stape, or dedicated attribution tools (Triple Whale, Northbeam) become worth the setup cost.

Funnel analysis: where revenue leaks

The single most valuable analysis in ecommerce is the conversion funnel: what percentage of users move from each step to the next. A typical ecommerce funnel looks like this.

  • 100 sessions → 35 view a product page (35% view-product rate)
  • 35 product views → 8 add to cart (23% add-to-cart rate)
  • 8 add-to-cart → 4 begin checkout (50% checkout-start rate)
  • 4 begin checkout → 2 complete purchase (50% checkout-completion rate)
  • Overall: 2 purchases per 100 sessions = 2% CVR

When CVR drops, the funnel tells you where to look. Add-to-cart rate falling = product page or pricing issue. Checkout start rate falling = friction in cart (shipping cost shock, no guest checkout). Checkout completion falling = payment method issues, error, slow page. Without the funnel breakdown you'd guess; with it you investigate the right step.

Cohort retention: the metric that predicts the future

Group customers by the month of their first order. Track what percentage of each cohort orders again at month 1, month 3, month 6, month 12. This single chart predicts your LTV more accurately than any other measurement and tells you whether your product, pricing and retention work.

A healthy cohort curve flattens — most stores lose 80% of customers in the first 3 months, then retention stabilizes at 10-20% of the original cohort still buying a year later. If your curve drops to near zero by month 6, your business is structurally a hamster wheel of acquiring new customers.

From data to decision: the weekly review

Data has no value until it changes what you do. A weekly ecommerce review that takes 20 minutes and consistently produces decisions is worth more than a 200-tab dashboard nobody opens.

  1. Open the dashboard. Note any of the 10 core metrics that moved more than 15% vs last week.
  2. For each, ask: is this seasonality, is this an anomaly, or is this a trend?
  3. Open the funnel for the same period. Identify the single step that moved most.
  4. Open the channel mix. Identify the channel responsible for most of the change.
  5. Pick ONE action for the week: a creative test, a checkout fix, a campaign budget shift, a price test.
  6. Document the hypothesis. Re-check next week.

The discipline matters more than the tooling. A store that does this religiously with a free Looker Studio dashboard will outperform a store with the most expensive analytics stack and no review cadence.

How AI is changing ecommerce analytics

Until recently, ecommerce analytics required either an in-house analyst or an agency retainer of €1,500-€5,000/month. AI is collapsing that cost structure. Tools like Metriko, Triple Whale's AI features, and Daasity's Sage read GA4, Shopify and ad data automatically, surface what changed, explain why, and recommend the action — without you opening a dashboard.

The shift for owners is psychological more than technical: you stop being someone who 'should look at the numbers more' and become someone who responds to a daily plain-English brief. The numbers still drive the business; you just stop being the bottleneck for reading them.

Metriko was built specifically for this: connect your Google Analytics to your store, get a daily plain-English brief on revenue, CVR, channel performance and anomalies, and ask follow-up questions in chat.

Where to start this week

If you're starting from zero, do these three things in this order. One, audit your GA4 ecommerce events with DebugView and fix any duplicate purchase events — this alone often changes your reported revenue by 20-40%. Two, build the 10-core-metrics dashboard in Looker Studio (or connect Metriko). Three, schedule a recurring 20-minute weekly review on Monday morning and commit to it for 8 weeks before judging the value.

Most stores that adopt this discipline see a 15-30% revenue improvement within a quarter, not from new traffic but from plugging leaks, killing inefficient ad spend and improving the conversion funnel one step at a time.

Keep reading

Want to go deeper? These related guides build on what you just read: [ecommerce KPIs explained](/guides/ecommerce-kpis-explained), [how to increase ecommerce conversions](/guides/improve-ecommerce-conversion-rate), [where your customers come from](/guides/where-do-customers-come-from), [how to measure marketing ROI](/guides/how-to-measure-marketing-roi).

FAQ

What's the difference between ecommerce analytics and web analytics?

Web analytics covers any website (content, SaaS, lead-gen). Ecommerce analytics is a specialized subset focused on stores: it tracks purchase-specific events (add-to-cart, checkout, purchase, refund), uses store-specific metrics (AOV, LTV, repeat rate) and integrates with order and inventory data, not just page views.

Do I need ecommerce analytics if I'm small?

Yes — even more than larger stores. Smaller margins for error mean you can't afford to waste ad spend on the wrong channel or ignore a broken checkout step for a month. The minimum viable setup (GA4 + correct purchase events + a weekly review) takes one day to implement and saves a multiple of that within the first month.

How accurate is GA4 ecommerce data?

With correct setup and consent rates around 80%, GA4 typically reports within 5-10% of actual store revenue. Without server-side tracking, expect 15-30% under-reporting due to ad blockers, iOS privacy and consent rejections. Always reconcile against your store's actual order data monthly.

Should I use Shopify's built-in analytics or GA4?

Use both. Shopify's analytics is more accurate for revenue (it sees every order) but weak on traffic source attribution. GA4 is the opposite. Sophisticated stores connect both to a single dashboard or AI tool that reconciles them.

What's a good conversion rate for ecommerce?

Industry benchmarks vary by category, but 1.5-2.5% is typical for general ecommerce, 3-5% for category-leading brands, and 0.5-1.5% for high-consideration purchases like furniture or B2B. Your own historical baseline matters more than any benchmark — improvements vs your own past are the real signal.