GA4 Ecommerce Validator
Validate your GA4 ecommerce event structure
How It Works
Paste your ecommerce object
Copy the ecommerce parameter object from your implementation and paste it in JSON format.
Select the event type
Choose the GA4 event type — purchase, add_to_cart, view_item, etc.
Review validation results
See which required fields are present, missing, or incorrectly typed.
GA4 Ecommerce Validator
We fetch the page source to check if GA4 and GTM are installed. Because ecommerce events fire via JavaScript at runtime, we also look for static dataLayer pushes baked into the page HTML (common on order confirmation pages).
Static ecommerce dataLayer pushes found in HTML:
How to use the Live Event Monitor
- Copy the snippet below
- Open your website in Chrome
- Open DevTools Console (F12 → Console tab)
- Paste the snippet and press Enter
- Trigger an action (add to cart, checkout, purchase)
- Ecommerce events will appear in the console in real time
Console Monitor Snippet
What the monitor detects:
- ✅ purchase, add_to_cart, remove_from_cart, view_item
- ✅ begin_checkout, add_payment_info, add_shipping_info
- ✅ view_item_list, select_item
- ✅ Missing required fields (transaction_id, value, currency)
- ✅ Duplicate transaction_id detection
Why GA4 Ecommerce Event Validation Is Non-Negotiable
GA4 ecommerce tracking gives online stores insight into customer behaviour — from which product lists drive the most add-to-cart actions, to how checkout funnel drop-off rates vary by device and traffic source. A single missing required field causes purchase events to be recorded without revenue attribution, rendering your entire ecommerce reporting unreliable.
Required Fields for Each GA4 Ecommerce Event
- purchase — Required: transaction_id (string), currency (ISO 4217 code), value (number). Items array required.
- add_to_cart / remove_from_cart — Required: currency, value, items array.
- view_item / view_item_list — Required: items array. currency and value are recommended.
- begin_checkout — Required: currency, value, items. Recommended: coupon for discount tracking.
GA4 Ecommerce and Google Ads Conversion Import
When GA4 ecommerce is set up correctly and linked to Google Ads, your purchase events automatically import into Google Ads as conversion actions — complete with accurate revenue values. This revenue data feeds directly into Target ROAS bidding strategies. A single validation error — like sending value: 0 or omitting the currency parameter — causes all your Google Ads conversion values to show as zero, breaking ROAS bidding.