我有以下代码:
<script>
gtag('event', 'conversion', {
'send_to': 'AW-1234567879/D-vACLXiz4IBEID834AD',
'value': "5000",
'currency': 'ZAR',
'transaction_id': '12345'
});
</script>
在我的网站上下订单时执行此代码.我可以看到Adwords中的转换工作:
但是我无处可以在Adwords中找到一个可以实际看到此transaction_id的地方.如果我之后无法获得transaction_id,为什么Adwords会允许我提供此信息.我想要的只是Adwords导致的交易ID列表.但我发现的所有报告只显示总数.没有可以给我个人ID.
有任何想法吗?
UPDATE
事实上,我甚至看不到个别金额.我必须遗漏一些明显的东西,因为如果我能够提供价值和transaction_id,adwords应该在某处向我显示这些数据?
最佳答案 根据我所做的研究,看起来这实际上是不可能通过Adwords做的.
您应阅读this section of an article about gtags,因为它声明:
The transaction_id field lets you provide an optional identifier for the transaction. This ID is used by AdWords to de-dupe multiple conversion events that may be fired for with the same transaction_id and avoid counting the conversion multiple times. This sometimes happens when users can access a cached version of the conversion page, which may contain the event snippet embedded in it.