Analytics

Item revenue vs purchase revenue in GA4

GA4 item revenue, purchase revenue and total revenue explained: what each one sums, why they differ for the same orders and which one to use when.

·6 min read·By the ROASaurus team

Key takeaways
  • 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

Item revenue=Σ (price × quantity) of purchased items − item refunds
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

Purchase revenue=Σ value of purchase events − refunded revenue
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.

MetricBuilt fromTax and shippingRefundsTypical report
Item revenueprice × quantity in itemsNeverSubtracted when the refund lists itemsEcommerce purchases
Purchase revenuevalue of purchase eventsOnly if your tagging puts them in valueSubtractedExplorations, acquisition and ecommerce overviews
Total revenuePurchase + subscription + ad revenueAs purchase revenueSubtractedTraffic acquisition, user acquisition
Gross purchase / gross item revenueAs aboveAs aboveNot subtractedExplorations
Definitions from the GA4 Data API reference and Google's report pages.

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:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

LineAmount
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
Example order.

What GA4 shows depends entirely on what the purchase event carries:

How the event is builtPurchase revenueItem 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
Same order, three tagging choices, three pairs of numbers.

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

QuestionMetric
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
Use the metric whose building blocks match the question.

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:

ParameterWhat ROASaurus sends
valueThe order total minus tax, shipping and tips, as GA4 asks
tax, shippingSent as their own parameters
itemsEach order line with item_id, item_name, price and quantity
transaction_idThe store's order id
refundFor each refund: the refunded amount without tax, and the refunded lines as items
The purchase and refund events of the GA4 destination. Purchases and refunds are the events it sends by default.

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

  1. Google Analytics Data API: API dimensions and metrics (itemRevenue, purchaseRevenue, totalRevenue)
  2. Google Analytics for developers: Recommended events reference (purchase, refund)
  3. Google Analytics Help: Ecommerce purchases report
  4. Google Analytics Help: Traffic acquisition report

In ROASaurus

Keep reading

MarketingBFCM tracking checklist: can you trust your ad results?A Black Friday tracking checklist: test a real purchase, find duplicate conversions, choose which orders count, check consent and judge ads on profit.AnalyticsConversion rate in GA4 for ecommerce, per collectionHow GA4 calculates session and user key event rates, how to get a purchase conversion rate per channel and per collection, and what to fix when it drops.MarketingHow the Klaviyo Shopify integration tracks eventsHow Klaviyo collects Shopify data: order events, Checkout Started, onsite events, how it identifies visitors, where coverage ends and how to set it up.

FAQ

Questions, answered

More answers in the FAQ and the help center.

What is item revenue in GA4?

The price times the quantity of each purchased item in the items array of your purchase events, minus refunded items. It never includes tax or shipping.

What does purchase revenue mean in GA4?

The sum of the value parameter of your purchase events, minus refunded revenue. What it contains depends on what your tagging puts in value.

What is total revenue in GA4?

Purchase revenue plus subscription revenue and ad revenue, minus refunds. For a webshop without an app or on-site ads, it equals purchase revenue.

Why is my item revenue higher than purchase revenue?

Usually because item prices are sent before an order-level discount, because refunds are sent without items, or because a second tag sends items without a value.

Why is my purchase revenue higher than item revenue?

Usually because the value parameter holds the order total, with shipping and tax, while item revenue never includes them. Items missing from the event have the same effect.

Which GA4 revenue metric should I compare with Shopify?

Purchase revenue, against Shopify's sales without tax and shipping for the same days and time zone, and only if your tagging follows Google's rule for value.

Every sale, traced to the ad that earned it

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