How to Track Ecommerce in GA4 (Without Losing Your Mind)

So you’re trying to set up ecommerce tracking in GA4, and you’re probably wondering why something that used to be relatively straightforward in Universal Analytics now feels like you need a computer science degree.

I feel you.

GA4’s ecommerce tracking is… different. It’s more flexible and powerful in theory, but in practice, it’s also way more complicated to set up and even harder to actually read once you’ve got it running.

The good news?

I’m going to walk you through it step-by-step, in plain English, without all the Google jargon that makes your eyes glaze over.

First things first: Why is GA4 ecommerce so different?

Universal Analytics had Enhanced Ecommerce, which was basically plug-and-play if you were on Shopify, WooCommerce, or any major platform. You’d add some code, flip a switch, and boom, product data, transaction data, all there.

GA4 threw all that out and rebuilt ecommerce tracking from scratch using their new “events” model. Instead of having dedicated ecommerce hits, everything is now an event with parameters.

Is it better? Debatable.

Is it more confusing to set up? Absolutely.

But once it’s working, you get way more flexibility. You can track things like “add to wishlist,” “begin checkout,” “add payment info,” and build custom funnels that actually show you where people are dropping off.

You just have to survive the setup first…

The ecommerce events you need to track

GA4 has a bunch of recommended ecommerce events. You don’t have to implement all of them, but here are the core ones you should prioritize:

Must-have events (the bare minimum):

  1. view_item — Someone looked at a product page
  2. add_to_cart — Someone added a product to their cart
  3. begin_checkout — Someone started the checkout process
  4. purchase — Someone actually bought something (this is the big one)

Nice-to-have events (if you want more detail):

  1. view_item_list — Someone saw a category or collection page
  2. remove_from_cart — Someone took something out of their cart
  3. add_payment_info — Someone entered payment details
  4. add_shipping_info — Someone entered shipping info
  5. view_cart — Someone viewed their cart

The more of these you implement, the better your funnel analysis will be. But if you’re just starting out, focus on the top four.

How to actually set this up

Okay, here’s where it gets technical. How you set this up depends entirely on your platform.

Option 1: You’re on Shopify, WooCommerce, or a major site platform

Easiest path: Use an official plugin or integration.

  • Shopify: Install the official Google & YouTube app from the Shopify App Store. It handles most GA4 ecommerce tracking automatically.
  • WooCommerce: Use the “Google Listings & Ads” plugin or a dedicated GA4 plugin like “WooCommerce Google Analytics Integration.”
  • BigCommerce, Magento, etc.: Check their app stores for official GA4 integrations.
  • WordPress: Use the Google Tag Manager plugin to set up your Google tag, and you can flip some switches in the plugin to get it working.

These plugins usually handle the core events (view_item, add_to_cart, begin_checkout, purchase) out of the box. You might need to tweak settings, but the heavy lifting is done for you.

Option 2: You’re on a custom site or platform without a plugin

Harder path: You’ll need to implement the GA4 ecommerce events manually using Google Tag Manager (GTM).

Here’s the high-level process:

  1. Set up your data layer — Your site needs to push ecommerce data into a data layer (a JavaScript object) that GTM can read. This includes product names, IDs, prices, categories, etc.
  2. Create triggers in GTM — Set up triggers for each event (like when someone clicks “Add to Cart” or lands on a product page).
  3. Create GA4 event tags in GTM — For each trigger, create a GA4 event tag that sends the data to GA4 with the correct event name and parameters.

I’m not going to lie: this part is tedious. If you’re not comfortable with JavaScript and GTM, you might want to hire a developer or use a service like Elevar or Littledata that automates this for you.

Option 3: Use Google Tag Manager’s built-in ecommerce variable

If your site already has a data layer (many modern platforms do), GTM has built-in ecommerce variables that can automatically pull product data.

  1. In GTM, go to Variables → Configure and enable all the built-in ecommerce variables
  2. Set up your event tags and map the ecommerce variables to GA4’s required parameters
  3. Test everything in GTM’s preview mode before publishing

