What Is E-commerce Analytics?
E-commerce analytics is the measurement infrastructure that transforms an online store from a gut-feel operation into a data-driven business.
It encompasses the collection of transactional data (orders, revenue, average order value, product performance), traffic data (sessions, sources, channels), behavioural data (pages viewed, time on site, scroll depth), and customer data (new versus returning, lifetime value, purchase frequency) and combines these into a coherent picture of store performance that guides decisions about marketing spend, product range, pricing and user experience.
The foundation of e-commerce analytics is accurate event tracking. In Google Analytics 4, this means implementing the standard e-commerce event set: view_item (product page viewed), add_to_cart (item added to cart), begin_checkout (checkout started), purchase (order completed), and refund (order refunded).
These events, when correctly configured, provide a complete picture of funnel conversion at each stage, allowing identification of the exact step where most shoppers drop off.
Many South African stores implement GA4 with only the purchase event tracked, which means they can see revenue but cannot diagnose why conversion rate is low or where the funnel leaks.
Attribution analysis is an increasingly important component of e-commerce analytics. Understanding which marketing channels genuinely contribute to purchases, rather than simply appearing in the last click before conversion, requires multi-touch attribution models.
GA4's data-driven attribution model uses machine learning to assign conversion credit across touchpoints, providing a more accurate picture than last-click models that over-credit direct and branded search while under-crediting social media or display touchpoints earlier in the customer journey.
E-commerce Analytics In Practice
A Johannesburg clothing retailer had been running Google Ads and Meta campaigns for 18 months without any analytics setup beyond platform-reported ROAS.
When a full e-commerce analytics implementation was completed, including GA4 e-commerce event tracking, Google Ads conversion import, and Meta Pixel with CAPI, a radically different picture emerged.
GA4 cross-channel attribution showed that Meta campaigns were credited with 35% more conversions by their own platform than GA4 could verify, and that email marketing was generating 22% of revenue with less than 5% of the media spend.
The retailer rebalanced their budget, increasing email investment and reducing Meta spend, which maintained total revenue while reducing total marketing cost by 18%.
Cohort analysis is a powerful e-commerce analytics technique that groups customers by the month they made their first purchase and tracks their subsequent purchasing behaviour over time.
This reveals the true customer lifetime value of different acquisition cohorts and allows comparison of which campaigns or periods attracted the most valuable long-term customers.
Businesses that invest in cohort analysis typically discover that their most valuable customers come from channels they would not have identified as top performers using last-click revenue attribution alone.
What ecommerce analytics is
Ecommerce analytics is the collection, measurement and analysis of data about an online store's performance, tracking how visitors behave, how they move through the buying journey, and how the store converts and generates revenue, so that the business can understand and improve its results. It goes beyond basic website analytics by focusing on the metrics and behaviours specific to selling online: how many visitors arrive and from where, how they browse products, how many add to basket, how many begin and complete checkout, the conversion rate, average order value, revenue, and where shoppers drop off in the funnel, among others. Ecommerce analytics is typically gathered through analytics platforms (such as Google Analytics 4 with ecommerce tracking configured) and the ecommerce platform's own reporting, which capture the shopping and purchase events (product views, add-to-basket, checkout steps, purchases and their values). The purpose is to give the business a clear, data-based understanding of what is working and what is not: which traffic sources bring buyers, which products sell, where in the funnel shoppers are lost (revealing where to improve, such as product pages or checkout), and how changes affect results. Understanding ecommerce analytics matters because running a successful online store depends on knowing how it is actually performing and where the opportunities and problems are, and ecommerce analytics provides that insight, tracking the shopper journey and the store's conversion and revenue, so that decisions about products, marketing, and site improvements are informed by real data rather than guesswork, which is why ecommerce analytics is fundamental to growing an online store effectively.
Key ecommerce metrics and tools
Ecommerce analytics involves tracking a set of key metrics that together reveal how an online store performs and where to improve, using analytics tools configured for ecommerce. The important metrics include: the conversion rate (the proportion of visitors who purchase), a central measure of how effectively the store turns visitors into buyers; revenue and its sources; average order value (the average amount per order), which alongside conversion rate and traffic drives total revenue; the shopping funnel metrics, how many progress from product views to add-to-basket to checkout to purchase, and where shoppers drop off (which pinpoints problem points like a leaky checkout); traffic sources and which bring buyers (showing which marketing channels drive sales, not just visits); product performance (which products sell and which do not); and customer metrics like new versus returning buyers and, over time, customer lifetime value. Rather than any single metric being universally most important, the most useful focus depends on the business's situation and goals, though conversion rate and revenue (and the funnel that drives them) are central for most stores, since they directly reflect how well the store sells; for a store with plenty of traffic but few sales, conversion rate and funnel drop-off are the priority, while for one seeking to grow order values, average order value matters more, so the key metric is the one that addresses your biggest opportunity. On tools: ecommerce analytics is typically gathered through web analytics platforms with ecommerce tracking, most commonly Google Analytics 4 (GA4) configured for ecommerce, which tracks the shopping and purchase events and provides ecommerce reports, alongside the ecommerce platform's own built-in analytics and reporting (which most platforms like the major online-store systems provide), and sometimes additional specialised analytics or dashboard tools. For a South African business running an online store, ecommerce analytics means setting up proper ecommerce tracking (typically GA4 with ecommerce configured, plus the store platform's reporting) to capture the shopper journey and sales, and then focusing on the key metrics, conversion rate, revenue, average order value, funnel drop-off, and which channels and products perform, to understand how the store is doing and where to improve, whether that is fixing a leaky checkout, improving product pages, focusing marketing on the channels that bring buyers, or raising order values. Because informed decisions depend on knowing how the store actually performs, setting up ecommerce analytics and focusing on the metrics that reveal the biggest opportunities is fundamental to growing an online store, which is why ecommerce analytics is a core capability for any serious ecommerce business.
FAQ
What is the most important e-commerce metric to track?
Revenue and conversion rate are the two most important e-commerce metrics because they measure outcomes, not activity. Revenue confirms whether the business is growing, while conversion rate measures how efficiently traffic is being monetised.
Supporting metrics like average order value, return rate and customer acquisition cost provide context, but decisions should always be anchored in their effect on revenue and conversion rate rather than proxy metrics like sessions or impressions.
What tools are used for e-commerce analytics?
Google Analytics 4 with e-commerce event tracking is the standard foundation for most stores. It is free, integrates with Google Ads and Google Merchant Center, and tracks the full purchase funnel from first session to transaction.
Additional tools include Hotjar or Microsoft Clarity for session recording and heatmaps, and Looker Studio for combining data from multiple sources into a single dashboard. Shopify, WooCommerce and other platforms also provide native analytics dashboards as a starting point.