By Gaurav Kapoor, Founder, Brand Scaling · Updated
Direct Answer: Ecommerce analytics is the practice of measuring how people find, use and buy from your online store, then using that data to make decisions. The metrics that matter most are revenue, conversion rate, average order value, customer acquisition cost, MER and contribution margin. Start with Shopify's reports and add other tools only when needed.
Ecommerce analytics: The collection and analysis of store, marketing and customer data (sessions, orders, ad spend, repeat purchases) to understand what drives profitable sales and what to change next.
Ecommerce analytics answers three questions: where your buyers come from, what they do on the store, and whether each sale makes money. Most stores have far more data than they use. The goal is not more dashboards. It is a short list of numbers you trust, checked on a fixed schedule, with a clear action attached to each one.
The stakes are real for any brand that buys traffic. If you judge ads only on the ROAS the ad platform reports, you can scale campaigns that lose money or cut ones that work. If you do not know your contribution margin per order, you cannot set a sane cost per acquisition target. Good analytics turns "the ads feel expensive" into "our blended CAC rose 18% while AOV stayed flat, so the problem is the offer, not the audience."
These are the metrics we review for every DTC client. Each has a simple formula, so you can rebuild it from raw numbers instead of trusting one tool's version.
| Metric | Formula | What it tells you |
|---|---|---|
| Revenue | Total sales in the period (state whether net of refunds) | Top-line growth |
| Conversion rate | Orders divided by sessions | How well the store turns visits into buyers |
| Average order value (AOV) | Revenue divided by orders | Basket size, and the effect of bundles and upsells |
| MER | Total revenue divided by total ad spend | Overall paid media efficiency, across all channels |
| Blended CAC | Total ad spend divided by new customers | What a new customer really costs |
| Contribution margin | Revenue minus product cost, shipping, fees and ad spend | Whether growth is profitable |
| Repeat purchase rate | Customers with 2+ orders divided by all customers | Retention and LTV potential |
| Refund rate | Refunded orders divided by all orders | Product, fit or expectation problems |
Every ad platform counts conversions with its own attribution rules, so their totals overlap and rarely match your store. MER, which is the same idea as blended ROAS, uses your real revenue and your real total spend. It cannot tell you which ad worked, but it tells you if the whole system is working. Use platform data to compare ads with each other, and MER to decide whether to spend more.
Shopify's help center, checked on 1 December 2026, explains several rules that change how you should read your numbers.
Sessions and visitors are based on cookies, one for the device and one for the session. A session ends after 30 minutes of inactivity, so one visitor can create several sessions. Acquisition reports show visitors only, not converted sales, and cover the Online Store sales channel only. Historical data for session-based metrics, including online store conversion rate, goes back only to October 1, 2022.
Shopify groups traffic by marketing channel dimensions, such as the ad product or tool a session is credited to (for example Google Ads, Meta Ads or Klaviyo), the platform, the referring site, the channel type (social, search, email) and the traffic category (direct, organic or paid). You can also filter human and bot traffic. Shopify notes a session measurement rollout from September 21 to 23, 2026, and says to treat it as a measurement change when you compare sessions and conversion rate across those dates. Its marketing pages also show sessions, conversion rate and AOV in a marketing summary, with different attribution models to compare.
Most stores need two or three tools, each used for what it is good at. The mistake is expecting any one of them to be the single source of truth for every question.
| Tool type | Best for | Watch out for |
|---|---|---|
| Shopify analytics and reports | Orders, revenue, AOV, products, customers, store conversion rate | Sessions are cookie based and channel credit is not ad-level |
| Google Analytics | On-site behavior, landing pages, funnels and content | Totals rarely match Shopify; needs careful setup |
| Ad platforms (Meta, Google, TikTok, Pinterest) | Comparing ads, audiences and creatives inside one platform | Each claims credit with its own rules, so totals overlap |
| Attribution tools | Credit across channels for brands with large, multi-channel spend | Monthly cost and setup time; models still disagree |
| A simple spreadsheet | MER, CAC and contribution margin by week | Only as good as the inputs you update |
Usually not below a few hundred thousand dollars a month in spend across several channels. Until then, store data, platform data and a weekly MER sheet answer most questions. When you do look, read a neutral review such as our Northbeam review and check pricing on the vendor's own site.
A short weekly review beats a long monthly one. This is the order we use with clients, and it takes under an hour once the sheet is set up.
The same errors come up in almost every account audit we run.
A new store doing its first few hundred orders needs Shopify's reports, a clean pixel setup and a weekly sheet. That is enough.
Brands spending heavily across several channels, selling on more than one storefront, or running subscriptions need more: cohort views of repeat purchase, contribution margin by channel, and often a dedicated attribution tool. If your conversion rate is the weak point, an ecommerce CRO agency can turn the analytics into tests. If paid acquisition is the weak point, a DTC marketing agency that reports on MER and contribution margin, not just platform ROAS, will give you a truer picture.
There is no single one, but contribution margin is the closest. It shows whether sales make money after product cost, shipping, fees and ad spend. Revenue can grow while contribution margin shrinks. Track it with MER, blended CAC and AOV each week, so you can see which lever moved when profit changes.
They count differently. Shopify bases sessions on its own cookies and ends a session after 30 minutes of inactivity, while Google Analytics uses its own tracking, consent handling and rules. Ad blockers, consent choices and bot filtering also differ. Use Shopify for orders and revenue, and use Google Analytics for on-site behavior and trends.
It depends on price point, traffic source, device mix and category, so compare your store with itself over time rather than with a generic average. Paid social traffic usually converts lower than email or returning visitors. Check conversion rate by channel and device. Our conversion rate calculator helps you compare periods quickly.
Divide total revenue for a period by total ad spend across every paid channel for the same period. If you made $100,000 and spent $25,000 on ads, MER is 4. MER is the same idea as blended ROAS. It does not tell you which ad worked, but it shows whether paid media as a whole is efficient.
Check orders and ad spend daily for obvious faults, such as a broken checkout or tracking. Make decisions weekly, comparing at least seven days with the seven before and the same period last year. Review cohorts, retention and contribution margin monthly. Reacting to single days leads to changing things that were working.
Not at first. A founder or marketer can run a weekly review with Shopify reports, ad platform data and a simple spreadsheet. An analyst or agency becomes useful when you run several channels and storefronts, when data sources disagree badly, or when you need cohort and margin analysis that the built-in reports do not provide.
Browse all ecommerce playbooks | Meta ads agency | Explore 150+ verified case studies | Free ROAS calculator