Still technical, but slightly less painful than building everything from scratch.

The GA4 ecommerce parameters you need to include

When you send an ecommerce event to GA4, you need to include specific parameters (basically, details about the product and transaction).

Here are the key ones:

For most events:

  • currency — Like “USD” or “EUR”
  • value — Total value of the transaction or cart
  • items — An array of products with details (see below)

For each item in the “items” array:

  • item_id — Product ID or SKU
  • item_name — Product name
  • price — Price of one unit
  • quantity — How many they’re buying
  • item_category — Product category (optional but useful)

For the “purchase” event specifically:

  • transaction_id — A unique order ID
  • tax — Tax amount (optional)
  • shipping — Shipping cost (optional)

If you’re using a plugin, this is usually handled automatically. If you’re doing it manually, you need to make sure your data layer includes all of this.

How to check if it’s actually working

Okay, you’ve set everything up. Now what? You need to test it before you trust it.

Step 1: Use GA4’s DebugView

  1. In GA4, go to Admin → DebugView (under Property)
  2. Install the Google Analytics Debugger Chrome extension and turn it on
  3. Visit your site and trigger the ecommerce events (view a product, add to cart, checkout)
  4. Watch DebugView in real-time to see if the events are firing with the correct parameters

If you see your events showing up with all the right data, you’re golden. If not, go back and check your GTM setup or plugin settings.

Step 2: Wait 24-48 hours and check your reports

GA4 ecommerce data can take up to 48 hours to fully populate in reports (yeah, it’s annoying).

After a couple of days:

  1. Go to Reports → Monetization → Ecommerce purchases
  2. Check if you’re seeing transaction data, revenue, product names, etc.

If data is showing up here, congrats, you did it.

How to actually read your GA4 ecommerce reports

Even after you set up ecommerce tracking correctly, GA4’s built-in reports are still kind of a mess.

Where to find your ecommerce data in GA4?

Even finding them is hard.

  • Monetization Overview — High-level revenue, transactions, average order value
  • Ecommerce Purchases — Transaction-level details, top products, revenue by source
  • Item Promotions — If you’re tracking promo clicks
  • Explorations — For custom funnels (view_item → add_to_cart → purchase)

The Monetization section gives you the basics, but if you want to do any real analysis like “which traffic source drives the highest AOV?” or “where are people dropping off in checkout?” you’re going to need Explorations.

And as we’ve covered before, Explorations are… not fun.

Common mistakes (and how to fix them)

If you don’t include a unique transaction_id, GA4 might deduplicate or miscount orders. Always include it.

If you’re selling in multiple currencies, make sure you’re sending the right currency code for each transaction. GA4 won’t auto-convert.

I can’t stress this enough: test everything in DebugView before you assume it’s working. It’s way easier to catch errors immediately than to realize 3 months later that nothing was tracked.

In GA4, go to Admin → Data Streams → click your web stream → make sure “Enhanced measurement” is toggled ON. This doesn’t handle ecommerce directly, but it captures important events like scrolls and clicks that help with context.

The honest truth about GA4 ecommerce

GA4 ecommerce tracking is powerful, but it’s also a pain to set up and even harder to read once it’s running.

If you’re on a major platform like Shopify or WooCommerce, use a plugin and save yourself the headache. If you’re on a custom build, consider hiring someone or using a service that automates it.

And once it’s set up? The data is there, buried in GA4’s confusing interface. You can extract it, but it’s going to take time, clicks, and probably a few deep breaths.

The good news is that since GA4 has an API, you don’t have to rely on Google’s clunky reports. Tools exist that pull your ecommerce data and present it in a way that actually makes sense: clean revenue trends, top products, conversion funnels that don’t require a PhD in Explorations.

Because honestly, setting up ecommerce tracking is hard enough. Reading the data shouldn’t be.

Tired of fighting with GA4’s ecommerce reports? ClarioMetrics pulls your ecommerce data and turns it into clear, simple dashboards—revenue, top products, conversion rates, all in one place. Try it free.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *