GA4 E-Commerce Tracking Setup Checklist for 2025

Proper GA4 e-commerce tracking is essential for understanding which products sell, which marketing channels drive revenue, and where customers drop off in the purchase funnel. This checklist walks through every step of setting up comprehensive e-commerce tracking in Google Analytics 4.

Pre-Setup Requirements

  • Google Analytics 4 property created and connected to your site
  • Google Tag Manager (GTM) installed on all pages (recommended approach)
  • Access to your e-commerce platform’s data layer or API
  • Admin access to GA4 and GTM

Step 1: Enable E-Commerce Reports in GA4

  1. Go to GA4 Admin → Property Settings
  2. Verify that the property is set to the correct currency
  3. Navigate to Data Streams and confirm your web stream is receiving data
  4. E-commerce reports appear automatically once e-commerce events are tracked

Step 2: Implement the Data Layer

The data layer is the foundation of e-commerce tracking. It passes product and transaction data to Google Tag Manager.

Key Data Layer Events

  • view_item_list: When a user sees a list of products (category page, search results)
  • view_item: When a user views a product detail page
  • add_to_cart: When a user adds a product to their cart
  • remove_from_cart: When a user removes a product from their cart
  • begin_checkout: When a user starts the checkout process
  • add_shipping_info: When shipping information is entered
  • add_payment_info: When payment information is entered
  • purchase: When a transaction is completed
  • refund: When a refund is processed

Required Item Parameters

Each product in e-commerce events should include:

  • item_id: Unique product identifier (SKU)
  • item_name: Product name
  • price: Product price
  • quantity: Number of items
  • item_category: Product category
  • item_brand: Product brand (optional but recommended)
  • item_variant: Size, color, or other variant (optional)

Step 3: Configure Google Tag Manager

Create GA4 Event Tags

For each e-commerce event, create a GA4 Event tag in GTM:

  1. Create a new tag: GA4 Event
  2. Set the event name to match the GA4 e-commerce event (e.g., purchase)
  3. Configure the trigger to fire on the corresponding data layer event
  4. Map data layer variables to GA4 event parameters

Create Data Layer Variables

Create GTM variables that read from the data layer:

  • Transaction ID
  • Transaction value
  • Currency
  • Items array (products)
  • Shipping cost
  • Tax amount

Step 4: Platform-Specific Setup

Shopify

  • Use the native Google Analytics integration for basic tracking
  • For advanced tracking, use a Shopify GA4 app or custom data layer implementation
  • Verify checkout tracking works (Shopify’s checkout is hosted separately)

WooCommerce

  • Install a GA4 plugin (Google Listings & Ads or a dedicated GA4 WooCommerce plugin)
  • Configure the plugin to push data layer events on relevant pages
  • Test the full purchase funnel from product view to order confirmation

Custom Platforms

  • Implement the data layer manually following Google’s e-commerce documentation
  • Push events at the correct points in the user journey
  • Ensure the purchase event fires only once per transaction

Step 5: Set Up Conversions

  1. In GA4, go to Admin → Events
  2. Find the “purchase” event and mark it as a conversion
  3. Optionally mark “add_to_cart” and “begin_checkout” as conversions for funnel analysis
  4. Verify conversions are recording in the Conversions report

Step 6: Configure E-Commerce Reports

Key Reports to Set Up

  • Monetization Overview: Total revenue, purchases, and average purchase value
  • E-commerce Purchases: Product-level performance (views, add-to-carts, purchases)
  • Purchase Journey: Funnel visualization from session start to purchase
  • Checkout Journey: Detailed checkout step analysis

Custom Explorations

Build custom explorations for deeper analysis:

  • Product performance funnel: view_item → add_to_cart → begin_checkout → purchase
  • Revenue by traffic source: Which channels drive the most revenue?
  • Product affinity: Which products are commonly purchased together?

Step 7: Test Everything

GTM Preview Mode

  • Use GTM’s Preview mode to verify each tag fires on the correct event
  • Walk through the full purchase funnel and confirm all events fire
  • Verify event parameters contain correct product and transaction data

GA4 DebugView

  • Enable Debug mode in GA4 to see events in real time
  • Verify each e-commerce event appears with correct parameters
  • Check that the purchase event includes transaction_id, value, and items

Real Data Verification

  • Make a test purchase and verify it appears in GA4 reports within 24-48 hours
  • Compare GA4 revenue data against your e-commerce platform’s reports
  • Check for discrepancies and investigate causes (ad blockers, payment failures, etc.)

E-Commerce Tracking Checklist

  • GA4 property created with correct currency
  • GTM installed on all pages including checkout
  • Data layer implemented with all required e-commerce events
  • GTM tags created for each e-commerce event
  • Data layer variables configured in GTM
  • Purchase event marked as a conversion in GA4
  • All events tested in GTM Preview mode
  • All events verified in GA4 DebugView
  • Test purchase completed and verified in reports
  • Revenue data cross-referenced with e-commerce platform
  • E-commerce reports reviewed and customized
  • Custom explorations built for key business questions

Common Tracking Issues

  • Duplicate purchase events: Ensure the purchase event fires only once per transaction (use transaction ID deduplication)
  • Missing checkout data: Verify GTM is installed on checkout pages (third-party checkouts like Shopify require special configuration)
  • Currency mismatches: Ensure all events use the same currency code as your GA4 property
  • Ad blocker impact: GA4 tracking is blocked by some ad blockers — expect 10-20% data loss
  • Cross-domain tracking: If checkout is on a different domain, configure cross-domain tracking in GA4

Try Autorank

Generate SEO-optimized blog content and publish to WordPress automatically.