ETLMCPData Conveyance Works
Log in Start free
Glossary

extra.revenue (GA4 and Shopify)

What extra.revenue holds for a GA4 property and for a Shopify store, in which currency, on which day, and why you never add the two.

extra.revenue is the sales figure that the two commerce sources share, and each fills it from a different definition. For a GA4 property it is GA4's purchaseRevenue: purchase revenue with refunded transaction revenue taken off, in the property's currency. For a Shopify store it is the day's net sales: what the goods sold for after discounts, returns and refunds, with tax and shipping left out, in the store's currency. The two columns describe the same sales seen from two places, so compare them, but never add them for one store.

GA4: purchase revenue by campaign

When the GA4 connector is available, each row covers one date, one session campaign and one source / medium, and extra.revenue holds that row's purchaseRevenue. Google's Data API schema defines it as revenue from purchase events with refunded transaction revenue subtracted; its sibling grossPurchaseRevenue subtracts nothing. The amount of each purchase is the value your tagging sends with the event, so GA4 revenue is only as complete as your purchase tracking.

The money is in the currency the report states in its metadata. etlmcp names no currency in its request, and Google's reference says a report without one is returned in the property's current currency. etlmcp writes that code in the row's currency column. A report with rows but no currency code is not stored: etlmcp treats it as unreadable and the run is tried again. If the Google user who connected the property cannot see revenue, the report marks the metric as restricted and etlmcp leaves extra.revenue out of the rows instead of writing zero.

GA4 does not report ad delivery, so etlmcp keeps the common conversion_value column empty for GA4 and points to extra.revenue instead. A routine sync re-pulls the last 13 days.

Shopify: net sales by store and day

When the Shopify connector is available, a Shopify source writes one row per store and local day, with the campaign columns empty, and extra.revenue is the same number as that row's extra.net_sales. etlmcp builds it from each order's current subtotal, the figure Shopify reports after returns and refunds. When the store's prices include tax, etlmcp takes the tax on the goods out, so the figure is stated without tax either way. Shipping and tax are kept in their own columns, and extra.total_sales holds the full order price. Test orders and cancelled orders are left out.

Every amount is Shopify's shop money, which the MoneyBag reference describes as the amount in the shop currency, as distinct from the presentment currency the customer saw. Each order counts on the day it was placed, in the store's time zone, so a refund issued weeks later lowers the day the order was placed. A routine sync re-pulls the last 58 days, which picks up those later changes.

Reading the two side by side

  • Do not sum them. A store that runs both sources records each sale twice. Pick one as your revenue of record and use the other as a check.
  • Expect gaps. GA4 depends on purchase events firing in the browser or app and reports in the property's currency; Shopify counts every real order from the store's own records. Different tax handling, untracked orders and currency settings all move the two apart.
  • Mind the grain. GA4 revenue splits by campaign and source / medium; Shopify revenue does not, so a campaign-level return on ad spend needs the GA4 figure.

The full field lists are on the GA4 connector page and the Shopify connector page. For the other revenue metrics GA4 offers, see GA4 revenue metrics; for Shopify's own reports, see comparing Shopify sales.

Related

Sources

  1. The dimensions and metrics you can use in Data API — developers.google.com, checked
  2. ResponseMetaData — developers.google.com, checked
  3. Order - GraphQL Admin — shopify.dev, checked
  4. MoneyBag - GraphQL Admin — shopify.dev, checked