如何重新启用Google Analytics(Onetrust)?

发布于 2025-02-06 05:14:17 字数 129 浏览 3 评论 0原文

在我的应用程序上使用ontrust函数进行测试,我使用了ontrust.blockgoogleanytics(),现在我看不到数据层在GTM/GA调试器扩展程序上推出。

在哪里,如何恢复此命令?我希望能够将功能虚假,但这不起作用。

Testing around with OneTrust functions on my application I used OneTrust.BlockGoogleAnalytics() and now I can not see the data layer pushs on the GTM/GA Debugger extension.

Where, how do I revert this command? I expected to be able to give false to the function, but that don't work.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

屌丝范 2025-02-13 05:14:20

只需清除您的饼干和本地存储即可。

但这不应阻止您的数据层推动。从一个信任那里有点太多了。也许您将DL推送与发送的实际事件混合在一起。

另外,一个信任给出关于如何使用该功能。似乎该函数接受了两个ARG。我不确定它是否无用,但该文档仍然指定如何检查某些跟踪器的状态以查看它们是否被阻止。该部分似乎在他们的文档中被打破了,但是很容易破译window的含义['ga-disable-$ {gaid}'

Just clear your cookies and local storage.

But it shouldn't block your datalayer pushes. That's a bit too much to expect from one trust. Maybe you're mixing up DL pushes with actual events sent.

Also, one trust gives documentation on how to use that function. It seems like the function accepts two args. I'm not sure if it works with no args, but the documentation still specifies how to check the state of certain trackers to see if they're blocked or not. That part seems to be broken in their documentation, but it's easy to decipher what they meant by window['ga-disable-${gaID}'

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文