Profit

Product analytics for ecommerce: which products pay off

Ecommerce product analytics: the metrics per product that matter, what Shopify and GA4 reports show and miss, and a worked example from sales to profit.

·8 min read·By the ROASaurus team

Key takeaways
  • Product analytics measures how each product sells, converts, gets returned and earns, so you know what to promote, fix, restock or drop.
  • Your best seller by revenue is often not your most profitable product once refunds, shipping, fees and ad spend are counted.
  • Shopify reports show sales, returns and inventory per product; GA4 adds views, carts and funnels; neither shows ad spend and profit per product.
  • Group products with an ABC analysis and give each group its own job: A items stay in stock and in ads, C items get a decision.
  • Read conversion, returns and profit side by side: a product with traffic and no sales needs a different fix than one that sells at a loss.

Ecommerce product analytics is the practice of measuring each product on its own: how many people look at it, how many add it to the cart and buy, how often it comes back as a return, and how much it earns after costs. The goal is simple. You want to know which products to push, which to fix and which to stop selling.

This guide covers the metrics that matter per product, why revenue alone misleads, what Shopify's reports and Google Analytics 4 can show, where they stop, and how to turn the numbers into decisions, with a worked example.

What is ecommerce product analytics?

Store-level analytics answers "how is the shop doing?". Product analytics answers the same question one product or variant at a time. It joins three kinds of data:

  • Behaviour: product page views, add-to-cart rate, checkout and purchase rate, site searches.
  • Sales: units, revenue, discounts, refunds and returns per product.
  • Money: product cost, shipping, payment fees, and the ad spend that went into selling it.

Each kind lives in a different system. Behaviour sits in your analytics tool, sales in your store, costs in your supplier invoices and ad spend in each ad platform. Most of the work in product analytics is putting them in one table.

Why product analytics matters

You see what works and what does not

A product with plenty of traffic and few sales has a page, price or offer problem. A product with few views but a high buy rate deserves more visibility. Without per-product numbers, both hide in the store average.

Marketing goes to the right products

Ads and promotions should push products that convert and leave a margin. Knowing profit per product lets you build campaigns, bundles and email features around the items that pay for themselves.

You stop spending on losers

Ad money on a product with a high return rate, or a thin margin after shipping, can lose money on every sale. Product analytics shows those leaks before the month closes.

Customers get products they keep

High return rates and low repeat purchases point at products that disappoint. Fixing the description, sizing or quality makes for happier customers and better reviews.

Stock follows demand

Sell-through and days of stock left show what to reorder and what is tying up cash in the warehouse.

Which metrics to track per product

MetricHow to calculate itWhat it tells you
Units soldCount of items sold in the periodDemand, and the base for every per-unit number
Net revenueSales − discounts − refunds, without taxWhat the product really brought in
Refund rateRefunded value ÷ salesQuality, sizing or expectation problems
Gross margin(Net revenue − product cost) ÷ net revenueRoom to pay for shipping, fees and ads
Contribution after adsNet revenue − product cost − shipping − fees − ad spendWhether selling it makes money at all
Product conversion rateOrders with the product ÷ product page viewersHow well the page and price sell
Add-to-cart rateViewers who add to cart ÷ viewersInterest; a drop after the cart points at shipping or checkout
Sell-through rateUnits sold ÷ units available at the startHow fast stock turns into sales
POASProfit before ad spend ÷ ad spendProfit per dollar of ads on this product
Repeat rate by first productShare of customers whose first order held it and who ordered againWhich products start long customer relationships
Ten metrics cover most product decisions. Pick the ones that match the decision you are making.
Contribution per product=net revenue − product cost − shipping − payment fees − ad spend
Net revenue
Sales after discounts and refunds, without VAT or sales tax.
Shipping and fees
Shipping you pay and the payment fees on the orders, split over the products in each order.
Ad spend
Spend on campaigns or ads that sold this product, from your own attribution.

A tote with $8,800 of net revenue, $2,400 product cost, $1,500 shipping and fees and $1,500 ad spend: $3,400 left.

Worked example: the best seller is not the best earner

Here is one month for three products in an example store:

Example dataLinen shirtCanvas toteWool scarf
Revenue$24,000$9,000$7,500
Refunds$1,800 (7.5%)$200 (2.2%)$900 (12%)
Product cost$9,600$2,400$3,000
Shipping and fees$3,200$1,500$1,100
Profit before ads$9,400$4,900$2,500
Ad spend$7,000$1,500$2,800
Profit after ads$2,400$3,400−$300
POAS1.343.270.89
Example store, one month. Profit before ads = revenue − refunds − product cost − shipping and fees.
Revenue vs profit after ads, per product
Linen shirtrevenue $24,000
$2,400
Canvas toterevenue $9,000
$3,400
Wool scarfrevenue $7,500
−$300
Example data. The shirt sells the most, the tote earns the most, the scarf loses money once ads are counted.

The shirt brings in almost three times the tote's revenue but earns less, because it needs much more ad spend. The scarf looks like a decent third product by revenue, yet every sale loses money once its high return rate and ad spend are counted. Three different decisions follow: keep the shirt but tighten its ads, give the tote more budget, and fix or stop advertising the scarf.

Product performance reports in Shopify

Shopify's built-in analytics has reports in several groups that cover products. Which reports you see, and whether you can build custom ones, depends on your Shopify plan and on the version of the analytics in your admin.

