← Back to Blog

GA4 eCommerce Tracking Setup 2025 - Google Tag Manager for WooCommerce

Need this set up on your website? I can audit and fix it for you.

Book a Free Audit

Want to track your WooCommerce sales accurately with GA4? Missing e-commerce data means you're making blind marketing decisions.

In this complete 2025 tutorial, I'll show you how to set up Google Analytics 4 (GA4) eCommerce tracking using Google Tag Manager (GTM) for WordPress WooCommerce stores.

No more missing data. No more broken tracking.

Why WooCommerce GA4 Tracking Matters

Without proper e-commerce tracking:

The Complete E-commerce Funnel

Track every step of the customer journey:

view_item → add_to_cart → begin_checkout → purchase

Each event gives you critical insights:

Event What It Tracks Why It Matters
view_item Product page views Product interest
add_to_cart Cart additions Purchase intent
begin_checkout Checkout starts Funnel entry
add_payment_info Payment details Commitment level
purchase Completed orders Revenue & conversions

What You'll Learn

1. GA4 eCommerce Tracking Setup (Step-by-Step)

Complete configuration:

2. Google Tag Manager Configuration for WooCommerce

Full GTM setup:

3. Track All Key Events

Every e-commerce event:

view_item

add_to_cart

begin_checkout

purchase

4. Fix Common Tracking Issues

Solve these problems:

5. Ensure Accurate Revenue & Conversion Data

Get reliable data:

WooCommerce Data Layer Setup

The data layer is crucial for accurate tracking. Here's what you need:

Product Page Data Layer

dataLayer.push({
  event: 'view_item',
  ecommerce: {
    currency: 'USD',
    value: 29.99,
    items: [{
      item_id: 'SKU123',
      item_name: 'Product Name',
      price: 29.99,
      quantity: 1
    }]
  }
});

Purchase Data Layer

dataLayer.push({
  event: 'purchase',
  ecommerce: {
    transaction_id: 'T12345',
    value: 59.98,
    currency: 'USD',
    items: [...]
  }
});

WooCommerce Tracking Methods

Method 1: Plugin-Based (Easier)

Use a data layer plugin:

Pros: Quick setup, automatic data layer Cons: Less control, potential conflicts

Method 2: Custom Implementation (Recommended)

Build custom data layer:

Pros: Complete control, reliable Cons: Requires development

Common WooCommerce GA4 Issues

Issue 1: Purchase Event Not Firing

Symptoms:

Causes:

Solution:

Issue 2: Missing Product Data

Symptoms:

Causes:

Solution:

Issue 3: Duplicate Transactions

Symptoms:

Causes:

Solution:

Issue 4: Wrong Currency/Value

Symptoms:

Causes:

Solution:

GA4 E-commerce Reports

After setup, access these reports:

Monetization Reports

Custom Explorations

Build custom reports:

WooCommerce + Google Ads Integration

Connect e-commerce data to ads:

Dynamic Remarketing

Conversion Tracking

Audience Building

Industries Using WooCommerce

This guide helps:

WordPress Themes Compatibility

Works with popular themes:

Plugin Compatibility

Tested with:

Advanced WooCommerce Tracking

Server-Side Tracking

Improve data accuracy:

Enhanced E-commerce

Track additional events:

Custom Dimensions

Add business context:

Need Professional Help?

If your WooCommerce tracking is:

I can fix it for you.

Services include:

Contact me or message me on WhatsApp for a free tracking audit.

Free Debugging Tool

Debug your WooCommerce tracking with my Chrome extension:

Insighter Debugger - See exactly what's firing on your store:

Get Insighter Debugger


Stop losing e-commerce data. Set up accurate WooCommerce GA4 tracking today.


Keywords: WooCommerce GA4 tracking, GA4 eCommerce setup, WooCommerce Google Tag Manager, WordPress GA4 tracking, WooCommerce purchase tracking, GA4 eCommerce events, WooCommerce data layer, GTM WooCommerce setup, GA4 WooCommerce tutorial 2025

Is Your Tracking Missing Conversions?

Book a free 15-minute audit call. I'll review your setup and show you exactly what is broken and how to fix it.

Chat Now