Why WooCommerce add-to-cart events aren’t showing product data in GA4 and how to fix it

If you are tracking WooCommerce events in Google Analytics 4 (GA4), you may run into a common issue: your add_to_cart event fires, but key data like product ID, price, or currency is missing.

This leads to incomplete ecommerce reporting and makes it difficult to analyze user behavior and revenue performance accurately.

In this guide, we will walk through why this happens and how to fix it.

Issue Background

A WooCommerce site was tracking events such as add_to_cart in GA4. While the events were firing correctly, important ecommerce data such as product details, currency, and value were not appearing in GA4 reports.

The goal was to capture detailed cart data, including items added, pricing, and currency, but testing showed that this information was not being passed correctly.

Diagnosis

GA4 requires ecommerce events to follow a strict data structure. For events like add_to_cart, this includes an items array with properly formatted fields such as item_id, item_name, price, currency, and quantity.

If this structure is missing or incorrect, GA4 will still register the event but will not display any associated ecommerce data.

In this case, the tracking setup was sending the event but not consistently including the required ecommerce parameters. There were also indications of custom event configurations that did not match GA4’s expected schema.

Additionally, the existing plugin handling GA4 tracking had limited support for full ecommerce data, especially when combined with custom theme or data layer modifications.

Resolution Steps

1. Confirm the event is firing.

Use GA4 DebugView or browser tools to verify that the add_to_cart event is triggering.

2. Inspect the data layer.

Check whether the ecommerce data is being pushed in the correct format. A proper structure should include currency, value, and an items array with product details.

3. Evaluate your current plugin.

Some plugins, such as Google Analytics for WooCommerce, may not fully support GA4 ecommerce tracking. This can result in missing or incomplete data.

4. Use a GA4-optimized plugin.

Switching to a more robust solution can resolve these issues. Recommended options include WooCommerce Google Analytics Pro, Conversios.io (Enhanced Ecommerce GA4), and MonsterInsights Pro.

5. Avoid conflicting tracking setups.

Ensure you are not running both Google Tag Manager and direct Google tag implementations without coordination, as this can interfere with data tracking.

6. Test in a staging environment.

Before applying changes to your live site, test your setup in a staging environment to confirm that all ecommerce data is being sent correctly.

7. Validate results in GA4.

After implementing changes, review GA4 reports and DebugView to confirm that product data, currency, and values are now appearing correctly.

Final Outcome

By identifying the limitations of the original tracking setup and moving to a more compatible GA4 solution, ecommerce data began flowing correctly into GA4.

This allowed for accurate tracking of add-to-cart events, product performance, and revenue data.

The key takeaway is that GA4 requires strict data formatting, and not all plugins fully support this out of the box. Choosing the right integration and validating your data layer are critical for accurate reporting.

If your WooCommerce site is missing ecommerce data in GA4 or you need help setting up reliable tracking, contact Freshy.