Ecommerce Analytics and Measurement: Tracking, KPIs, Funnels, Cohorts, Attribution, Incrementality, Segmentation and Forecasting

By Alexander Wassberg-Demetriou, SEO Specialist/Content Writer16 min readUpdated November 23, 2026

On this page
  1. What Is Ecommerce Analytics and Measurement?
    1. How Do You Measure Ecommerce Success?
  2. What Is Ecommerce Analytics?
    1. What Can Ecommerce Analytics Measure?
    2. How Does Ecommerce Tracking Work in Google Analytics 4?
    3. What Are Ecommerce Analytics Tools?
    4. What Do Ecommerce Analytics Services Include?
  3. What Are Ecommerce KPIs?
    1. Which KPIs Measure Ecommerce Performance?
    2. Why Do Ecommerce Analytics Reports Show Different Revenue?
  4. What Is Ecommerce Funnel Analysis?
    1. What Are the Stages of an Ecommerce Conversion Funnel?
  5. What Is Ecommerce Cohort Analysis?
    1. What Does an Ecommerce Cohort Report Show?
  6. What Is Ecommerce Attribution?
    1. Which Attribution Models Does Google Analytics 4 Use?
  7. What Is Incrementality Testing?
    1. How Do Treatment and Control Groups Measure Incremental Conversions?
    2. How Does Incrementality Testing Differ From Attribution?
  8. What Is Ecommerce Customer Segmentation?
    1. Which Attributes Define Ecommerce Customer Segments?
  9. What Is Ecommerce Forecasting?
    1. How Does Predictive Analytics Forecast Ecommerce Sales?
    2. How Accurate Are Ecommerce Forecasts?
  10. How Do Ecommerce Analytics and Measurement Work Together?

Ecommerce analytics and measurement is the practice of using store data to find what limits growth. Tracking collects that data, and key performance indicators (KPIs) show performance against targets. Funnel, cohort, and segmentation analysis then identify where shoppers and customers drop off.

Attribution and incrementality testing determine which marketing gets credit and which drives sales. Forecasting projects revenue, orders and demand for the coming months. Together, these methods answer what happened, what caused it and what comes next.

What Is Ecommerce Analytics and Measurement?

Ecommerce analytics and measurement is the practice of tracking an online store's data, reporting it against KPIs and analysing it to find where growth stops. Every visit, order and repeat purchase in ecommerce generates that data.

Measurement then locates the bottleneck inside the Ecommerce Engine. The Engine has three sections: Traffic, Website & Branding Performance and Customer Retention. A bottleneck is the weakest section, which limits growth across the other two. Engine health is the combined performance of all three sections, read through KPIs. Each section produces its own data, so each section needs its own measures. For example, a falling repeat purchase rate points to Customer Retention.

How Do You Measure Ecommerce Success?

An ecommerce business measures success by tracking store data, comparing KPIs against targets and testing which activity caused each result.

Ecommerce measurement covers those three steps through eight methods, each answering one question:

MethodQuestion it answersEngine section
Ecommerce analyticsWhat happened in the store?All three sections
Ecommerce KPIsIs performance on target?All three sections
Funnel analysisWhere do shoppers drop out before buying?Website & Branding Performance
Cohort analysisDo customers from each month keep buying?Customer Retention
AttributionWhich channels receive credit for sales?Traffic
Incrementality testingWhich marketing caused extra sales?Traffic
Customer segmentationWhich customer groups drive revenue?Customer Retention
ForecastingWhat revenue should the store expect next?All three sections

Ecommerce KPIs flag when revenue, sessions or conversion rate moves away from target. For example, flat revenue alongside rising sessions points to a conversion problem. Funnel analysis then shows which stage of the shopping journey loses the extra visitors.

What Is Ecommerce Analytics?

Ecommerce analytics collects and analyses an online store's traffic, product, customer, and sales data to explain its performance. Ecommerce analytics turns that raw data into decisions about where to act. Ecommerce web analytics covers the website itself, from landing page to checkout.

The work has three parts: tracking, reporting tools and analysis. Tracking collects each visit and order, and tools turn those records into reports. Analysis then reads those reports to find the cause of each change. Ecommerce analytics therefore explains results, while KPIs flag changes.

