Empty Datalayer
-
Hello,
I implemented the plugin last night and set it up to work with a few pixels. One thing I couldn’t figure out was that the ecommerce information isn’t being passed to the datalayer.
First I did it with my own purchase, and everything was there except the conversion value. It was 0.00.
I loaded a customer’s checkout url in a private browser and everything was empty.
Not sure if it’s something on my end, another plugin, or what. Was hoping you could help.
This is the information from the customer order
<!– Google Tag Manager for WordPress by DuracellTomi –>
<script data-cfasync=”false” type=”text/javascript”>//<![CDATA[
var google_tag_params = {“pageTitle”:”Checkout – Stunt Stand\u00ae (Official)”,”pagePostType”:”page”,”pagePostType2″:”single-page”,”postID”:14,”customerTotalOrders”:0,”customerTotalOrderValue”:”0.00″,”customerFirstName”:””,”customerLastName”:””,”customerBillingFirstName”:””,”customerBillingLastName”:””,”customerBillingCompany”:””,”customerBillingAddress1″:””,”customerBillingAddress2″:””,”customerBillingCity”:””,”customerBillingPostcode”:””,”customerBillingCountry”:””,”customerBillingEmail”:””,”customerBillingPhone”:””,”customerShippingFirstName”:””,”customerShippingLastName”:””,”customerShippingCompany”:””,”customerShippingAddress1″:””,”customerShippingAddress2″:””,”customerShippingCity”:””,”customerShippingPostcode”:””,”customerShippingCountry”:””,”ecomm_prodid”:[],”ecomm_pagetype”:”cart”,”ecomm_totalvalue”:0,”ecommerce”:{“checkout”:{“actionField”:{“step”:2},”products”:[]}}};
dataLayer.push({“pageTitle”:”Checkout – Stunt Stand? (Official)”,”pagePostType”:”page”,”pagePostType2″:”single-page”,”postID”:14,”customerTotalOrders”:0,”customerTotalOrderValue”:”0.00″,”customerFirstName”:””,”customerLastName”:””,”customerBillingFirstName”:””,”customerBillingLastName”:””,”customerBillingCompany”:””,”customerBillingAddress1″:””,”customerBillingAddress2″:””,”customerBillingCity”:””,”customerBillingPostcode”:””,”customerBillingCountry”:””,”customerBillingEmail”:””,”customerBillingPhone”:””,”customerShippingFirstName”:””,”customerShippingLastName”:””,”customerShippingCompany”:””,”customerShippingAddress1″:””,”customerShippingAddress2″:””,”customerShippingCity”:””,”customerShippingPostcode”:””,”customerShippingCountry”:””,”ecomm_prodid”:[],”ecomm_pagetype”:”cart”,”ecomm_totalvalue”:0,”ecommerce”:{“checkout”:{“actionField”:{“step”:2},”products”:[]}},”google_tag_params”:window.google_tag_params});//]]>
</script>The page I need help with: [log in to see the link]
- The topic ‘Empty Datalayer’ is closed to new replies.