What an Ideal Ecommerce GA4 Setup Looks Like
An ecommerce business running GA4 correctly can answer: which channels drive high-LTV customers? Which product categories have the best add-to-cart rates? Where in the checkout does the most abandonment occur? Which marketing campaigns drive repeat buyers?
Most ecommerce GA4 setups answer none of these questions accurately because the implementation is incomplete. This measurement plan covers what "complete" looks like.
Layer 1: Full Ecommerce Event Implementation
All recommended ecommerce events must be implemented (not just purchase):
view_item_list: on all product listing and category pagesselect_item: when a user clicks a product from a listview_item: on all product detail pagesadd_to_cart: when a product is added to cartremove_from_cart: when a product is removed from cartview_cart: when the cart page/sidebar is viewedbegin_checkout: when checkout is initiatedadd_shipping_info: when shipping method is selectedadd_payment_info: when payment method is selectedpurchase: on order confirmationrefund: when a refund is processed
Without the full event set, the GA4 Monetisation funnel reports (Purchase Journey, Checkout Journey) are incomplete and misleading.
Layer 2: Rich Item Data
Every item in the items array should include:
item_id: SKU or product IDitem_name: product nameitem_brand: branditem_categorythroughitem_category5: full category hierarchyprice: current selling pricequantity: quantity in basketdiscount: any discount applieditem_list_name: which product list the item was discovered in
Rich item data enables product performance reports (revenue by category, brand, etc.) and list attribution (which product list leads to the most purchases).
Layer 3: Custom Dimensions for Ecommerce Context
is_first_purchase(event-scoped on purchase): true/false — allows first-purchase vs repeat-purchase analysiscustomer_type(user-scoped): "new" or "returning" — persistent across sessionsorder_type: "subscription" or "one-time" for mixed-model businessescoupon_applied: boolean to segment discount-driven vs full-price orders
Layer 4: Server-Side Purchase Tracking
Client-side purchase events on the thank-you page are vulnerable to: page refresh duplicates, users closing the browser before the tag fires, and ad blocker suppression. For high-value orders, implement a server-side confirmation that sends the purchase event to GA4 via the Measurement Protocol when the order is confirmed in your system — not just when the thank-you page loads.
Use transaction_id for deduplication between client-side and server-side events.
Layer 5: Key Events and Google Ads Integration
Mark purchase as the primary Key Event with value from the value parameter. Import to Google Ads as a conversion action for Smart Shopping and Performance Max campaigns. The revenue value enables ROAS bidding.
Also consider: add_to_cart as a secondary conversion (supports Top of Funnel bidding strategies) and begin_checkout as another signal.
Layer 6: Remarketing Audiences
Configure these ecommerce audiences in GA4 for Google Ads remarketing:
- Cart abandoners (add_to_cart without purchase, 7-day window)
- Checkout abandoners (begin_checkout without purchase, 14-day window)
- Recent purchasers (purchase in last 30 days) for upsell/cross-sell
- Product category viewers (for category-specific remarketing)
Summary
An ideal ecommerce GA4 setup has all 11 recommended events, rich item data on every event, custom dimensions for business context, server-side purchase confirmation for reliability, and remarketing audiences set up in GA4 for Google Ads. This is the foundation that makes ecommerce analytics actually drive business decisions.
See our Enhanced Ecommerce Tracking service for implementation.
Need full ecommerce tracking set up in GA4? Contact Adslytics.
Need expert tracking setup?
Our Google Tag Manager experts have delivered 500+ tracking setups with a 98% success rate.
Get a Free Consultation →