What Can Ecommerce Analytics Measure?

Ecommerce analytics measures four areas: revenue, new and returning customers, channel performance and product performance.

Each of those four areas explains one source of store revenue:

  • Revenue: Ecommerce data analytics tracks orders, average order value (AOV) and item revenue over time.
  • New and returning customers: Customer analytics splits revenue between first orders and repeat orders.
  • Channel performance: Ecommerce marketing analytics compares traffic, conversion and revenue by source.
  • Product performance: Ecommerce product analytics counts views, basket additions and purchases for each product.

According to Google, the [GA4] Ecommerce purchases report, Google Analytics 4 (GA4) builds those product performance metrics from each event's items array. Ecommerce return analytics adds refund data to the same product metrics, showing which products customers return.

How Does Ecommerce Tracking Work in Google Analytics 4?

GA4 tracks ecommerce through recommended events that send product and order data at each step of the shopping journey. Google lists 14 recommended ecommerce events, from view item list to select promotion. For example, add to cart fires when a shopper adds a product to the cart.

Each event includes an items array with the item ID, price, and quantity. Order-level values such as currency, value and coupon sit on the event itself. That split lets Google Analytics e-commerce tracking report on products and whole orders.

GA4's event-and-items structure replaced enhanced e-commerce, the Universal Analytics setup in pre-2023 guides. Google Analytics 4 has replaced Universal Analytics; standard Universal Analytics properties stopped processing data on 1 July 2023. Google Analytics e-commerce tracking therefore now relies solely on GA4 events.

Server-side tracking moves GA4 event collection from the shopper's browser to a company server. According to Google, An introduction to server-side tagging (Google Tag Manager, Google for Developers, 2026), the business controls how a server-side container shapes and routes that data. Each advertising platform then receives only the data the business chooses to send.

What Are Ecommerce Analytics Tools?

Ecommerce analytics tools collect, report, and analyse store data across four groups. The four groups differ in the data source each tool reads:

  • Web analytics: GA4 and Adobe Analytics record visits, events and orders on the website.
  • Ecommerce platform reports: Shopify reports show orders, customers and sales from the store's own records.
  • Dashboard tools: Looker Studio combines GA4, advertising, and store data into a single ecommerce analytics dashboard.
  • Customer analytics: Cohort and recency, frequency, monetary (RFM) reports track repeat buying by customer group.

A store running GA4 and Shopify already covers the first two groups. Ecommerce dashboard and customer analytics tools then combine both sources for review. Each extra ecommerce analytics platform adds cost, so it must answer a new question.

What Do Ecommerce Analytics Services Include?

Ecommerce analytics services include tracking audits, GA4 and server-side setup, KPI reporting and analysis that ties store data to growth decisions.

An ecommerce analytics consultant, specialist or agency delivers that work in four stages:

  • Tracking audit: The specialist verifies that GA4 revenue matches the store's order records.
  • Implementation: The specialist sets up GA4 events and server-side tagging for each step of the shopping process.
  • Reporting: The specialist builds KPI dashboards and reviews them on a fixed schedule.
  • Analysis: The specialist ranks each finding by its expected revenue impact.

Ecommerce data analytics services start with the audit, because inaccurate tracking distorts every report. When comparing analytics consultancies, ask each one for a sample audit.

What Are Ecommerce KPIs?

Ecommerce KPIs are the key performance indicators an online business tracks against targets, covering traffic, conversion, order value, acquisition cost and retention. Each ecommerce KPI links one Engine section to a revenue target. Ecommerce metrics cover every measured number, while KPIs are the metrics tied to targets.

An ecommerce dashboard shows the chosen KPIs together on one screen. The team reviews that ecommerce KPI dashboard weekly or monthly against each target. A missed target then points the team to the relevant Engine section.

Which KPIs Measure Ecommerce Performance?

Six KPIs measure ecommerce performance: conversion rate, average order value, customer acquisition cost, return on ad spend, repeat purchase rate and customer lifetime value. Each of those six KPIs has a formula and one Engine section:

