英文:
How to combine two GDPR consent messages for Adsense and Google Analytics 4 into one message?
问题
我已经在我的网站上实施了Google Analytics 4和AdSense。
我目前在使用Google Analytics 4而没有使用Tag Manager,并编写了一个自定义的同意消息。对于AdSense,有一个自动同意调用。然而,这种情况导致两个同意消息一个接一个地弹出,这并不提供良好的用户体验。
是否有一种方法将Google Analytics 4和AdSense的同意消息合并为一个?
我尝试在网上搜索类似的主题,但没有找到任何相关内容。
英文:
I have implemented Google Analytics 4 and AdSense on my website.
I'm currently using Google Analytics 4 without Tag Manager and have coded a custom consent message. For AdSense, there is an automatic consent call. However, this situation results in two consent messages popping up one after another, which doesn't provide a great user experience.
Is there a method to combine the consent messages for Google Analytics 4 and AdSense into one?
I tried searching for similar topics on the web but didn't find anything.
答案1
得分: 1
只需使用 TCF 批准工具 2.0 版本。谷歌推荐了几个工具。
英文:
Just use the TCF Approval Tool version 2.0. Google recommends several tools.
答案2
得分: 1
我建议等一段时间。对于普通的发布者来说,所有这些同意事项都太难理解了。我怀疑谷歌会提供一些更简单的选项来统一Analytics 4和AdSense的消息。其他免费的方式都太难理解了。
顺便说一下,所有这些欧盟GDPR的要求都是虚张声势。用户只是选择“接受”或“拒绝”。没有人会花时间去查看200个供应商的列表来做出个别选择。而且,即使选择了“接受”或“拒绝”,大多数用户也不知道他们在做什么。就像常规软件中的太多弹出窗口一样,“好的,好的,好的,取消,取消,取消”。
这里有一些CMP列表,其中包括免费的,但它们本身也是跟踪器 就像我说的,虚张声势
https://geekflare.com/best-cmp-solutions/
英文:
I suggest to wait some time. All this consent thing is so cryptic to simple publishers. I suspect that google will provide some easier options to unite Analytics 4 and Adsense messages. Other free ways are too much cryptic.
As a side note all those EU GDPR requirements are smoke and mirrors. Users just use "Accept" or "Decline". No one in their mind will go through list of 200 vendors to choose individual choice. And even when choosing "Accept" or "Decline" most users don't know what they are doing. The same as with too many pop-ups in regular software - "OK, OK, OK, esc, esc, esc".
Hera some CMP list which includes free ones but they are trackers by themselves As I said smoke and mirrors
答案3
得分: 0
看起来Google Analytics和Adsense默认的CMP遵循TCF v2.0,这是一种关于同意管理的标准。
根据这份文档,如果你将变量window.gtag_enable_tcf_support
设置为true
,这就是启用Google Analytics兼容性的方法。
如果我理解正确,同意的"TC字符串"应该从你正在使用的任何同意管理平台(CMP)流过来。在默认的Adsense情况下,它是你在账户中启用以显示GDPR同意消息的那个。
如果我理解有误,请纠正我。
英文:
It looks like Google Analytics and the Adsense default CMP adhere to TCF v2.0 which is a standard for consent management.
According to this documentation if you set the variable window.gtag_enable_tcf_support
to true
, this is how you enable Google Analytics compatibility.
If I understand correctly, consent 'TC strings' should flow through from whatever Consent Management Platform (CMP) you are using. In the case of the default Adsense one, it's the one you enable in your account to display GDPR consent message.
Please correct me if I'm wrong.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论