Home › Blog

GA4: Gross or net for value and price?

GA4: Gross or Net? Pass "value" and "price" as net amounts—that is, excluding tax and shipping. Includes a purchase example and a checklist for making corrections.

Contents
GA4: Brutto oder Netto bei value und price?

For a long time, many teams were unsure whether to report gross or net amounts in Google Analytics 4 (GA4), so they opted for gross “just to be safe.” To this day, this results in inflated revenue figures in GA4.

In short: Pass value and price to GA4 as net amounts—that is, excluding sales tax and shipping costs. Tax and shipping should be included in the separate parameters tax and shipping.

What the GA4 documentation says about "value" and "price"

In the official event reference for the ” purchase ” event, Google states the following about the ” value” parameter:

“Set ‘value’ to the sum of (price * quantity) for all items. Do not include shipping or tax.”

Source: Google GA4 Event Reference (purchase)

Excerpt from the GA4 Event Reference: value excluding shipping and tax

Google does not specify a separate rule regarding tax for price itself. The documentation simply states that price is the unit price after the discount. However, since value must equal exactly price × quantity and must not include tax, price must also be the net amount. Otherwise, the item and event levels will not match. Google’s own example at purchase also shows tax as separate from value.

purchase - Event parameters (event scope)

Name
Type
Required
Example value
Description
currency
string
Yes*
EUR
The currency of the items assigned to the event in three-letter ISO 4217 format. Value measures for the view_item event do not contribute to sales. * If you set value, currency is required for sales measures to be calculated accurately.
value
number
Yes*
30,03
The monetary value of the event. * Set value to the sum of (price * quantity) for all elements in items. Do not specify shipping or tax. * value is usually required for meaningful reports. If you mark the event as a key event, you should specify value. * currency is required if you specify value.
customer_type
string (new / returning)
No
new
Does the conversion come from a new or returning customer? new: New customer – has not purchased anything in the specified period (time window of 540 days recommended and set as standard, but not mandatory) returning: A returning customer who has purchased something in the specified period. Do not enter a value if the classification is not certain, e.g. if the user paid as a guest.
transaction_id
string
Yes
T_12345
The unique ID of a transaction. The transaction_id parameter can be used to avoid duplicate events being recorded for a purchase.
coupon
string
No
SUMMER_FUN
The name/code of the voucher assigned to the event. coupon parameters at event and item level are independent of each other.
shipping
number
No
3,33
The shipping costs assigned to a transaction.
tax
number
No
1,11
The taxes for a transaction.
items
Array
Yes
The articles for the event.

purchase - Item parameters (item scope)

Name
Type
Required
Example value
Description
item_id
string
Yes*
SKU_12345
The ID of the article. *Either item_id or item_name is required.
item_name
string
Yes*
“Stan and Friends T-shirt
The name of the article. *Either item_id or item_name is required.
affiliation
string
No
Google Store
A product affiliation to specify a supplier or store Note: “affiliation” is only available at element level.
coupon
string
No
SUMMER_FUN
The name/code of the voucher assigned to the item. coupon parameters at event and item level are independent of each other.
discount
number
No
2,22
The monetary value of the discount per unit assigned to the item.
index
number
No
5
The index or the position of the item in a list.
item_brand
string
No
Google
The brand of the article
item_category
string
No
Clothing
The category of the item If it is used as part of a category hierarchy or taxonomy, this is the first category.
item_category2
string
No
Adult
The second category hierarchy or additional taxonomy of the article.
item_category3
string
No
Shirts
The third category hierarchy or additional taxonomy of the article.
item_category4
string
No
Crew
The fourth category hierarchy or additional taxonomy of the article.
item_category5
string
No
Short sleeve
The fifth category hierarchy or additional taxonomy of the article.
item_list_id
string
No
related_products
The ID of the list in which the item was presented to the user If set, item_list_id is ignored at event level. If not set, the item_list_id is used at event level, if available.
item_list_name
string
No
Similar products
The name of the list in which the item was presented to the user If specified, item_list_name is ignored at event level. If not specified, the item_list_name is used at event level, if available.
item_variant
string
No
Green
The item variant or the unique code or description for additional item details/options.
location_id
string
No
ChIJIQBpAG2ahYAR_6128GcTUEo (the Google Place ID for San Francisco)
The physical location assigned to the item, e.g. the location of the store. We recommend using the Google Place ID that corresponds to the associated item. A user-defined location ID can also be used. Note: `location id` is only available at item level.
price
number
No
10,01
The price of the item in the specified currency. If a discount is applied to the item, set price to the reduced unit price and specify the unit price discount in the discount parameter.
quantity
number
No
3
Item quantity. If not specified, quantity is set to 1.

