Google Analytics uses parameter values from the purchase event to calculate revenue metrics. Different parameters are used to calculate event-level vs. item-level revenue metrics.
Google Analytics uses:
- the 'value' and 'currency' parameters from the purchase event to calculate event-level revenue metrics like Total revenue
- the 'price' and 'currency' parameters from the purchase event to calculate item-level revenue metrics like Item revenue
This article helps you fix missing event-level and item-level revenue data.
Event-level revenue data is missing
Try the following tips if you've set up the purchase event on your website, but you don't see event-level revenue data for metrics like Total revenue, Purchase revenue, and LTV.
Important: After updating your website, use DebugView or wait for data to populate in reports.
Check that you configured the required event parameters
- the event-level 'currency' parameter
- the event-level 'transaction_id' parameter
- the event-level 'value' parameter
- the event-level 'items' parameter
- the item-level 'item_id' or 'item_name' parameter
- the data layer of your website
- a GA4 Event tag in your Tag Manager container
Check that you configured the 'value' parameter correctly
- assigned a number rather than a string (and does not contain quotation marks)
- assigned at the event level of the purchase event
- spelled correctly and in all lowercase
Check that you configured the 'currency' parameter correctly
- assigned a string rather than a number using the 3-letter ISO 4217 format
- assigned at the event level of the purchase event
- spelled correctly and in all lowercase
- surrounded by quotation marks followed by a trailing comma
Item-level revenue data is missing
Try the following tips if you've set up the purchase event on your website, but you don't see item-level revenue data for metrics like Item revenue and Gross item revenue.
Important: After updating your website, use DebugView or wait for data to populate in reports.
Check that you configured the required event parameters
- the event-level 'currency' parameter
- the event-level 'transaction_id' parameter
- the event-level 'price' parameter
- the event-level 'items' parameter
- the item-level 'item_id' or 'item_name' parameter
- the data layer of your website
- a GA4 Event tag in your Tag Manager container
Check that you configured the 'price' parameter correctly
- assigned a number rather than a string (and does not contain quotation marks)
- assigned at the item level of the purchase event
- spelled correctly and in all lowercase
Check that you configured the 'currency' parameter correctly
- assigned a string rather than a number using the 3-letter ISO 4217 format
- assigned at the event level of the purchase event
- spelled correctly and in all lowercase
- surrounded by quotation marks followed by a trailing comma