GA4 E-Commerce Tracking: Complete Setup Guide
GA4 e-commerce tracking requires pushing specific events with structured item arrays to the data layer: view_item, add_to_cart, begin_checkout, add_payment_info, add_shipping_info, and purchase. Each event includes an items array with item_id, item_name, price, quantity, and optional parameters (bra
Quick Summary
GA4 e-commerce tracking requires pushing specific events with structured item arrays to the data layer: view_item, add_to_cart, begin_checkout, add_payment_info, add_shipping_info, and purchase. Each event includes an items array with item_id, item_name, price, quantity, and optional parameters (brand, category, variant). Implement via GTM data layer pushes from your e-commerce platform. Shopify and WooCommerce have plugins that handle this automatically. For custom platforms, work with your developer to push events at each stage of the shopping funnel.
Overview
GA4 e-commerce tracking requires pushing specific events with structured item arrays to the data layer: view_item, add_to_cart, begin_checkout, add_payment_info, add_shipping_info, and purchase. Each event includes an items array with item_id, item_name, price, quantity, and optional parameters (brand, category, variant). Implement via GTM data layer pushes from your e-commerce platform. Shopify and WooCommerce have plugins that handle this automatically. For custom platforms, work with your developer to push events at each stage of the shopping funnel.
Related Guides
See our complete guide library for detailed coverage of setup, tracking, analysis, and optimisation across all platforms.
Process Flow
Interactive diagram — drag to pan, scroll to zoom
Step-by-Step Guide
Follow these 3 steps to complete this guide
Step-by-Step Setup
Best Practices
Common Issues and Solutions
Frequently Asked Questions
Common questions about this topic
Was this guide helpful?
Your feedback helps us improve our guides