KPIFormulaEngine section
Conversion rateOrders ÷ sessions × 100Website & Branding Performance
Average order value (AOV)Revenue ÷ ordersWebsite & Branding Performance
Customer acquisition cost (CAC)Marketing spend ÷ new customersTraffic
Return on ad spend (ROAS)Attributed revenue ÷ ad spendTraffic
Repeat purchase rateCustomers with two or more orders ÷ all customers × 100Customer Retention
Customer lifetime value (CLV)AOV × purchase frequency × customer lifespanCustomer Retention

For example, a store with £50,000 revenue from 1,000 orders has a £50 AOV. The same store spending £10,000 to win 400 new customers has a £25 CAC. Together, these six ecommerce analytics metrics show which Engine section limits growth.

Why Do Ecommerce Analytics Reports Show Different Revenue?

Ecommerce analytics reports show different revenue because each platform counts tax, shipping, refunds, and channel credit differently. According to Google, the [GA4] Ecommerce purchases report counts only item revenue and excludes tax and shipping. According to Shopify, Customer reports show customer spend, including taxes and shipping charged to the customer, and subtract discounts and refunds.

For example, an order holds two £40 items and £5 shipping. GA4 reports £80 in item revenue for that order. The store platform records an £85 order total, the amount the customer paid, for the same sale.

Attribution models create a second gap, because each tool credits channels differently. Google Ads and Google Analytics ecommerce reports can credit different campaigns to the same sale. Ad blockers and browser privacy settings also stop events from reaching GA4. Store order records therefore act as the revenue reference. GA4 then explains the behaviour and channels behind that revenue.

What is the #1 thing holding back your ecommerce revenue?

Get an instant PDF audit powered by The Ecommerce Engine™ methodology, refined through five years of research and development.

What Is Ecommerce Funnel Analysis?

Ecommerce funnel analysis measures how shoppers move from product view to purchase, and where they drop out. Ecommerce funnel analysis expresses each drop-out point as a percentage of shoppers. By contrast, the Google Analytics ecommerce conversion rate combines every stage into a single figure.

According to Google, [GA4] Funnel exploration analyses and segments shoppers' journeys. Segmenting by device or traffic source shows where each shopper group drops out.

Ecommerce funnel analysis isolates two drop-off points: basket abandonment and checkout abandonment. Basket abandonment happens when shoppers add products but never start checkout. Checkout abandonment happens when shoppers start the checkout steps but never pay. Both rates sit inside the Website & Branding Performance section of the Engine.

What Are the Stages of an Ecommerce Conversion Funnel?

An ecommerce conversion funnel has four stages: product view, add to basket, checkout start and purchase.

According to Google, each of those four stages maps to one GA4 recommended event:

StageGA4 eventStage rate
Product viewview_itemStarting point of the funnel
Add to basketadd_to_cartBasket additions ÷ product viewers
Checkout startbegin_checkoutCheckouts started ÷ basket additions
PurchasepurchasePurchases ÷ checkouts started

Each stage rate divides shoppers at a stage by shoppers at the previous stage. For example, 800 of 10,000 product viewers add to basket, an 8% rate. The stage with the lowest rate marks the bottleneck in the ecommerce funnel. A low add-to-basket rate points to the product page itself. A low purchase rate after checkout start points to the checkout instead.

What Is Ecommerce Cohort Analysis?

Ecommerce cohort analysis groups customers by first-order month and tracks their later purchases. Ecommerce cohort analysis compares newer customers' reorder rate with older customers' rate. According to Shopify, Customer reports group customers by first order date.

An all-customer repeat rate blends old and new customers into one figure. That blended figure hides a decline among recent cohorts behind loyal older customers. Cohort analysis keeps each starting month separate, so the decline becomes visible.

What Does an Ecommerce Cohort Report Show?

An ecommerce cohort report shows each cohort's repeat purchase rate, sales and average order value in the months after its first order. Each row holds one cohort, and each column holds one month since the first order. According to Shopify, the Customer report can project future spend per customer from order history. For example, 150 of January's 1,000 new customers order again by April. That cohort's three-month repeat purchase rate is therefore 15%.