Report groupExamplesQuestions it answers
SalesSales by product, by variant, by vendor, by discountTop sellers, how discounts change sales, how variants compare
ProfitProfit by product and by variant SKUGross profit per product, once you enter a cost per item
Orders and returnsProduct orders and returnsWhich products sell a lot but come back a lot
InventorySell-through rate, ABC analysis, days of inventory remainingWhat to reorder, what is overstocked, which items carry revenue
BehaviourCart analysis, searches with no results or clicksWhat people add together, what they look for and cannot find
RetailRetail sales by product (Shopify POS)How products sell in physical locations
Report names change between Shopify versions. Open Analytics › Reports and search for the name.

Best practices with Shopify reports

  1. Set the question first

    Decide what you want to change (stock, ads, pricing, the page) and pick the two or three metrics that inform it.

  2. Enter product costs

    Profit by product is only as good as the cost per item on each variant. Products without a cost show a 100% margin.

  3. Run an ABC analysis

    A items bring in most of the revenue: keep them in stock and in your best placements. B items need a push: bundles with A items, promotions. C items get a decision: discount, reposition, use as a gift with purchase, or drop.

  4. Compare like periods

    Look at the same weeks last year for seasonal products, and at equal-length periods around a price or page change.

  5. Read returns next to sales

    A best seller with a rising return rate is a problem in the making. Check the return reasons before you scale it.

Where Shopify reports stop

Shopify reports do well
  • Sales, discounts and returns per product and variant
  • Gross profit once costs are entered
  • Inventory and sell-through
  • Quick answers without any setup
Where they fall short
  • Limited custom metrics and combinations
  • Basic funnel: no detailed path or step analysis per product
  • Few chart and dashboard options
  • No ad spend per product, so no profit after ads or POAS

Using GA4 for product performance

Google Analytics 4 adds the behaviour side. With ecommerce events in place (view_item, add_to_cart, begin_checkout, purchase), GA4 reports item views, carts and purchases per product, and its Explorations let you build a funnel filtered by item_name to see where shoppers drop off for one product. Segments show how a group of visitors (say, people from TikTok) behaves on a product page. GA4 also connects to Google Ads and Search Console. See GA4 on Shopify for the setup.

GA4 has its own limits for product decisions: it does not know your product costs, its revenue can differ from your store's after refunds, and declined consent or ad blockers remove part of the traffic. Use it for behaviour, and your store data for money.

Tools for product analytics

Stores usually combine three kinds of tools. Built-in store reports (Shopify, WooCommerce) for sales, returns and stock. A web analytics tool (GA4 or a privacy-friendly alternative) for views, carts and funnels. And a profit tool that joins orders, product costs, shipping, fees and ad spend, so profit per product includes what it cost to sell it. A spreadsheet can do the last part for a handful of products, but it breaks once you have many variants or daily ad changes.

Product analytics in ROASaurus

The ROASaurus Mac app showing Profit › Products: the POAS of every product with its trend, by product or by variant. Fictional demo store, simulated data.
The ROASaurus iPhone app showing Profit › Products: the POAS of every product with its trend, by product or by variant. Fictional demo store, simulated data.
Profit › Products in the public demo (ROASaurus Demo Store, a fictional store): every product from revenue to profit after ads and POAS.

Profit › Products lists each product or variant with units, revenue, refunds, COGS, gross profit, shipping and fees, net profit (CM2), net margin, refund rate, ad spend, profit after ads (CM3) and POAS. You can sort by any column and export a CSV. Product costs come from Shopify's cost per item or from Settings › Costs › Product costs, with effective dates.

Next to it, Product conversion shows viewers, cart rate, buy rate and revenue per viewer per product (it needs the tracking script), and Profit › Inventory shows stock value, sell-through, dead stock and what to reorder on Shopify. Under Customers › Buying behaviour, the product journey shows what customers buy next after a first product, and LTV drivers show lifetime value by first product.

Next step

Sources

  1. Shopify Help Center: Shopify reports
  2. Shopify Help Center: Product cost
  3. Google Analytics Help: Ecommerce purchases report
  4. Google for Developers: Measure ecommerce (GA4)

In ROASaurus

Keep reading

ProfitAttribution or profit: which number should run the business?Why ROAS and multi-touch attribution can mislead a store, a worked example where 4x ROAS leaves little profit, and the profit metrics to run on instead.ProfitBlack Friday discount and coupon ideas, checked on marginTen Black Friday discount and coupon code ideas, what each one costs in margin, how to combine codes on Shopify and how to see which codes made money.ProfitContribution margin vs gross margin: the differenceGross margin subtracts product costs; contribution margin subtracts every variable cost, ads included. Formulas, a worked product and when to use each.

FAQ

Questions, answered

More answers in the FAQ and the help center.

What is ecommerce product analytics?

It is measuring each product on its own: views, add-to-cart and buy rates, units, revenue, returns and profit after costs and ad spend, so you know which products to promote, fix, restock or drop.

What metrics should I track per product?

Start with units sold, net revenue, refund rate, gross margin, contribution after ads, product conversion rate and sell-through. Add POAS if you advertise products directly.

How can I find my best-selling products on Shopify?

Open the sales by product report in Shopify Analytics and sort by units or net sales for the period. Then check profit by product, because the top seller by revenue is often not the top earner.

Can Shopify show profit per product?

Yes, its profit reports show gross profit per product and variant once you enter a cost per item. They do not include shipping, payment fees or ad spend per product.

Is Shopify Analytics or GA4 better for product analysis?

They do different jobs. Shopify reports are best for sales, returns and stock; GA4 is better for behaviour such as views, carts and product funnels. Neither shows ad spend per product.

What is an ABC analysis?

It groups products by their share of revenue: A items bring in most of it, B items a middle share, C items little. Each group gets its own stock and marketing approach.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.