Tracking & analytics14 min readUpdated October 14, 2026

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.
Want to go further? AskChatGPTClaudePerplexityGrok
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 stepEventSend it whenEvent-level parameters to send
Browseview_item_listA list of products is shown (category, search results, related products)items; optional item_list_id, item_list_name
Browseselect_itemThe shopper picks a product from a listitems (the selected product); optional list ID and name
Browseview_promotionA promotion (banner, pop-up) is shownitems; optional promotion_id, promotion_name, creative_name, creative_slot
Browseselect_promotionThe shopper clicks a promotionSame as view_promotion; items strongly advised
Productview_itemA product detail page is vieweditems, currency, value
Productadd_to_wishlistA product is added to a wishlistitems, currency, value
Cartadd_to_cartA product is added to the cartitems, currency, value
Cartremove_from_cartA product is removed from the cartitems, currency, value
Cartview_cartThe cart is viewed, with every item in ititems, currency, value
Checkoutbegin_checkoutThe first checkout stepitems, currency, value; optional coupon
Checkoutadd_shipping_infoShipping details are submitteditems, currency, value; optional shipping_tier, coupon
Checkoutadd_payment_infoPayment details are submitteditems, currency, value; optional payment_type, coupon
PaidpurchaseOne or more items are purchasedtransaction_id, items, currency, value; optional tax, shipping, coupon, customer_type
After salerefundOne or more items are refundedtransaction_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

  1. view_item_listCategory or search page
  2. select_item · view_itemProduct picked, then viewed
  3. add_to_cart · view_cartCart built and reviewed
  4. begin_checkoutCheckout opened
  5. add_shipping_info · add_payment_infoDetails submitted
  6. purchasePayment succeeded
  7. refundFull or partial

the checkout four feed the Checkout journey report

Event names from the Google for Developers ecommerce guide. Promotion and wishlist events can fire at any point before checkout.

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

  1. 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.

  2. 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.

  3. currency

    Three-letter ISO 4217 code, set at the event level. Required whenever you send value, or revenue metrics aren't computed accurately.

  4. 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:

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

  1. 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
  2. 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
  3. Card declined, shopper retries and succeedsOne purchase if you fire it on success onlyNever fire purchase on the Pay click or on the attempt
  4. 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

  1. purchase · 1001Main order + order bump
  2. one click laterpurchase · 1001Upsell, same ID

Upsell dropped as a duplicate

Own ID

  1. purchase · 1001Main order + order bump
  2. one click laterpurchase · 1001-U1Upsell, linked by a custom parameter

Both charges counted

only the second one reaches your revenue

Based on Google's transaction ID deduplication rule. Order numbers are illustrative.

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

CaseWhat to sendNotes
Full refundrefund with transaction_id, currency, value, and every purchased itemInclude shipping and tax if you refund them
Partial refund, some itemsrefund with transaction_id and only the refunded items, with item_id and quantityvalue is the refunded amount
Partial refund, no item returned (goodwill credit)refund with transaction_id, currency, valueWithout items, item-level refund metrics stay empty
Money returned through a chargebackNot a refund event by defaultThe 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.

Start free

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

EventGoogle & YouTube appNotes
view_item_listSent automaticallyCollection pages
view_itemSent automaticallyProduct pages
add_to_cart, remove_from_cartSent automatically
view_cartSent automatically
begin_checkoutSent automatically
add_shipping_infoSent with Checkout Extensibility onlyGoogle says it's "only available in checkouts where Checkout Extensibility for customizations is enabled"
add_payment_infoSent automatically
purchaseSent automaticallyIncludes transaction_id, tax, shipping, coupon, customer_type
select_item, view_promotion, select_promotion, add_to_wishlistNot in the listSet up yourself if you need them
refundNot in the listSend from your server if you want refunds in GA4

Three details from Google's pages:

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:

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

  1. 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
  2. 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
  3. 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
  4. 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.
  5. Validate server events separately. The Measurement Protocol "does not return HTTP error codes, even if an event is malformed". Post to /debug/mp/collect first: the validation server returns messages naming the faulty field, and nothing reaches your reports.10Google for Developers, Validate Measurement Protocol events
  6. 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:

