Google analytics 转到通用分析-如何发送城市、州、国家
由于某些原因,城市、州、国家现在不在通用分析中使用 新版本:Google analytics 转到通用分析-如何发送城市、州、国家,google-analytics,Google Analytics,由于某些原因,城市、州、国家现在不在通用分析中使用 新版本: ga('ecommerce:addTransaction', { 'id': '1234', // Transaction ID. Required 'affiliation': 'Acme Clothing', // Affiliation or store name 'revenue': '11.99', // Grand Total 'sh
ga('ecommerce:addTransaction', {
'id': '1234', // Transaction ID. Required
'affiliation': 'Acme Clothing', // Affiliation or store name
'revenue': '11.99', // Grand Total
'shipping': '5', // Shipping
'tax': '1.29' // Tax
});
旧版本:
_gaq.push(['_addTrans',
'1234', // Transaction ID. Required
'Acme Clothing', // Affiliation or store name
'11.99', // Total. Required
'1.29', // Tax
'5', // Shipping
'San Jose', // City
'California', // State or Province
'USA' // Country
]);
但我现在怎样才能把城市、州和国家发送出去呢?谷歌会自己计算这些变量吗?这家伙:声称交易地理信息已在UA中删除,因为它不再出现在文档中,我想他是对的。然而,据我所知,这些信息只在视图过滤器中可见,所以我想这并不是什么大损失,如果你需要它,你可以随时使用自定义尺寸。@Eikepierstorf我想你的评论应该是一个答案。