ETLMCPData Conveyance Works
Log in Start free
Guides

GA4 revenue metrics: purchase, gross and total

Which GA4 revenue metric nets out refunds, which adds ad and subscription income, what currency they are in, and which one etlmcp stores.

Coming This connector is coming.

GA4 has three revenue metrics that differ in what they count. purchaseRevenue is purchase revenue with refunded transaction revenue taken off. grossPurchaseRevenue is the same purchases with nothing taken off for refunds. totalRevenue adds subscription revenue and advertising revenue to purchases, then subtracts refunds. All three are reported in the property's currency. When the GA4 connector is available, etlmcp stores only purchaseRevenue, as extra.revenue: compare it with GA4's purchase revenue, not gross or total revenue.

The three metrics side by side

API name Label in GA4 Refunds What it adds up
grossPurchaseRevenue Gross purchase revenue Not subtracted The value of purchase events
purchaseRevenue Purchase revenue Subtracted The value of purchase events, minus refunded transaction revenue
totalRevenue Total revenue Subtracted Purchase revenue plus subscription revenue plus ad revenue

Both purchase metrics read the same five events: purchase, ecommerce_purchase, in_app_purchase, app_store_subscription_convert and app_store_subscription_renew. The amount of each is the value parameter your tagging sends with the event. The gap between gross and net for a period is what was refunded; GA4 reports it separately as refundAmount, the sum of refunded revenue from refund and app_store_refund events.

GA4 reports ad revenue separately as totalAdRevenue, which counts advertising income from AdMob and from third-party ad sources. On a web store that shows no ads and sells no app subscriptions, total revenue comes down to purchase revenue under Google's definition.

Why your numbers disagree

  • A dashboard sums gross, a report shows net. If refunds were issued in the period, purchase revenue is lower than gross purchase revenue by the refunded amount. Check which of the two each tool asks for before you compare them.
  • Return on ad spend in GA4 uses total revenue. The schema defines returnOnAdSpend as total revenue divided by advertiser ad cost. A ROAS you calculate from extra.revenue and the ad platforms' cost uses purchase revenue, so it will be lower on a property that also records ad or subscription revenue.
  • Order counts include refunds. The transactions metric, stored by etlmcp as extra.orders, counts transaction events with purchase revenue, and Google's list of those events includes refund. Check your refund volume before you treat revenue divided by orders as average order value.
  • Item revenue is a separate family. itemRevenue and grossItemRevenue are computed from item price times quantity, with tax and shipping left out, so they can differ from purchase revenue for the same orders.

Which currency the figures are in

A Data API report states the currency it used in its response metadata. When a request names no currency, the runReport reference says the report uses the property's default currency. When the connector is available, etlmcp's request names none, so every extra.revenue value is in the property's currency, and each row carries that code in its currency column. If a report with rows arrives without a currency code, etlmcp stores none of it; it treats the report as unreadable, and the run is retried.

If your site sends events in more than one currency, GA4 converts each one into the property's currency at the exchange rate of the day before. Google's currency reference warns that revenue is only computed correctly when each event that sets value also sends currency. The BigQuery export does not convert: it keeps each transaction in its local currency, which is one reason the export and the API differ. The API and BigQuery comparison covers the rest.

A change to the property's currency applies to its historical data as well as new data, but when the connector is available a routine etlmcp sync re-pulls only the last 13 days. Older stored days keep the old currency until you backfill them: on the pipeline's page, under Backfill a Range, set From and To within the history your plan keeps and press Backfill. One sync started by hand covers at most 366 days, so split a longer history into several ranges. The currency change guide walks through it, and the backfill page lists the date rules.

What etlmcp keeps, and what it leaves out

When the GA4 connector is available, each row holds extra.orders (from transactions) and extra.revenue (from purchaseRevenue). The common conversion_value column stays empty, so GA4 revenue is never counted twice next to the ad platforms' conversion values. etlmcp does not pull grossPurchaseRevenue, totalRevenue, refundAmount or the item revenue metrics, and you cannot rebuild gross revenue from what it stores. If you need gross or total revenue, read it in GA4 itself.

A Shopify source for the same store records the same sales, so never add the two revenue columns together. If the Google user who connected the property has a role that hides revenue, the report flags the metric as restricted and etlmcp leaves extra.revenue empty rather than writing zero; see property access. The full field list is on the GA4 connector page, and the grain of each row is on the GA4 sync page.

Related

Sources

  1. API dimensions and metrics — developers.google.com, checked
  2. ResponseMetaData — developers.google.com, checked
  3. Method: properties.runReport — developers.google.com, checked
  4. Currency reference — support.google.com, checked