Ecommerce cohort report: repeat purchase rates for the January to April cohorts by month since first order, with January reaching 15% by month 3

Reading down one column compares every cohort at the same customer age. A falling figure down that column shows retention weakening among newer customers. That weakening points to the Customer Retention section of the Engine.

What Is Ecommerce Attribution?

Ecommerce attribution is a measurement method that assigns credit for each sale to the channels and touchpoints a customer used before buying. Ecommerce attribution splits the credit for one sale across every recorded channel. For example, a shopper clicks a Meta ad, then buys through an email link. The attribution model decides how much credit each touchpoint receives.

Marketing attribution applies the same principle across every marketing activity a business runs. Both forms of attribution limit credit to interactions inside an attribution window, a set period before the sale. Interactions outside that window receive no credit for the sale.

Which Attribution Models Does Google Analytics 4 Use?

GA4 uses three attribution models: data-driven, paid and organic last click, and Google paid channels last click. Google is phasing out first-click, linear, time decay, and position-based attribution models, so GA4 no longer offers those four rule-based models. Of the three remaining models, GA4 defaults to data-driven attribution. Each model assigns credit for a key event, such as a tracked conversion like a purchase.

Each model divides that credit by a different rule:

ModelHow it assigns credit
Data-drivenDistributes credit using the property's own key event data
Paid and organic last clickGives all credit to the last non-direct click
Google paid channels last clickGives credit to the last Google Ads click when the path contains one

Each model can assign a different revenue figure to the same campaign. Comparing marketing attribution models shows how far channel credit depends on the rule.

What Is Incrementality Testing?

Incrementality testing is an experiment that measures the extra sales a marketing activity causes by comparing a treatment group with a held-back control group. Incrementality testing separates campaign-driven sales from sales that would happen anyway. The treatment group sees the ads, while the control group sees none. Both groups share the same season, prices and offers during the test. Their sales difference therefore comes from the ads alone.

How Do Treatment and Control Groups Measure Incremental Conversions?

Treatment and control groups measure incremental conversions by subtracting the control group's conversions from the treatment group's, after scaling both to the same size. For example, a treatment group records 1,200 conversions, while the control group records 1,000. The 200 extra conversions are the campaign's incremental conversions, a 20% relative lift.

Incrementality testing: a treatment group with 1,200 conversions against a control group with 1,000, giving 200 incremental conversions and a 20% relative lift

According to Google, About Conversion Lift, Conversion Lift reports those results through four main measures:

  • Incremental conversions: The study counts the extra conversions the ads caused.
  • Relative conversion lift: The study expresses that increase as a percentage of the control result.
  • ncremental conversion value: The study adds up the revenue from those extra conversions.
  • Incremental return on ad spend (iROAS): The study divides incremental conversion value by total ad spend.

Google also reports incremental cost per action (iCPA), which divides spend by incremental conversions. iROAS shows the revenue each £1 of ad spend adds to the business.

How Does Incrementality Testing Differ From Attribution?

Incrementality testing measures the sales marketing caused, while attribution divides credit for the sales that tracking recorded. The two methods differ across five dimensions, from the question each answers to its main use:

DimensionAttributionIncrementality testing
Question answeredWhich touchpoints came before each sale?Which sales did the marketing cause?
MethodAssigns credit by rule or modelCompares treatment and control groups
Data usedTracked clicks and visitsSales from both test groups
OutputCredited revenue per channelIncremental sales per campaign
Main useDay-to-day channel reportingBudget and investment decisions

For example, retargeting ads reach shoppers who already added products to a basket. Attribution can credit those ads with sales shoppers would have made anyway. A lift test shows how many of those sales the retargeting ads actually added.

What Is Ecommerce Customer Segmentation?

Ecommerce customer segmentation divides customers into groups by purchase history, spend, behaviour, or lifecycle stage. Ecommerce customer segmentation lets a business compare the value of each customer group.

For example, a store can compare one-time buyers with customers who have placed five orders. Customer segments show which groups drive revenue and which groups are slipping away. Customer segmentation therefore links store data to decisions in the Customer Retention section.

Which Attributes Define Ecommerce Customer Segments?

