Title: missing GA4 ecommerce parameter
Last modified: September 13, 2022

---

# missing GA4 ecommerce parameter

 *  Resolved [dmcca](https://wordpress.org/support/users/dmcca/)
 * (@dmcca)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/missing-ga4-ecommerce-parameter/)
 * Hi there,
 * I believe the “GA4 container template” provided on the ‘how to’ article below
   is missing a required parameter. For some ecommerce events, GA4 requires either
   an item_id or an item_name. When a required parameter is missing, GA4 ignores
   the event completely as if it never happened. I recommend adding at least one
   of these as variables, and then adding the variables to the ecommerce tag.
 * variable name = Ecommerce Item ID & Data Layer Variable Name = ecommerce.item_id
   
   variable name = Ecommerce Item Name & Data Layer Variable Name = ecommerce.item_name
   then Event parameter = item_id & Value = {{Ecommerce Item ID}} Event parameter
   = item_name & Value = {{Ecommerce Item Name}}
 * [https://gtm4wp.com/how-to-articles/how-to-setup-enhanced-ecommerce-tracking-google-analytics-4-ga4-version](https://gtm4wp.com/how-to-articles/how-to-setup-enhanced-ecommerce-tracking-google-analytics-4-ga4-version)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmissing-ga4-ecommerce-parameter%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [dmcca](https://wordpress.org/support/users/dmcca/)
 * (@dmcca)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/missing-ga4-ecommerce-parameter/#post-16028735)
 * I’m mistaken. The “items array” contains all the item data required, so there’s
   no need to do what I recommended. I’m sorry for any confusion this may have caused.
 * I’ve got to admit though, I’m still concerned there’s an issue somewhere. The
   parameter names for an items array for GA4 are different than the parameter names
   for an items array for UA enhanced ecommerce. For example, EE id and GA4 item_id
 * In the GTM4WP plugin’s settings at Integration > WooCommerce, there are two options,
   but I wonder if there ought to be a third. The two options are:
    – Track classic
   e-commerce, and – Track enhanced e-commerce.
 * Should there also be an option for the following?
    – Track GA4 e-commerce
 * Otherwise the GTM4WP plugin wouldn’t know to generate dataLayer pushes with the
   items array in the format that GA4 accepts.
    -  This reply was modified 3 years, 8 months ago by [dmcca](https://wordpress.org/support/users/dmcca/).
 *  [jtournier](https://wordpress.org/support/users/jtournier/)
 * (@jtournier)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/missing-ga4-ecommerce-parameter/#post-16354298)
 * Hey,
 * Don’t know if you’ll see this, but how did you resolve the issue of the parameters
   not showing in GA4?
 * Do I need to add additional parameters to the GTM event with variables that pull
   the item_name from the items array?
 * Any help would be appreciated.
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘missing GA4 ecommerce parameter’ is closed to new replies.

 * ![](https://ps.w.org/duracelltomi-google-tag-manager/assets/icon-256x256.png?
   rev=1708451)
 * [GTM4WP - A Google Tag Manager (GTM) plugin for WordPress](https://wordpress.org/plugins/duracelltomi-google-tag-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duracelltomi-google-tag-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/reviews/)

## Tags

 * [GA4](https://wordpress.org/support/topic-tag/ga4/)

 * 2 replies
 * 3 participants
 * Last reply from: [jtournier](https://wordpress.org/support/users/jtournier/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/missing-ga4-ecommerce-parameter/#post-16354298)
 * Status: resolved