Skip to content
Tracking & Analytics

GA4 ecommerce tracking for online stores: the events that matter

GA4 can show how shoppers move from product page to purchase, but only if the right events are sent with the right details. Here is what to track and check.

Written byTracking & Analytics Team
Nov 22, 20262 min read
Ecommerce events flowing from a store into GA4
Contents1 of 7

Key points

  • GA4 ecommerce reports depend on a small set of standard events.
  • The purchase event needs a transaction ID, value, currency and items.
  • Check GA4 against store orders regularly, not just once.
Summarize with AI:ChatGPTClaudePerplexity

GA4 can show how shoppers move through your store, from viewing a product to buying it. Those reports only work when your store sends the right ecommerce events, with the right details, at the right moments.

The core events

Google defines a set of recommended ecommerce events. For most stores, these matter most:

  • view_item, when a shopper views a product page
  • add_to_cart, when a product is added to the cart
  • view_cart, when the cart is opened
  • begin_checkout, when checkout starts
  • add_shipping_info and add_payment_info, during checkout
  • purchase, when the order is complete

Using these exact names lets GA4 fill its built-in ecommerce reports.

The details each event needs

Events are more useful with the right parameters:

  • items, with the product ID, name, price, quantity and variant
  • value and currency, for events with a money value
  • transaction_id on the purchase, usually the order number

The transaction ID matters most. It lets GA4 ignore a purchase that is sent twice with the same ID, for example when the confirmation page is reloaded.

How stores usually send events

On Shopify, the Google & YouTube app can send GA4 events, and some stores use Google Tag Manager with custom pixels for more control. On WooCommerce, stores often use a plugin that adds a data layer, together with Google Tag Manager. Whichever you use, avoid running two setups that both send the same events.

Want this checked for your store?A senior specialist reviews it and sends clear next steps.
Get Started

How to check your setup

  1. Use GA4 DebugView or Tag Assistant while you browse, add to cart and place a test order.
  2. Check that each event fires once, at the right moment, with the right parameters.
  3. Compare GA4 purchases and revenue with your store orders for the same dates and time zone.
  4. Check that the currency is right and that tax and shipping are handled the same way each time.

Why numbers will not match exactly

Consent choices, ad blockers and browser limits mean GA4 will usually see fewer purchases than your store records. Small gaps are normal. Large or sudden gaps point to a tracking problem, such as a missing purchase event for one payment method.

Keep it checked

Theme updates, checkout changes and new apps can break tracking without warning. Compare GA4 with store orders regularly, and test the main events after any change to your store.

FAQ

Do I need Google Tag Manager for GA4?

No, but it helps. Tag Manager with a data layer gives you more control over which events are sent and what details they include, especially when you also send data to ad platforms.

Why does GA4 show less revenue than my store?

Common reasons include consent choices, ad blockers, missing purchase events from some payment methods, and differences in how tax, shipping and refunds are counted.

Should I use the platform integration or a custom setup?

Platform integrations are a good start. A custom setup with a data layer gives more control and is easier to keep consistent across GA4, Google Ads and Meta.

Tracking & Analytics Team

Senior specialists who work with Shopify and WooCommerce stores in the US.

Free growth audit

Find what's holding your store back.

A senior specialist reviews your store and sends a written, prioritized overview. No obligation.

  1. 1Share your storeTakes about a minute
  2. 2We review itTracking, ads, product pages, checkout
  3. 3You get a priority list
Sample audit reportyourstore.com · example onlyIllustrative
  • Tracking & dataGA4 purchase value doesn't match ordersHigh
  • Ads & feed14 products disapproved in Merchant CenterHigh
  • Product pageNo delivery info above the foldMedium
  • CheckoutAccount creation required before paymentMedium
  • RetentionNo abandoned-cart email flowQuick win

Example of the prioritized findings you receive.

Request your free audit

Five quick fields.

We’ll review your request and get back to you. Your written priority list follows after the review.

Step 1 of 3 · Your store

Which platform is your store on? *
Talk to specialists

How would you like to reach us?

A senior specialist reads every request. Choose what suits you.

Select a date