GA4 Ecommerce Validator — Check Your Ecommerce Events | Adslytics | Adslytics

🛒

GA4 Ecommerce Validator

Validate your GA4 ecommerce event structure

How It Works

1

Paste your ecommerce object

Copy the ecommerce parameter object from your implementation and paste it in JSON format.

2

Select the event type

Choose the GA4 event type — purchase, add_to_cart, view_item, etc.

3

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).

How to use the Live Event Monitor

  1. Copy the snippet below
  2. Open your website in Chrome
  3. Open DevTools Console (F12 → Console tab)
  4. Paste the snippet and press Enter
  5. Trigger an action (add to cart, checkout, purchase)
  6. 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.

Frequently Asked Questions

Required: transaction_id (string), currency (3-letter ISO code), value (number). The items array is also required, with each item needing at least item_id and item_name.
Usually because the "value" parameter is missing, is a string instead of a number, or the "currency" parameter is absent.
No — each item in the items array must have either item_id or item_name (ideally both).
GA4 expects ISO 4217 3-letter currency codes in uppercase — for example, "USD", "EUR", "GBP".
Use the "discount" parameter on each item object (a positive number representing the monetary discount amount).