Why the gross confusion arose

In practice (especially in DACH e-commerce), store prices are usually displayed including VAT. Many implementations have transferred these gross prices 1:1 to GA4 as price and value – and sometimes also tax and shipping. However, this contradicts the current specification and can overstate sales and make reports inconsistent. Google explicitly shows in its purchase example: value, tax, shipping are event parameters, price & quantity depend on the item.

Here's How to Pass "value" and "price" Correctly in GA4

1) Map fields correctly
				
					gtag("event","purchase",{
  transaction_id: "T_1001",
  currency: "EUR",
  value: 100.00,        // Netto-Warenwert (Summe aus price*quantity)
  tax: 19.00,           // USt. separat
  shipping: 5.00,       // Versand separat
  items: [{
    item_id: "SKU_1",
    item_name: "T-Shirt",
    price: 50.00,       // Netto-Einzelpreis nach Rabatt
    quantity: 2,
    discount: 5.00      // optional: pro Einheit
  }]
});
				
			
  • value = (price × quantity) of all items – without tax/shipping.
  • currency is mandatory as soon as value is set.
  • Item parameters (e.g. price, quantity) vs. event parameters (e.g. value, tax, shipping) are clearly separated.
2) Why net price is crucial

Since value is to be formed from price × quantity and must not include tax/shipping, price must be net (after discount, but without tax) – otherwise you would automatically “add” gross to value. The requirement not to add tax/shipping to value is explicitly documented.

What happens if you keep sending gross?

  • Inflated Revenue KPIs: In GA4, event-level revenue metrics are based on the parameter ` value`. If this value is gross, total revenue and purchase revenue will differ from your accounting records.
  • Discrepancies in the “E-Commerce Purchases” report: Item revenue is calculated from price × quantity. If price is gross revenue and tax is also sent, the item and event levels no longer match.
  • Incorrect conversion values in Google Ads: Google recommends setting ” value ” for key events. If the value is too high, you’ll skew ROAS and CPA—and, as a result, your bidding strategies. Our article ” Google Ads Conversion Tracking Failed” shows you how to identify conversion issues in Google Ads.

Which revenue metrics in GA4 are affected

Important to note upfront: In GA4 reports, “gross” does not mean “including sales tax.” When it comes to revenue metrics, it means “before deducting refunds.” The metrics are calculated using the exact amounts you submit; none of them deduct tax.

  • Purchase revenue: According to Google, this is the sum of purchases, in-app purchases, and subscriptions, minus refunds (Google Analytics Help). It is based on the ” value ” of the ” purchase” events.
  • Gross purchase revenue: the same purchases, but before deducting refunds.
  • Item revenue: Calculated based on the item’s ” price × quantity.”
  • Total Revenue: Revenue from purchases, subscriptions, and advertising, less refunds.

If you enter value and price as gross amounts, all four values will be too high due to sales tax. If you enter them as net amounts, they will correspond to your net merchandise value—that is, the sales amount excluding tax and shipping.

Checklist: Finding and Correcting Gross Values in GA4

  • Check the data layer: Are items[].price (net, after discount) and items[].quantity being received correctly?
  • Calculate the value: Σ(price × quantity) for all items, excluding tax and shipping.
  • Include tax and shipping separately as event parameters.
  • Always include the currency when ` value ` is set.
  • Use DebugView to check in real time after deployment. If revenue is missing, Google’s guide on troubleshooting missing revenue data can help.

An Overview of Recommended Events in GA4

For all properties

Event
Trigger when a user…
ad_impression
sees a display (app only).
earn_virtual_currency
receives a virtual currency, e.g. coins, gemstones or tokens.
generate_lead
sends a form or a request for information.
join_group
joins a group.
login
registers.
purchase
buys something.
refund
receives a refund.
search
searches on your website or in your app.
select_content
selects content on your website or in your app.
share
shares content from your website or app.
sign_up
registers for an account on your website or in your app.
spend_virtual_currency
virtual currency, e.g. coins, gemstones or tokens.
tutorial_begin
a tutorial starts during the onboarding process.
tutorial_complete
completes a tutorial during the onboarding process.

