GA事务推送使用事务ID作为产品ID

时间:2018-05-30 23:06:37

标签: google-analytics enhanced-ecommerce

根据标题,我有一个稍微奇怪的问题,我可以在GA调试控制台中看到,正在为购买的产品推送交易ID,尽管数据层正确包含产品ID。所以我看到以下内容:

ga("gtm6.ecommerce:addTransaction", {id: "100020325", affiliation: "Website", revenue: 38.95, shipping: 3.95, tax: 5.8333})

其次是:

ga("gtm6.ecommerce:addItem", {id: "100020325", sku: "80106943", name: "Leather Pouch", category: "Women", price: "35.00", quantity: "1.0000"})

但是在数据层中,我有:

transactionEntity:"ORDER"
transactionId:"100020325"
transactionPayment:"PayPal Express Checkout"
transactionProducts:
Array(1)
0:
category:"Women"
id:"243359"
name:"Leather Pouch"
price:"35.00"
priceexcludingtax:"29.17"
quantity:"1.0000"
sku:"80106943" 
tax:"5.83" 
taxrate:20 
type:"configurable"

由于ID不匹配(据我所知),这导致交易与产品列表性能无关,因此GA PLP报告中的所有交易都属于(未设置)。

感谢任何帮助!

0 个答案:

没有答案