2 issues (currency+purchase)
-
check this sample page i put
- the datalayer is getting value 0, instead of 50, i know 0 is after i refunded, but isn’t it support to give 50 ?
- the currency is not being extracted from the page with your plugin, i am using wpml WCML
- the purchase event is not triggering this tag i imported from your HOWTO
i see you have this code, but i didn’t understand its purpose
// check app+web ecommerce if ( dataLayer_content.ecommerce && dataLayer_content.ecommerce.items ) { if ( gtm4wp_orderid_tracked && ( dataLayer_content.ecommerce.transaction_id == gtm4wp_orderid_tracked ) ) { delete dataLayer_content.ecommerce.affiliation; delete dataLayer_content.ecommerce.value; delete dataLayer_content.ecommerce.currency; delete dataLayer_content.ecommerce.tax; delete dataLayer_content.ecommerce.shipping; delete dataLayer_content.ecommerce.transaction_id;
delete dataLayer_content.ecommerce.items; } else { gtm4wp_orderid_tracked = dataLayer_content.ecommerce.purchase.actionField.id; } }The page I need help with: [log in to see the link]
- The topic ‘2 issues (currency+purchase)’ is closed to new replies.