Which GA4 e-commerce events does an online shop need?.
The shopping events in order, how to build the items array, how to send the purchase once, and how to check the data before you trust the reports.
The short answer
Send the recommended GA4 e-commerce events in shopping order, from view_item_list to purchase, with an items array on each one. Google treats these events as the source of the Ecommerce purchases report, so a missing event leaves a gap in the funnel.12 Check each event in DebugView before you rely on the reports.2
These are Google's documented limits when this guide was written. Check the developer documentation before you build, because the event names and limits are updated.
Before you start
The Google tag has to be on the site, and you need access to both Analytics and the site's source code, or to a tag manager that can send the events.1 Turn on debug mode so the events appear in real time while you test.1
Decide on the currency first. Set it on every event that sends a value, at the event level, because it is the currency that standard reports use.1
The events in shopping order
Each event follows the one before it, so the funnel reads in the same order as a shopper's visit.
- view_item_list: a list of products is shown, such as a category page or a set of related products.2
- select_item: the shopper clicks a product from that list.2
- view_item: the product page is opened.2
- add_to_cart: the item goes into the basket. Use
remove_from_cartwhen it leaves, andview_cartwhen the basket is shown.2 - begin_checkout: the first checkout step starts. A coupon can be added here.1
- add_shipping_info and add_payment_info: the shopper enters delivery and payment details. Use
shipping_tierandpayment_typewhen they apply.1 - purchase: the order is complete.1
- refund: an order is refunded, with the same transaction ID.1
The items array
Each product goes in an items array. Every item needs an item_id or an item_name, and both are recommended. price and quantity are optional, and quantity defaults to 1 when it is left out.1
Send every item parameter you have data for, even the optional ones. Coupon, discount, brand, category and list name all feed the reports.1
A shopper adds two units of a tee priced at 10.01 to the cart. The add_to_cart event carries one item with item_id set to the SKU, price set to 10.01 and quantity set to 2. The event's value is 20.02, which is price times quantity.1
See where your website loses revenue.
The purchase event
Send purchase once per order, with a transaction_id that is unique to that order. Google's example sets value to the sum of price times quantity for all items, then adds tax and shipping separately.1
Use the same ID for a refund. A refund event needs the transaction_id, and sending the items with it gives item-level refund figures in Analytics.1
Promotions and banners
Internal promotions have their own events. view_promotion records a banner shown to the shopper, and select_promotion records a click on it. Both take a promotion_id, a promotion_name and the promoted item.1
Measure promotions only if you use them to sell. A homepage banner that nobody clicks adds noise to the funnel.
Check the events before you trust them
Open DebugView while you walk through the shop, from a category page to a test order. Each event should appear in the order above, with the items and values you expect.2 The Realtime report confirms the events arrive from real visits once the setup is live.2
Google's events report also suggests events to collect, based on the data already in the account.2 Treat those suggestions as a checklist, not as a finished plan.
What to read in the reports
The Ecommerce purchases report shows purchases, revenue and the items sold. Compare its revenue with your platform's order totals for the same dates. Large gaps usually mean a missing transaction_id, a second purchase event for one order, or a currency mismatch.1
Set a fixed week for the check, and compare the funnel step by step. A drop between begin_checkout and purchase points at the checkout, not at the product page.
Mistakes to check before you go live
- A purchase event on the thank-you page that refreshes: the same order is counted twice unless the events are set up to send once.
- No currency at event level: the value is read in the wrong currency in standard reports.1
- Items sent outside the items array: item reports stay empty.1
- A missing transaction ID: refunds and purchases cannot be matched.1
Discover your website’s 3 biggest gaps for free.
Frequently asked questions
Which GA4 events do I need for an online shop?
What is the items array?
Why do purchases appear twice in GA4?
Do I need a tag manager for these events?
Sources
- Google for Developers, Measure ecommerce (updated 14 Oct 2026): the events in shopping order, the items array and its limits, the purchase and refund parameters, and the promotion events.
- Google Analytics Help, [GA4] Recommended events: the fourteen events for online sales, DebugView and the Realtime report, and the event recommendations in the Events report.