【发布时间】:2022-01-12 16:22:45
【问题描述】:
我已经尝试按照此视频实现所需的配置: https://www.youtube.com/watch?v=IjyX6g2sZpk&ab_channel=TheSearchAgency
这是我的数据层:
<script>
var dataLayer = window.dataLayer || [];
dataLayer.push({
"event": "transaction",
"ecommerce": {
"purchase": {
"actionField": {
"id": "14c26747-503e-498c-a9b4-604fe1a479d1",
"affiliation": "Online Store",
"revenue": 41,
"tax": 5,
"shipping": 5
},
"products": [{
"id": "7w9e0",
"name": "Masons T-Shirt",
"price": "31.00",
"brand": "Masons",
"category": "T-Shirts",
"variant": "red",
"dimension1": "M",
"position": 0,
"quantity": 1
}]
}
}
});
</script>
到目前为止,我能够在我的谷歌标签管理器中接收相同的数据层: Datalayer received in GTM Preview
这是我的标签的配置: GTM CONFIG
我的问题是我在谷歌分析电子商务概览中看不到任何数据,即使我等待了超过 48 小时。
【问题讨论】:
标签: google-analytics google-tag-manager