For online sales

Event
Trigger when a user…
add_payment_info
sends payment information during the payment process.
add_shipping_info
Sends shipping information during the payment process.
add_to_cart
item in the shopping cart.
add_to_wishlist
adds items to a wish list.
begin_checkout
starts the payment process.
purchase
buys something.
refund
receives a refund.
remove_from_cart
Item removed from shopping cart.
select_item
selects an item from a list of items or offers.
select_promotion
selects an offer.
view_cart
the shopping cart.
view_item
an article.
view_item_list
a list of articles or offers.
view_promotion
views an offer on your website or in your app.

For lead generation

Event
Trigger when a user…
generate_lead
sends a form online or provides information offline.
qualify_lead
is marked as meeting the criteria for a qualified lead.
disqualify_lead
is not marked as a lead for one of several reasons.
working_lead
contacts an employee or is contacted by someone from your company.
close_convert_lead
becomes a lead with conversion (a customer).
close_unconvert_lead
is not marked as a converted lead for one of several reasons

For games

Event
Trigger when a user…
earn_virtual_currency
receives a virtual currency, e.g. coins, gemstones or tokens.
join_group
joins a group.
level_end
completed a level in a game.
level_start
a new level in a game begins.
level_up
reaches the next level in a game.
post_score
posts his score.
select_content
Selects content.
spend_virtual_currency
virtual currency, e.g. coins, gemstones or tokens.
tutorial_begin
a tutorial starts during the onboarding process.
tutorial_complete
completes a tutorial during the onboarding process.
unlock_achievement
a success.

Frequently Asked Questions About Gross and Net in GA4

According to Google’s event reference, transaction_id and items Requirement. value and currency are marked with “Yes*”: value you need for meaningful sales reports, and as soon as you value If …, then … is also currency Requirement. tax, shipping and coupon are optional.

Set ` price ` to the discounted net unit price and specify the discount per unit in the ` discount ` parameter. This is also how Google’s event reference describes it.

You should enter the coupon code as text in the parameter ` coupon`, either at the event level for the entire order or on a per-item basis. According to Google, these two are independent of each other. You do not specify the discount amount in ` coupon `: It is included in the net amount `price ` and is shown per item in ` discount `.

value is generally required for meaningful reports. If you mark the event as a key event, you should set ` value ` according to Google, and in that case, ` currency ` is also required.

These are separate event parameters (tax, shipping) and should not be included in value. This ensures that the item and event levels remain clean and comparable.

About the transaction_id: GA4 deduplicates purchase events with the same transaction ID; however, according to Google, this only applies to web streams. Assign a unique ID to each order and never send an empty transaction_id, because GA4 also aggregates purchases with an empty value, and then genuine orders get lost. A common cause of duplicate purchases is a thank-you page that triggers the purchase event again when it reloads. For more information, see the Google Analytics Help article on transaction IDs.

Yes, using the same logic. Refunds are deducted from sales revenue in GA4. To ensure the numbers add up, the amount in the ` refund` event should be calculated the same way as for a purchase: net, excluding tax and shipping. Send the ` refund` event with the ` transaction_id ` from the original order. If you want to see refunds at the item level, also include the affected items using ` item_id ` and ` quantity ` (Google for Developers).

Google provides code examples for every e-commerce event, such as view_item, add_to_cart, begin_checkout, and purchase: Analyzing E-Commerce (Google for Developers).

Conclusion: Pass "value" and "price" to GA4 as net values

The previous gross calculation method was understandable, but it does not align with the GA4 documentation. Switch to a netprice and set value = Σ(price × quantity) excluding tax and shipping. This way, your revenue in GA4 will match your online store and accounting records, and Google Ads will receive reliable conversion metrics.

If you’d like to have your setup reviewed, you can find our services under Tracking and Analytics. For Shopware 6, we also offer our GA4 plugin for Shopware.

Let's talk about it.

30 minutes, free of charge, and no sales pitch: We’ll take a look at your accounts and tell you where your budget is being wasted and what you should do first.

Alexander Kern, Founder and CEO of MISSION OM

The interview is usually conducted by Alexander Kern, the founder and CEO.