[英]Google tag manager with enhanced ecommerce, but no ecommerce data in analytics
I am trying to implement the google tag managers UA Ecommerce features.我正在尝试实施谷歌标签管理器 UA 电子商务功能。
I've followed all steps from https://developers.google.com/tag-manager/enhanced-ecommerce .我已按照https://developers.google.com/tag-manager/enhanced-ecommerce 中的所有步骤进行操作。
According to the Google Analytics quick preview all my tags are being send with the DataLayer to GTM, but the ecommerce data isn't visible in Google Analytics.根据谷歌分析快速预览,我所有的标签都与数据层一起发送到 GTM,但电子商务数据在谷歌分析中不可见。
Example tag im sending to GTM:发送到 GTM 的示例标签:
{
"ecommerce":{
"detail":{
"actionField":{
"list":"Product Page"
},
"products":
[
{
"name":"Twin Time",
"brand":"Fromanteel",
"price":"499.00",
"category":"watch"
}
]
}
}
}
I know the normal analytics works, since i do receive sessions.我知道正常的分析是有效的,因为我确实收到了会话。
Website in question: https://fromanteel.nl/相关网站: https : //fromanteel.nl/
If I understand correctly, the pushes to the dataLayer succeed.如果我理解正确,则推送到 dataLayer 会成功。 I'm guessing that the corresponding tag might not be triggered.
我猜可能不会触发相应的标签。 Actually had this happen to me a few weeks ago :-)
实际上几周前我就遇到过这种情况:-)
In the Tag Manager settings, under tags > your specific tag(s), verify that the trigger fires on everything that applies.在标签管理器设置中,在标签 > 您的特定标签下,验证触发器是否在所有适用的情况下触发。 For example, select 'all pages' and 'clicks' (not just the first).
例如,选择“所有页面”和“点击次数”(不仅仅是第一个)。
I suggest using preview mode to see if the tag actually triggers.我建议使用预览模式来查看标签是否实际触发。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.