简体   繁体   English

Google 同意模式测试版未在 Google Analytics 上显示 page_view

[英]Google consent mode Beta not showing page_view on Google Analytics

Possible duplicates:可能的重复:

I have followed the official documentation , but on Google Analytics dashboard I don't see any data in the real time mode.我遵循了官方文档,但在 Google Analytics(分析)仪表板上,我在实时模式下看不到任何数据。

     <head>
     <script type="text/javascript>
         window.dataLayer = window.dataLayer || [];
         function gtag(){dataLayer.push(arguments);}
             gtag('consent', 'default', {
                  'analytics_storage': 'denied',
                  'wait_for_update': 500
             });
      
             gtag('js', new Date());
             gtag('config', 'UA-1XXXXXXXX-');
     </script>
     </head>

If the "denied" value is updated to "granted", the data shows up on the Google Analytics dashboard.如果“拒绝”值更新为“授予”,则数据会显示在 Google Analytics(分析)仪表板上。 What am I missing here?我在这里想念什么?

Currently, if the Analytics consent is denied, despite the interactions being sent to the Google Analytics servers, the data set in question (characterized by a parameter that identifies the consent method) is not collected / exposed in the reports.目前,如果拒绝分析同意,尽管交互被发送到谷歌分析服务器,报告中不会收集/公开有问题的数据集(以标识同意方法的参数为特征)。 So it's normal that you don't see the data.所以看不到数据是正常的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法禁用 Google Analytics page_view 事件 - Can't disable Google Analytics page_view events Google Analytics 同意模式(测试版)- 发送数据但未反映在仪表板上 - Google Analytics Consent mode (beta) - Sends data but is not reflected on dashboard 在 Google 跟踪代码管理器和 Google Analytics 4 (GA4) 中手动触发 page_view 的规范方法是什么? - What is the canonical way to manually fire page_view in Google Tag Manager and Google Analytics 4 (GA4)? Google Analytics 4 不会在虚拟页面视图上发送 `page_view`(`hashchange` 源的`historyChange` 事件) - Google Analytics 4 doesn't send `page_view` on virtual page views (`historyChange` event for `hashchange` source) Google 同意模式:通过 Google Analytics 上的同意识别会话 - Google Consent Mode: Identify sessions with Consent on Google Analytics Google Analytics(分析)页面视图 - Google Analytics page view 使用JavaScript访问没有同意页面的Google分析 - Access Google analytics without consent page using JavaScript 如何在 Firebase 分析中禁用自动 page_view 日志记录 - How to disable automatic page_view logging in Firebase analytics Google Analytic GA4 不会禁用 React 应用程序中的默认 page_view 事件 - Google Analytic GA4 does not disable default page_view event in React Application Google Analytics(分析)页面视图跟踪 - Google Analytics page view tracking
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM