GA4 Ecommerce Events: The Full List for Online Stores
Every GA4 ecommerce event in funnel order, with required parameters, code, purchase and refund rules, Shopify and WooCommerce setup, and debugging.
Article summary
TL;DR
GA4 has 14 recommended ecommerce events, from view_item_list to purchase and refund, promotions and wishlist included. Every one takes an items array. Set currency whenever you send value, and give purchase and refund a transaction_id. Send purchase only once the payment has succeeded, with one unique ID per order.
- Use Google's exact event names. A misspelled event, or one missing a required parameter, is treated as a custom event and stays out of the ecommerce reports.
- value is the sum of price × quantity for the items, without shipping or tax. If you send value, send currency.
- GA4 drops a second purchase with the same transaction_id. Give a post-purchase upsell its own ID, and never send an empty one.
- Fire purchase when the payment succeeds, not when the thank-you page loads. Redirect gateways and closed tabs lose orders.
- Shopify's Google & YouTube app sends 11 events for you, but not refund, select_item or promotions. WooCommerce's extension needs a gateway that returns to the thank-you page.
On this page
GA4 ecommerce events are the names and parameters Google Analytics expects from an online store, from the first product list to the refund. Get the names and the items array right and the Monetization reports fill themselves. Get the purchase wrong and every revenue number after it is wrong too. Here's the full list in funnel order, the parameters each event needs, short code examples, and the rules that matter once a real payment is involved.
If GA4 isn't set up yet (property, data stream, filters, consent mode), start with the Google Analytics 4 setup checklist.
The GA4 ecommerce events list, in funnel order
Google publishes 14 recommended ecommerce events.1Google for Developers, Measure ecommerce (GA4), last updated August 19, 2026 Every one of them takes an items array, and every event that carries a value needs a currency.2Google for Developers, GA4 recommended events reference
| Funnel step | Event | Send it when | Event-level parameters to send |
|---|---|---|---|
| Browse | view_item_list | A list of products is shown (category, search results, related products) | items; optional item_list_id, item_list_name |
| Browse | select_item | The shopper picks a product from a list | items (the selected product); optional list ID and name |
| Browse | view_promotion | A promotion (banner, pop-up) is shown | items; optional promotion_id, promotion_name, creative_name, creative_slot |
| Browse | select_promotion | The shopper clicks a promotion | Same as view_promotion; items strongly advised |
| Product | view_item | A product detail page is viewed | items, currency, value |
| Product | add_to_wishlist | A product is added to a wishlist | items, currency, value |
| Cart | add_to_cart | A product is added to the cart | items, currency, value |
| Cart | remove_from_cart | A product is removed from the cart | items, currency, value |
| Cart | view_cart | The cart is viewed, with every item in it | items, currency, value |
| Checkout | begin_checkout | The first checkout step | items, currency, value; optional coupon |
| Checkout | add_shipping_info | Shipping details are submitted | items, currency, value; optional shipping_tier, coupon |
| Checkout | add_payment_info | Payment details are submitted | items, currency, value; optional payment_type, coupon |
| Paid | purchase | One or more items are purchased | transaction_id, items, currency, value; optional tax, shipping, coupon, customer_type |
| After sale | refund | One or more items are refunded | transaction_id, currency, value; items for item-level refunds |
Read on the Google for Developers reference on October 14, 2026.2Google for Developers, GA4 recommended events reference "Optional" means Google marks the parameter as not required. Google's own advice is still to "set each ecommerce parameter you have data for, regardless of whether the parameter is optional".1Google for Developers, Measure ecommerce (GA4), last updated August 19, 2026
Fig. 1Where each event fires in a store
- view_item_listCategory or search page
- select_item · view_itemProduct picked, then viewed
- add_to_cart · view_cartCart built and reviewed
- begin_checkoutCheckout opened
- add_shipping_info · add_payment_infoDetails submitted
- purchasePayment succeeded
- refundFull or partial
the checkout four feed the Checkout journey report
Two older names are gone: purchase replaces ecommerce_purchase, and refund replaces ecommerce_refund. purchase is also distinct from in_app_purchase, which apps report automatically.1Google for Developers, Measure ecommerce (GA4), last updated August 19, 2026
A typo turns it into a custom event
Names are exact. Google's Ecommerce purchases report help says that if you miss a required parameter, "the event will be treated as a custom event and won't appear in the report".6Google Analytics Help, [GA4] Ecommerce purchases report A misspelled name such as addToCart or add_to_cart_completed is still recorded, but as a custom event, not as ecommerce.
Required parameters: items, currency, value, transaction_id
Four parameters carry most of the weight. Here's what Google's reference says about each.2Google for Developers, GA4 recommended events reference
items
Required on every ecommerce event (on refund, only for item-level refunds). Each item needs item_id or item_name. Up to 200 items per event, and up to 27 custom parameters per item.
value
The sum of price × quantity for all items. Don't include shipping or tax. Recommended on any event you mark as a key event.
currency
Three-letter ISO 4217 code, set at the event level. Required whenever you send value, or revenue metrics aren't computed accurately.
transaction_id
Required on purchase and refund. It deduplicates purchases and links a refund to its order.
The rest of the reference fills in the details that break reports when they're wrong:
- Event level vs item level. Product facts go inside
items(item_id,price,quantity,item_category,item_variant). Interaction facts go outside (transaction_id,value,currency,shipping_tier,payment_type).4Google Analytics Help, [GA4] Set up ecommerce events Anitem_idplaced next toitemsinstead of inside it isn't read as product data. - Quantity defaults to 1. If you don't set
quantity, GA4 uses 1.2Google for Developers, GA4 recommended events reference - Discounts. Set
priceto the discounted unit price and put the unit discount indiscount. Event-level and item-levelcouponare independent.2Google for Developers, GA4 recommended events reference - Lists and promotions. An
item_list_idoritem_list_nameset on the item wins over the event-level one. Promotion parameters work the same way: GA4 looks in the item first, then at the event level, and shows "(not set)" only if both are missing.2Google for Developers, GA4 recommended events reference - view_item value. Google notes that value metrics on
view_itemdon't contribute to revenue.2Google for Developers, GA4 recommended events reference - Promotions without items. On
select_promotion,itemsis optional, but without it "some reports, such as the Promotions report", won't include the event.2Google for Developers, GA4 recommended events reference To credit a promotion with a later sale, Google says to addpromotion_idorpromotion_nameto every subsequent ecommerce event.4Google Analytics Help, [GA4] Set up ecommerce events
Code examples: dataLayer and gtag
With Google Tag Manager, push each event to the data layer and clear the previous ecommerce object first, as every one of Google's examples does. Otherwise the items of the last event can leak into the next one.1Google for Developers, Measure ecommerce (GA4), last updated August 19, 2026
// clear the previous ecommerce object first
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: "add_to_cart",
ecommerce: {
currency: "USD",
value: 59.00,
items: [{
item_id: "SKU_1042",
item_name: "Daily Greens 30 servings",
price: 59.00,
quantity: 1
}]
}
});
In GTM, one Google Analytics: GA4 Event tag can handle all of them: use the built-in Event variable as the event name, tick Send Ecommerce data under More Settings, and pick Data Layer as the source.1Google for Developers, Measure ecommerce (GA4), last updated August 19, 2026
With gtag.js, the purchase looks like this:
gtag("event", "purchase", {
transaction_id: "1001-5839", // order number
value: 118.00, // items only, 2 × 59.00
tax: 9.44,
shipping: 5.99,
currency: "USD",
items: [{
item_id: "SKU_1042",
item_name: "Daily Greens 30 servings",
price: 59.00,
quantity: 2
}]
});
Values must be numbers, not formatted strings like "$59.00". Google's full examples, with every optional parameter, are on the Measure ecommerce page.1Google for Developers, Measure ecommerce (GA4), last updated August 19, 2026
When to send the purchase event
Send purchase when the payment has succeeded, not when the shopper clicks Pay and not merely when a page loads. A declined card, a failed 3D Secure check or a payment still pending is not a purchase. In practice, the safest trigger is the one that creates the order: the processor's webhook confirming the payment, as described in our checkout flow guide.
The classic setup fires purchase from the thank-you page. That works only if the shopper reaches it. WooCommerce says it plainly: its purchase tracking "requires a payment gateway that redirects to the thank you/order received page after payment".15WooCommerce, Google Analytics for WooCommerce documentation
- Shopper pays on a hosted page and closes the tab before the redirectNo purchase, although the order is paidSend purchase from your server when the payment webhook arrives
- Shopper reloads the thank-you pageA second purchase with the same transaction_id, dropped by GA4Use the real order number as transaction_id, never a random value
- Card declined, shopper retries and succeedsOne purchase if you fire it on success onlyNever fire purchase on the Pay click or on the attempt
- Thank-you page loads on another domainSession and source can breakSet up cross-domain measurement for the payment domain
For the last case, see cross-domain tracking.
Sending purchase from your server: the Measurement Protocol
The Measurement Protocol lets your backend post events to GA4. For a web stream, the request carries your measurement_id and an api_secret in the URL, and a client_id in the body that "should match the ID generated by the Google Analytics tag on your website".8Google for Developers, Send Measurement Protocol events to Google Analytics Google is explicit that the api_secret must stay on the server: the protocol is "primarily designed for server-side or trusted environments".8Google for Developers, Send Measurement Protocol events to Google Analytics
To keep the purchase attached to the visit that produced it, store the shopper's client_id and session_id at checkout and send them with the server event. For session attribution, Google requires the session_id and a request sent no later than 24 hours after the session started.9Google for Developers, Measurement Protocol use cases Other limits: 25 events per request, 25 parameters per event, 10 custom item parameters, and a body under 130 kB.8Google for Developers, Send Measurement Protocol events to Google Analytics
The concepts and the setup steps are in server-side tracking for ecommerce.
One source of truth for purchase
Decide which system sends purchase: the browser, the server, or both with the same transaction_id. Google documents deduplication by transaction ID for web streams, but doesn't describe how a server event and a browser event for the same order are merged. Test your own setup with real orders before trusting the totals.
transaction_id and duplicate purchases
Google's rule is short: "Google Analytics deduplicates purchase events with the same transaction ID."3Google Analytics Help, Minimize duplicate key events with transaction IDs Four details from the same page change how you build the ID:
- It works for web streams only, not app streams.
- The ID "shouldn't be used across different users".
- Never send an empty string. GA4 "will deduplicate all purchase events that have transaction_id=""": every order without an ID collapses into one.
- The ID must not contain anything that identifies the customer, such as an email.3Google Analytics Help, Minimize duplicate key events with transaction IDs
The reverse mistake is just as costly. If your tag sends the same hardcoded ID for different orders, Google warns that "you could significantly undercount your key events".3Google Analytics Help, Minimize duplicate key events with transaction IDs
Post-purchase upsells: a second purchase needs a second ID
A post-purchase upsell accepted after the main payment is a second charge. If you send it as a second purchase that reuses the main order's transaction_id, GA4 deduplicates it and the upsell revenue disappears.
Fig. 2The same upsell, sent two ways
Reused ID
- purchase · 1001Main order + order bump
- one click laterpurchase · 1001Upsell, same ID
Upsell dropped as a duplicate
Own ID
- purchase · 1001Main order + order bump
- one click laterpurchase · 1001-U1Upsell, linked by a custom parameter
Both charges counted
only the second one reaches your revenue
Give the upsell its own ID (the order number with a suffix works), and keep the link to the main order in a custom parameter if you need it. If your platform instead adds the upsell to the original order before you send purchase, send a single event with the final items and value. Either way, one charge equals one transaction_id. The funnel side is covered in building a funnel. An order bump ticked at checkout is part of the main payment, so it belongs in the main purchase.
Refunds: full and partial
Send a refund event with the original transaction_id. Google supports both cases with the same event: "A full refund includes all the items purchased, while a partial refund includes only some of the items purchased. Make sure to include each refunded item in an items array, regardless of whether you issue a full or partial refund."4Google Analytics Help, [GA4] Set up ecommerce events
| Case | What to send | Notes |
|---|---|---|
| Full refund | refund with transaction_id, currency, value, and every purchased item | Include shipping and tax if you refund them |
| Partial refund, some items | refund with transaction_id and only the refunded items, with item_id and quantity | value is the refunded amount |
| Partial refund, no item returned (goodwill credit) | refund with transaction_id, currency, value | Without items, item-level refund metrics stay empty |
| Money returned through a chargeback | Not a refund event by default | The dispute isn't a refund; see chargeback vs refund |
gtag("event", "refund", {
transaction_id: "1001-5839", // same ID as purchase
currency: "USD",
value: 59.00,
items: [{ item_id: "SKU_1042", quantity: 1 }]
});
Refunds rarely happen in the shopper's browser. They're issued from your admin or processor dashboard days later, so the realistic sender is your server, through the Measurement Protocol, with the same transaction_id. The effect shows in revenue: GA4's Transactions report defines purchase revenue as purchases plus in-app purchases and subscriptions, "minus the refund events".7Google Analytics Help, [GA4] Transactions report The partial refund is the case most stores forget.
Inside Tagada
Build the funnel once, route every customer to the right offer
Checkout, upsells and subscriptions on one flow, with conditions per country, order or customer.

