英文:
2 tags on GTM send duplicate data or not?
问题
我有一个担忧。在Google广告中,我有一个转化。但是在Google标签管理器上,我有两个具有相同的转化ID和转化标签的标签。每个标签“表单提交”都使用不同的触发器,它们都是正确的。我之所以有两个标签,只是一个错误,而且我意识到得相当晚。
我的担忧是,如果用户完成一个转化并且两个标签同时触发,数据会重复发送到Google广告的转化操作吗?还是只发送一次?
谢谢你的帮助。
我希望我能知道数据是否会被重复发送,还是只发送一次。
英文:
I have one concern. I have one conversion on Google Ads. But I have 2 tags on Google Tag Manager with the same conversion ID and conversion label. Each tag "form submission" uses a different trigger and they are all correct. The reason why I have 2 tags is just a mistake and I have realised it quite late.
My concern is that if a user completes a conversion and both tags fired at the same time, will data send duplicate to the conversion action on Google ads? Or just send one only?
Thank you for your help.
I hope I can know will data be sent duplicate or just one time.
答案1
得分: 1
打开你的网络选项卡,清空它,然后在抽屉中打开你的控制台。在控制台中,触发你的像素,找到相应的网络请求。再次触发它。这里是一些非常简单的测试:
看看我如何调用它三次,但网络中只触发了一次?如果我更改转化 ID,它将再次触发,但 gtag 库足够智能,可以在检测到它们时忽略重复的转化,以防客户端实现不良。
此外,广告平台可能会进行更多的去重操作,删除用户级别上的重复转化。
总之:你无需担心,但也请修复你的跟踪。在生产环境中发布粗糙的工作很少是可以接受的。
英文:
Open your network tab, clear it, open your console in the drawer. In the console, trigger your pixel, find the corresponding network hit. Trigger it again. Here, this is some very simple testing:
See how I call it three times, but it only fires once in the network? If I change the conversion id, it will fire again, but the gtag library is smart enough to ignore repeated conversions when it detects them, anticipating poor implementations on the client side.
Moreover, it is possible that the ad platform does even more deduplications removing repeated conversions on the user-level.
In conclusion: you have nothing to worry about, but also, fix your tracking. It's rarely okay to publish sloppy work to prod.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论