Ecommerce events send null quantity and undefined fields
Ecommerce events reach the dataLayer with null or undefined fields such as quantity, value or item IDs, so GA4 drops or misreports purchases.
Tier II · Emerging Problems that are still building up.
3 public reports · first reported 19 February 2025 · last reported 4 December 2025
What's going wrong
Owners of the GTM Kit WordPress plugin report that ecommerce events reach the dataLayer with null quantities or undefined item fields.
AI-assisted: written with the help of AI from the reports. The idea report has the full summary.
In the idea report
- The full summary.
- The products the 3 reports are about, and how many came each month.
- Related problems.
No business has been found with this problem yet, so the report has no contacts. All sales are final — no refunds. Pricing.