Subscriptions and renewals
A renewal is charged by your billing system with no shopper on the site, so only a server event can report it. Treat each successful charge as a purchase with its own transaction_id (the invoice or charge ID), and send nothing for failed attempts.
Timing limits apply to these late events. Google exports Measurement Protocol events to linked ad products such as Google Ads only if the request arrives "no later than 63 days after the latest online event", and uses them for audiences on a web stream only within 30 days of the latest online event for that client_id.9Google for Developers, Measurement Protocol use cases A renewal months after the last visit can still be sent to GA4, but it won't feed those exports. How renewals are charged is covered in subscription payment processing.
Shopify: the Google & YouTube app
On Shopify, you don't write these events by hand. You install the Google & YouTube app (a sales channel), connect your GA4 property, and "certain ecommerce events are tracked automatically".14Shopify Help Center, Tracking ecommerce events using Google Analytics Shopify notes that Google Analytics can't track events until you deactivate private mode (password protection) on your online store.14Shopify Help Center, Tracking ecommerce events using Google Analytics
Google's reference for the app lists the events it sends, mapped from Shopify's standard events:12Google Tag Platform, Shopify event parameters (Google & YouTube app), last updated July 28, 2026
| Event | Google & YouTube app | Notes |
|---|---|---|
view_item_list | Sent automatically | Collection pages |
view_item | Sent automatically | Product pages |
add_to_cart, remove_from_cart | Sent automatically | |
view_cart | Sent automatically | |
begin_checkout | Sent automatically | |
add_shipping_info | Sent with Checkout Extensibility only | Google says it's "only available in checkouts where Checkout Extensibility for customizations is enabled" |
add_payment_info | Sent automatically | |
purchase | Sent automatically | Includes transaction_id, tax, shipping, coupon, customer_type |
select_item, view_promotion, select_promotion, add_to_wishlist | Not in the list | Set up yourself if you need them |
refund | Not in the list | Send from your server if you want refunds in GA4 |
Three details from Google's pages:
- Purchase value. Since April 24, 2025, purchase values from the app take discounts into account ("value = subtotal - discounts"), and exclude shipping and taxes.12Google Tag Platform, Shopify event parameters (Google & YouTube app), last updated July 28, 2026
- Default currency. If no currency is set in the event data, the app sends USD.12Google Tag Platform, Shopify event parameters (Google & YouTube app), last updated July 28, 2026
- Duplicates. Google's setup guide tells you to check "that you don't have duplicate tags" between the app and a storefront or custom pixel, and to remove legacy tags.13Google Ads Help, Shopify: Set up your Google tag A theme snippet left over from an old setup is a common cause of doubled purchases.
Google's Checkout journey help page still says Shopify collects begin_checkout, add_payment_info and purchase and that you must set up add_shipping_info yourself.5Google Analytics Help, [GA4] Checkout journey report The newer app reference adds add_shipping_info when Checkout Extensibility is on. Check in DebugView which one applies to your store.
WooCommerce: Google Analytics for WooCommerce
WooCommerce's own extension connects the store to a GA4 property with your G- measurement ID. Its tracking options cover purchase transactions, add to cart, remove from cart, product impressions from listing pages, product clicks from listing pages, product detail views and checkout initiated.15WooCommerce, Google Analytics for WooCommerce documentation WooCommerce warns that the connection can take up to 48 hours to start working.15WooCommerce, Google Analytics for WooCommerce documentation
What to watch:
- Gateways that don't come back. Purchase tracking needs a gateway that redirects to the order received page.15WooCommerce, Google Analytics for WooCommerce documentation With a gateway that doesn't, send
purchasefrom the server. - Consent. In the EEA, the UK and Switzerland, visitors must grant cookie consent before analytics runs. The extension has no cookie banner; it integrates with the WP Consent API, so you pick a consent plugin.15WooCommerce, Google Analytics for WooCommerce documentation WooCommerce expects a gap between store orders and GA4 because of it.
- Product IDs. The extension sends the WooCommerce product ID by default. The
woocommerce_ga_product_identifierfilter changes it, for example to match the IDs your ads feed uses.15WooCommerce, Google Analytics for WooCommerce documentation - Admin traffic. Page views aren't tracked for logged-in admins, so log out to test.15WooCommerce, Google Analytics for WooCommerce documentation
How to debug GA4 ecommerce events
Reports and explorations can take up to 24 hours to show ecommerce data, so don't test in them. Google points you to debug mode and DebugView instead.4Google Analytics Help, [GA4] Set up ecommerce events
- Turn on debug mode for your device. Open your site through Tag Assistant (tagassistant.google.com) or GTM preview mode; Tag Assistant adds a parameter to the URL that enables it.11Google Analytics Help, Monitor events in DebugView
- Watch DebugView. In GA4, go to Admin, then DebugView under Data display. The middle column shows events from the last 60 seconds, the left one the last 30 minutes. Click an event to see its parameters.11Google Analytics Help, Monitor events in DebugView
- Accept the cookies. Google notes that events don't show in debug mode when consent mode is on and the user hasn't consented to analytics cookies.11Google Analytics Help, Monitor events in DebugView
- Run a real order, then the edge cases. A declined card, a 3D Secure challenge, a thank-you page reload, an upsell, a refund. Check that each produces exactly the events you expect.
- Validate server events separately. The Measurement Protocol "does not return HTTP error codes, even if an event is malformed". Post to
/debug/mp/collectfirst: the validation server returns messages naming the faulty field, and nothing reaches your reports.10Google for Developers, Validate Measurement Protocol events - Filter your own traffic. Google advises filtering developer traffic so debug sessions don't end up in your data.11Google Analytics Help, Monitor events in DebugView
Sources: Google Analytics Help (DebugView, Set up ecommerce events), Google for Developers (Measurement Protocol validation).
What to check on each event: the name, currency present wherever value is, numbers sent as numbers, an items array with item_id or item_name on every item, and on purchase a real, unique transaction_id.
Where ecommerce events show up in GA4 reports
The Ecommerce purchases and Monetization overview reports surface ecommerce data automatically once the events arrive.4Google Analytics Help, [GA4] Set up ecommerce events Here's what feeds which report:
| Report | Where | Built from |
|---|---|---|
| Ecommerce purchases | Reports, Monetization | Item-level data from your ecommerce events (item brand, category, revenue)6Google Analytics Help, [GA4] Ecommerce purchases report |
| Transactions | Reports, Monetization (Life cycle) | purchase and refund, by transaction_id7Google Analytics Help, [GA4] Transactions report |
| Checkout journey | Reports, Monetization (Life cycle) | begin_checkout, add_shipping_info, add_payment_info, purchase5Google Analytics Help, [GA4] Checkout journey report |
| Monetization overview | Reports, Monetization | Ecommerce revenue and purchases4Google Analytics Help, [GA4] Set up ecommerce events |
| Promotions | Reports | view_promotion and select_promotion with an items array2Google for Developers, GA4 recommended events reference |
| Funnel exploration | Explore | Any events you choose |
The Checkout journey report is a closed funnel: only users who started at Begin checkout count, and you can't customize it.5Google Analytics Help, [GA4] Checkout journey report If one of the four events is missing, its step stays empty. How to read the drop between steps, and why declined payments look like abandonment, is covered in checkout abandonment rate. For the other tools that measure conversions, see conversion tracking tools and what is pixel tracking.
Expect GA4 revenue to differ from your store's order totals. Consent refusals, ad blockers, orders without a thank-you page and refunds never sent all widen the gap. Keep your store or processor as the financial record, and use GA4 to see behavior and marketing sources.
Where Tagada fits
How Tagada helps
A checkout that knows when the payment succeeded
Tagada's checkout comes with one-click upsells, order bumps, A/B tests, Apple Pay and Google Pay, and server-side tracking for Meta, Google and TikTok, so conversion events don't depend on the thank-you page loading in the browser. Behind the payment step, it routes across TagadaPay and processors such as Stripe, NMI and Airwallex, with a cascade to another processor when one is down or times out. Pricing is on the pricing page.
Whatever your stack, the rules above don't change: Google's event names, an items array on every event, currency with every value, one transaction_id per charge, and a purchase sent only when the money has actually moved.
Frequently asked questions
What are the ecommerce events in GA4?
Is transaction_id required for the GA4 purchase event?
Should value include shipping and tax in GA4?
Why is my GA4 purchase event not showing in reports?
How do I track refunds in GA4?
Which GA4 ecommerce events does Shopify track automatically?
Sources
Checked October 14, 2026- Google for Developers, Measure ecommerce (GA4), last updated August 19, 2026
- Google for Developers, GA4 recommended events reference
- Google Analytics Help, Minimize duplicate key events with transaction IDs
- Google Analytics Help, [GA4] Set up ecommerce events
- Google Analytics Help, [GA4] Checkout journey report
- Google Analytics Help, [GA4] Ecommerce purchases report
- Google Analytics Help, [GA4] Transactions report
- Google for Developers, Send Measurement Protocol events to Google Analytics
- Google for Developers, Measurement Protocol use cases
- Google for Developers, Validate Measurement Protocol events
- Google Analytics Help, Monitor events in DebugView
- Google Tag Platform, Shopify event parameters (Google & YouTube app), last updated July 28, 2026
- Google Ads Help, Shopify: Set up your Google tag
- Shopify Help Center, Tracking ecommerce events using Google Analytics
- WooCommerce, Google Analytics for WooCommerce documentation
Tagada
Purchases going missing after payment? Track them from the server
Funnels, one-click upsells, subscription billing and payment routing, on one customer record.
- 01Create your free account
- 02Connect your store or build a checkout
- 03Launch funnels, upsells and subscriptions