ReportWhereBuilt from
Ecommerce purchasesReports, MonetizationItem-level data from your ecommerce events (item brand, category, revenue)6Google Analytics Help, [GA4] Ecommerce purchases report
TransactionsReports, Monetization (Life cycle)purchase and refund, by transaction_id7Google Analytics Help, [GA4] Transactions report
Checkout journeyReports, Monetization (Life cycle)begin_checkout, add_shipping_info, add_payment_info, purchase5Google Analytics Help, [GA4] Checkout journey report
Monetization overviewReports, MonetizationEcommerce revenue and purchases4Google Analytics Help, [GA4] Set up ecommerce events
PromotionsReportsview_promotion and select_promotion with an items array2Google for Developers, GA4 recommended events reference
Funnel explorationExploreAny 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.

Nick Bonnassies

CMO at Tagada

CMO at Tagada. Before Tagada, Nick built direct-to-consumer brands that generated over $115M in sales, raised over $25M in crowdfunding and sold two of them. He also works as a fractional CMO on marketing operations and AI systems.

Frequently asked questions

What are the ecommerce events in GA4?

Google lists 14 recommended ecommerce events: view_item_list, select_item, view_item, add_to_wishlist, add_to_cart, remove_from_cart, view_cart, begin_checkout, add_shipping_info, add_payment_info, purchase, refund, view_promotion and select_promotion. They aren't collected automatically on a custom site: you or your platform must send them with an items array.

Is transaction_id required for the GA4 purchase event?

Yes. Google's reference marks transaction_id as required for purchase and refund. GA4 uses it to deduplicate purchases that share an ID and to match refunds to the original order. Use the order number, keep it unique per order and per user, and never send an empty string: GA4 deduplicates all purchases with an empty ID together.

Should value include shipping and tax in GA4?

No. Google's reference says to set value to the sum of price × quantity for all items, without shipping or tax. Send shipping and tax in their own parameters on purchase and refund. Shopify's Google & YouTube app follows the same rule: its value includes discounts but excludes shipping and taxes.

Why is my GA4 purchase event not showing in reports?

Common causes: the event name is misspelled, a required parameter is missing so GA4 treats it as a custom event, the thank-you page never loaded after a redirect payment, consent was refused, or reports haven't processed yet. Google says reports can take up to 24 hours. Check the event in DebugView first.

How do I track refunds in GA4?

Send a refund event with the original transaction_id. For a partial refund, list only the refunded items with item_id and quantity; for a full refund, list every item. Refunds usually happen in your back office, so send them from your server with the Measurement Protocol. GA4 subtracts refunds from purchase revenue.

Which GA4 ecommerce events does Shopify track automatically?

With the Google & YouTube app, Google's reference lists page_view, view_item_list, view_item, add_to_cart, remove_from_cart, view_cart, begin_checkout, add_shipping_info, add_payment_info, purchase and search. add_shipping_info needs Checkout Extensibility. select_item, promotions, wishlist and refund aren't in the list, so set them up yourself, and send refunds from your server if you want them in GA4 revenue.

Sources

Checked October 14, 2026
  1. Google for Developers, Measure ecommerce (GA4), last updated August 19, 2026
  2. Google for Developers, GA4 recommended events reference
  3. Google Analytics Help, Minimize duplicate key events with transaction IDs
  4. Google Analytics Help, [GA4] Set up ecommerce events
  5. Google Analytics Help, [GA4] Checkout journey report
  6. Google Analytics Help, [GA4] Ecommerce purchases report
  7. Google Analytics Help, [GA4] Transactions report
  8. Google for Developers, Send Measurement Protocol events to Google Analytics
  9. Google for Developers, Measurement Protocol use cases
  10. Google for Developers, Validate Measurement Protocol events
  11. Google Analytics Help, Monitor events in DebugView
  12. Google Tag Platform, Shopify event parameters (Google & YouTube app), last updated July 28, 2026
  13. Google Ads Help, Shopify: Set up your Google tag
  14. Shopify Help Center, Tracking ecommerce events using Google Analytics
  15. 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.

  1. 01Create your free account
  2. 02Connect your store or build a checkout
  3. 03Launch funnels, upsells and subscriptions