Ecommerce Data Comes in Twice
-
Hi Tom,
It looks like the plugin sends the data twice. I am trying to post a screenshot but it does not work.
In the gtm4wp.orderCompletedEEC event all data is sent to the dataLayer twice. I am not sure what I did wrong here. I can’t post a screenshot of the dataLayer, but it looks like this for the “gtm4wp.orderCompletedEEC” event:
{
gtm: {start 123432432324, uniqueEventId: 3432432432432},
event: ‘gtm4wp.orderCompletedEEC’,
ecommerce: {
currencyCode: ‘EUR’
purchase: {
id: xxxx
affiliation: ‘fakename’,
revenue: 0,
tax 0,
shipping: 0,
coupon: ‘testcoupon’
},
products: [
{
id:xxxx,
name: ‘test name’,
SKU: ‘SKU xxxxxxxxxxx’,
category: ‘size: M”,
price: 0,
currency: ‘EUR’,
quantity: ‘1’
}
]
},
google_tag_params: {
ecommerce: {
currencyCode: ‘EUR’
purchase: {
id: xxxx
affiliation: ‘fakename’,
revenue: 0,
tax 0,
shipping: 0,
coupon: ‘testcoupon’
},
products: [
{
id:xxxx,
name: ‘test name’,
SKU: ‘SKU xxxxxxxxxxx’,
category: ‘size: M”,
price: 0,
currency: ‘EUR’,
quantity: ‘1’
}
]
event: ‘gtm4wp.orderCompleteEEC’
}
- The topic ‘Ecommerce Data Comes in Twice’ is closed to new replies.