Support » Plugin: Google Tag Manager for WordPress » gtm4wp.removeFromCartEEC doesn’t have currencyCode on the Cart page

  • Hi Thomas!

    I am previewing the Data Layer, and I have noticed that on the /cart/ page, removing an item from the cart does trigger gtm4wp.removeFromCartEEC event, but it doesn’t have the currencyCode variable. (Which is recommended for GA4).

    event: ‘gtm4wp.removeFromCartEEC’,
    ecommerce: {
    remove: {
    products: [
    {
    name: ‘Productname’,
    id: 0000,
    price: 0000,
    category: ‘Product Category name’,
    variant: ”,
    stocklevel: ”,
    brand: ‘Product brand’,
    quantity: ‘1’
    }
    ]
    }
    }

    Thanks!

    • This topic was modified 3 months, 2 weeks ago by CroMisho.
    • This topic was modified 3 months, 2 weeks ago by CroMisho.
Viewing 1 replies (of 1 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    Thanks, indeed, it did not include currencyCode, I added this into the dev version of the plugin. I am working currently on the GA4 data layer codes, once it is ready, this patch will be also included.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.