yireo-magento1 / Yireo_GoogleTagManager

Implement Google Tag Manager in Magento 1 (deprecated)
Open Software License 3.0
56 stars 46 forks source link

Google not processing the enhanced ecommerce data due to invalid format #67

Closed grantkemp closed 6 years ago

grantkemp commented 6 years ago

It looks like Google is not processing the extra fields added to product Detail call

https://github.com/yireo/Yireo_GoogleTagManager/blob/726a76620cc5eb28f3f8877519aeb24521e693d2/source/app/design/frontend/base/default/template/googletagmanager/data/product.phtml#L69-L75

Should be removed - and it seems to work ok

jissereitsma commented 6 years ago

Could you confirm that you actually have attributes with these names? This problem doesn't popup in other sites and/or our testing sites, so it seems related to your site specifically.

jissereitsma commented 6 years ago

Closing due to inactivity. Feel free to re-open if the issue still applies

grantkemp commented 6 years ago

sorry- I missed this! Google needs the data in a prescribed format - otherwise it fails. Would be good to have the basic set of data working - then perhaps make the plugin extensible to add more..