- Purchase revenue is the sum of the value parameter of your purchase events, minus refunds.
- Item revenue is price × quantity of the items in those events, minus item refunds; it never includes tax or shipping.
- Total revenue is purchase revenue plus subscription and ad revenue, minus refunds; for most webshops it equals purchase revenue.
- The two differ whenever the value parameter and the items array disagree: shipping or tax in value, order-level discounts, or items missing from the event.
- Use purchase revenue for channels and campaigns, item revenue for products, and check both against your store's orders.
In GA4, purchase revenue is the sum of the value parameter of your purchase events, minus refunded revenue. Item revenue is the price times the quantity of each product in the items array of those events, minus refunded items, and never includes tax or shipping. Total revenue adds subscription and ad revenue to purchase revenue, minus refunds. The three come from different parts of the same events, so they only match when your tagging sends consistent numbers.
This guide explains each metric, shows with one order why they drift apart, and tells you which one to use for which question.
Item revenue in GA4
- price
- The price parameter of each item in the items array. Google asks for the discounted unit price when a discount applies to the item.
- quantity
- The quantity parameter of each item; 1 when it is missing.
- Not included
- Tax and shipping, which are sent at event level, not item level.
Item revenue is the product view of your sales. The Ecommerce purchases report shows it per item name, item ID, brand or category, next to items viewed, added to cart and purchased. Use it to find the products that bring in the most money, compare categories, or see what a promotion did to one product line.
GA4 also has gross item revenue, the same figure without subtracting refunds, and item refund amount, the refunded part on its own.
Purchase revenue in GA4
- value
- The value parameter of each purchase event. Google says to set it to the sum of price × quantity of the items, without shipping or tax.
- Refunded revenue
- The value of refund events sent for those transactions.
Purchase revenue is the transaction view. It follows the order, not the products, which makes it the metric for traffic sources, campaigns, landing pages and devices. Gross purchase revenue is the same sum before refunds. Google notes that both metrics also count app purchases and app store subscription events, which a webshop without an app does not send.
Total revenue in GA4
Total revenue is the widest metric: purchase revenue, plus subscription revenue from app stores, plus ad revenue from AdMob, Ad Manager or ad_impression events, minus refunds. For a webshop without an app or ads on its own pages, total revenue and purchase revenue are the same number. Google's Traffic acquisition report shows total revenue, and Google notes that a purchase event without both value and currency does not count toward it.
| Metric | Built from | Tax and shipping | Refunds | Typical report |
|---|---|---|---|---|
| Item revenue | price × quantity in items | Never | Subtracted when the refund lists items | Ecommerce purchases |
| Purchase revenue | value of purchase events | Only if your tagging puts them in value | Subtracted | Explorations, acquisition and ecommerce overviews |
| Total revenue | Purchase + subscription + ad revenue | As purchase revenue | Subtracted | Traffic acquisition, user acquisition |
| Gross purchase / gross item revenue | As above | As above | Not subtracted | Explorations |
Why item revenue and purchase revenue differ
If every purchase event followed Google's rule, value equal to the sum of price × quantity, the two metrics would match. They often do not, for these reasons:
- Shipping or tax inside value
Many setups send the order total as value. Purchase revenue then includes shipping and tax, item revenue does not, and purchase revenue is higher.
- Order-level discounts
A discount code on the whole order lowers value but not each item's price, unless the tagging spreads the discount over the items. Item revenue is then higher.
- Missing or incomplete items
A purchase event without an items array, or with gift cards, tips or fees left out, adds to purchase revenue but not to item revenue.
- Refunds without items
A refund event with only a value lowers purchase revenue but not item revenue. Google recommends including items in refund events for item-level refund metrics.
- Duplicate events
A purchase sent twice with different transaction ids counts twice in both metrics; a second tag that sends items but no value inflates only item revenue.
- Currency
Without a currency parameter, GA4 cannot convert the value. Both metrics need it for accurate reporting.
Worked example: one order, three revenue numbers
An example order: two T-shirts at $25 and one cap at $20, a 10% discount code on the whole order, $6 shipping and 8% sales tax.
| Line | Amount |
|---|---|
| Items at list price: 2 × $25 + 1 × $20 | $70.00 |
| Discount code, 10% | −$7.00 |
| Subtotal after discount | $63.00 |
| Shipping | $6.00 |
| Sales tax, 8% of $63 | $5.04 |
| Order total paid | $74.04 |
What GA4 shows depends entirely on what the purchase event carries:
| How the event is built | Purchase revenue | Item revenue |
|---|---|---|
| Google's rule: value = subtotal, item prices with the discount spread ($22.50 and $18) | $63.00 | $63.00 |
| value = subtotal, item prices at list price | $63.00 | $70.00 |
| value = order total with shipping and tax, items at list price | $74.04 | $70.00 |
Now the cap is returned and refunded at its discounted price, $18. A refund event with value 18 and the cap in its items lowers both metrics by $18. A refund event with only the value lowers purchase revenue by $18 and leaves item revenue unchanged. How refunds reach GA4 from a Shopify store is the topic of tracking Shopify refunds in GA4.
Which revenue metric to use
| Question | Metric |
|---|---|
| Which channel, campaign or landing page brings in money? | Purchase revenue (or total revenue) |
| Which products, brands or categories sell? | Item revenue |
| What share of sales comes back as refunds? | Refund amount next to gross purchase revenue |
| How many orders and what is the average order value? | Ecommerce purchases and average purchase revenue |
| Does GA4 see all my sales? | Purchase revenue against your store's net sales without tax and shipping |
None of these is your store's revenue. GA4 only counts purchases its tags or the Measurement Protocol delivered, so compare it with your orders before you trust any revenue total; GA4 vs Shopify revenue lists the causes of the gap. Revenue also says nothing about margin; for that, see conversion rate in GA4 for the traffic side and ROASaurus's profit reports for the cost side. The guide to GA4 ecommerce reports shows where each metric appears, and GA4 ecommerce events for Shopify covers the events behind them. Before a peak, the BFCM tracking checklist includes a revenue check, and email attribution is covered in the Klaviyo and Shopify tracking guide.
How ROASaurus sends revenue to GA4
Under Connections › Tracking & destinations you can add GA4 as a server-side destination. ROASaurus then builds each purchase event from the order in your store and sends it through the Measurement Protocol, with the transaction id for deduplication against GA4's own tag:
| Parameter | What ROASaurus sends |
|---|---|
| value | The order total minus tax, shipping and tips, as GA4 asks |
| tax, shipping | Sent as their own parameters |
| items | Each order line with item_id, item_name, price and quantity |
| transaction_id | The store's order id |
| refund | For each refund: the refunded amount without tax, and the refunded lines as items |
Under Website › Search, the Google Analytics 4 tab reads purchases and purchase revenue per channel group from your property once a day, so you can set GA4's revenue next to the orders ROASaurus counts from your store. The GA4 explorer tab lets you query item revenue, gross purchase revenue or refund amount by any dimension. For how the server-side delivery works, see server-side tracking.
Sources
- Google Analytics Data API: API dimensions and metrics (itemRevenue, purchaseRevenue, totalRevenue)
- Google Analytics for developers: Recommended events reference (purchase, refund)
- Google Analytics Help: Ecommerce purchases report
- Google Analytics Help: Traffic acquisition report