1. Home
  2. Docs
  3. Lean GA4 Tracker?
  4. Settings
  5. WooCommerce

WooCommerce

WooCommerce Tracking Configuration Guide

Accessing WooCommerce Settings

  1. Navigate to Lean GA4 Tracker > Settings in your WordPress dashboard
  2. Select the WooCommerce tab from the top menu

Available Tracking Options

Enable enhanced ecommerce tracking for these key WooCommerce interactions:

1. Track Add to Cart

  • What it tracks: When customers add products to cart
  • Data captured:
  • Product ID, name, and price
  • Quantity added
  • Product category
  • Recommended: ? Enable for all stores

2. Track Begin Checkout

  • What it tracks: When customers reach checkout page
  • Data captured:
  • Number of items in cart
  • Total cart value
  • Coupon codes (if applied)
  • Recommended: ? Enable for conversion funnel analysis

3. Track Purchases

  • What it tracks: Completed orders
  • Data captured:
  • Order ID and value
  • Product details (SKU, quantity, price)
  • Shipping method
  • Tax amount
  • Required: ? Essential for ROI tracking

Implementation Guide

  1. For basic tracking: Enable all three checkboxes
  2. For performance optimization:
  • Enable only “Track Purchases” if minimal tracking is needed
  • Enable all options for full funnel analysis
  1. Click Save Changes

Data Flow to GA4

graph TD
    A[Customer Action] --> B[WooCommerce Event]
    B --> C[GA4 Event]
    C --> D[GA4 Reports]Code language: CSS (css)

Verification & Testing

  1. Test scenarios:
  • Add test product to cart
  • Proceed through checkout
  • Complete test purchase (use sandbox mode)
  1. Verification tools:
  • GA4 DebugView
  • Google Tag Assistant
  • Plugin’s Debug tab

How can we help?