Google Analytics 4 gives you three order counts, and they rarely agree. transactions counts every transaction event that carries purchase revenue, and Google's list of transaction events names app purchases, app store subscription events and refunds as well as web purchases. ecommercePurchases counts only purchase events. A purchase key event is the purchase event counted again in the key events metric, under the counting method set for it, either once per event or once per session. When the GA4 connector is available, etlmcp stores transactions as extra.orders, so the order count in your destination matches GA4's Transactions metric, not Ecommerce purchases and not your key events.
The three counts side by side
| What you look at | API name | Events it counts | How each one is counted |
|---|---|---|---|
| Transactions | transactions |
purchase, ecommerce_purchase, in_app_purchase, the app store subscription convert and renew events, and refund |
Each transaction event with purchase revenue |
| Ecommerce purchases | ecommercePurchases |
purchase only |
Each purchase event |
| Key events | keyEvents |
Every event marked as a key event in the property, purchase among them by default |
Once per event or once per session, set per key event |
Why transactions runs higher than ecommerce purchases
- Refunds are transaction events. Google's definition of
transactionslistsrefundamong the events it counts, whileecommercePurchasescounts onlypurchase. Refunds can therefore widen the gap: do not read it as extra sales. - App purchases and subscriptions are in one count, not the other. The schema states that
ecommercePurchasesleaves outin_app_purchaseand the subscription events. On a property that collects data from an app, transactions includes them and ecommerce purchases does not. - Revenue is a condition for one of them.
transactionscounts only transaction events with purchase revenue. The definition ofecommercePurchasesnames no such condition. If ecommerce purchases is the higher of the two, one place to look ispurchaseevents your tagging sends without a value, since the schema says purchase revenue comes from thevalueparameter.
On a website with no app streams and few refunds, the first two causes mostly fall away.
Why purchase key events differ again
The keyEvents metric is one total for every key event in the property. GA4 marks purchase as a key event by default on web and app properties, and on app properties it also marks first_open, in_app_purchase and the two app store subscription events. Any events your team marked are added in too. So the plain key events total is not an order count unless purchase is the only key event. In GA4 reports you can narrow key events to a single one from the "All events" menu.
Even narrowed to purchase, the count depends on the counting method. Once per event counts every purchase event; once per session counts at most one per session, so a shopper who places two orders in one visit counts once. Key events created from Universal Analytics goals start on once per session by default. A change of method, and a newly marked key event, apply only from that moment: GA4 does not recount old days. The counting method guide covers how to check and change it.
Duplicate purchases and transaction IDs
GA4 deduplicates purchase events that share a transaction ID, and Google says to use the ID to remove repeats of the same user's transaction. Send a unique ID per order, such as your order confirmation number. If your site sends the same ID for different orders, or an empty ID, GA4 merges them and undercounts. Google also needs the ID to process refunds against the right order. When GA4's order count sits well below your store's own, check for a fixed or empty transaction ID.
What etlmcp stores
When the GA4 connector is available, each row holds a day, a session campaign and a source / medium, with two counts that relate to orders:
extra.orders, fromtransactions: transaction events with purchase revenue, refunds included.extra.key_events, fromkeyEvents: the total of all key events for that row. It is not split by key event and may hold decimals; see fractional key events.
The connector does not ask GA4 for ecommercePurchases or a purchase-only key event count, and it leaves the common conversions column empty for GA4. If you need ecommerce purchases, read it in GA4. The field list is on the GA4 sync page, and revenue, which pairs with extra.orders, is covered in GA4 revenue metrics.
etlmcp describes extra.orders as comparable with a Shopify source's extra.orders for the same store: both count the same sales, so compare them and never add them. When the connector is available, each routine sync re-pulls the last 13 days of GA4 (see the trailing window), so changes GA4 makes to those days reach your destination by themselves. Older days are not pulled again; to refresh them, run the pipeline by hand over those dates, as backfills describes.