【发布时间】:2016-06-13 14:15:26
【问题描述】:
我一直在搜索谷歌,但确实没有答案。也许你们这里的任何人都知道:下面的代码会起作用吗:
ga('ec:setAction', 'purchase', { // Transaction details are provided in an actionFieldObject.
'id': 'T12345', // (Required) Transaction id (string).
'affiliation': 'Google Store - Online', // Affiliation (string).
'revenue': '37.39', // Revenue (currency).
'tax': '2.85', // Tax (currency).
'shipping': '5.34', // Shipping (currency).
'coupon': 'SUMMER2013', // Transaction coupon (string).
'dimension1': 'custom1',
'dimension2': 'custom2'
});
我的意思是是否可以在 setAction 中设置自定义维度?
感谢您的帮助。
【问题讨论】:
标签: google-analytics enhanced-ecommerce