Five attributes define ecommerce customer segments: purchase recency, purchase frequency, total spend, predicted spend and lifecycle stage. Each of those five attributes describes one side of a customer's value:

  • Recency: Days since the last order show how engaged the customer remains.
  • Frequency: The number of orders in a period shows the customer's buying rate.
  • Total spend: Lifetime revenue from the customer shows the monetary value of the relationship.
  • Predicted spend: A model estimates how much the customer will spend in future.
  • Lifecycle stage: The stage places each customer as new, active, lapsing or lost.

RFM analysis combines recency, frequency, and monetary value into a single customer score. According to Shopify, Customer Reports sorts customers into 11 groups based on those scores. Those groups range from Champions at the top to Dormant customers at the bottom. Shopify also assigns each customer a predicted spend tier based on expected value.

What Is Ecommerce Forecasting?

Ecommerce forecasting estimates future revenue, orders, and demand using historical sales, seasonal patterns, and planned marketing. Ecommerce forecasting turns past sales data into monthly targets for the next trading year.

Those targets set stock orders, marketing budgets and hiring plans before demand arrives. Ecommerce sales forecasting fixes stock levels for the Black Friday peak in late November. A missed weekly forecast flags demand, pricing or channel changes before that peak arrives.

How Does Predictive Analytics Forecast Ecommerce Sales?

Predictive analytics forecasts ecommerce sales by fitting models to past orders, traffic and seasonal patterns, then projecting them forward under stated assumptions. For example, last November brought a store £120,000 in revenue. A 10% year-on-year growth rate then gives a £132,000 baseline for this November.

Every forecast rests on three assumptions: growth rate, seasonality, and planned marketing spend. Changing one assumption changes the projection, so each assumption needs a written source.

According to Shopify, the cohort analysis report can project future spend per customer from order history. The predicted spend tier then ranks each customer by expected future value. Predictive analytics in ecommerce therefore works at the store and customer levels. Store-level forecasts set revenue targets, while customer-level forecasts guide retention spend.

How Accurate Are Ecommerce Forecasts?

Ecommerce forecasts are most accurate for the weeks immediately ahead and become less accurate as the forecast period lengthens, because demand, prices and channel costs change over time. Forecast accuracy equals one minus the gap between forecast and actual, divided by actual. For example, a £100,000 forecast against £92,000 actual revenue is 91.3% accurate.

Low and high scenarios sit closest for weeks with prices, promotions and ad budgets fixed. A monthly comparison of forecast and actual revenue shows which assumption failed.

How Do Ecommerce Analytics and Measurement Work Together?

Ecommerce analytics and measurement sequence: tracking, KPIs, analysis, testing and forecasting, with forecasting looping back to KPIs

Ecommerce analytics and measurement work together as one sequence: tracking supplies data, KPIs flag a change, analysis locates it, testing explains it, and forecasting sets the next target. Each method answers one part of what limits growth.

Funnel analysis checks website and branding performance, while cohorts and segments check Customer Retention. Attribution and incrementality testing then judge which Traffic channels earn their budget.

Try Us Free for 4 Weeks. Up to $5,000 in Agency Fees, On Us.

Four weeks of agency work on us, with no commitment and no obligation to carry on. For ecommerce brands at $50K+ a month and $10K+ in ad spend.

Start My 4-Week Trial

Next month’s intake closes in00days00hours00minutes00seconds

Alexander Wassberg-Demetriou
Alexander Wassberg-DemetriouSEO Specialist/Content Writer

Works on the content half of search: keyword research, page copy, blog articles and the words that turn a store’s visitors into buyers.

Writes about Technical SEO, Structured data, Site architecture

What is the #1 thing holding back your ecommerce revenue?

Get an instant PDF audit powered by The Ecommerce Engine™ methodology, refined through five years of research and development.

Try Us Free for 4 Weeks. Up to $5,000 in Agency Fees, On Us.

Four weeks of agency work on us, with no commitment and no obligation to carry on. For ecommerce brands at $50K+ a month and $10K+ in ad spend.

Start My 4-Week Trial

Next month’s intake closes in00days00hours00minutes00seconds