Google 分析数据中的用户计时未显示
User timing in Google analytics data is not showing
在我的 React 应用程序中,我为 google 分析启用了调试模式
事件已成功触发,但未显示在 Google 分析
中
ga("send", {hitType: "timing", timingCategory: "Performance Callback Server Latency", timingVar: "Campaign", timingValue: 0.9950000094249845})
[react-ga] with fieldObject: {"hitType":"timing","timingCategory":"Performance Callback Server Latentcy","timingVar":"Campaign","timingValue":0.9950000094249845}
我找到了解决方案,它只接受整数而不是小数,我传递的是小数
站点速度采样率
您的网页访问量可能太低。在这种情况下,增加 siteSpeedSampleRate 跟踪器配置。
默认值为 1,代表 1% 的用户将他们的时间跟踪到分析中。
将此值增加到 10%。
ga('create', 'UA-XXXX-Y', {'siteSpeedSampleRate': 10});
在我的 React 应用程序中,我为 google 分析启用了调试模式 事件已成功触发,但未显示在 Google 分析
中ga("send", {hitType: "timing", timingCategory: "Performance Callback Server Latency", timingVar: "Campaign", timingValue: 0.9950000094249845})
[react-ga] with fieldObject: {"hitType":"timing","timingCategory":"Performance Callback Server Latentcy","timingVar":"Campaign","timingValue":0.9950000094249845}
我找到了解决方案,它只接受整数而不是小数,我传递的是小数
站点速度采样率
您的网页访问量可能太低。在这种情况下,增加 siteSpeedSampleRate 跟踪器配置。
默认值为 1,代表 1% 的用户将他们的时间跟踪到分析中。
将此值增加到 10%。
ga('create', 'UA-XXXX-Y', {'siteSpeedSampleRate': 10});