TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How well does Cloudflare analytics work?

1 点作者 pranshum将近 3 年前
Hey HN!<p>Has anyone used Cloudflare&#x27;s web analytics[1] product? Specifically, I&#x27;m referring to the analytics product which requires you to switch over to Cloudflare managing your DNS.<p>How accurate are these DNS level analytics?<p>I&#x27;ve added client-side javascript based analytics tools to my site (specifically: Heap, Google Analytics), and there&#x27;s a huge difference in the data. Cloudflare says I&#x27;ve got over 1k hits, and heap says I&#x27;m at 10. I&#x27;m not sure what to believe! Could the difference be due to web crawlers, adblockers, or something else?<p>Thanks!<p>1: https:&#x2F;&#x2F;www.cloudflare.com&#x2F;web-analytics&#x2F;

1 comment

bobbiechen将近 3 年前
Yes, the DNS-level analytics will measure a totally different number from the client-side Javascript stuff. I saw some similar results myself (using Cloudflare vs Squarespace analytics) and wrote about it in <a href="https:&#x2F;&#x2F;bobbiechen.com&#x2F;blog&#x2F;2021&#x2F;12&#x2F;21&#x2F;counting-website-visitors-is-hard" rel="nofollow">https:&#x2F;&#x2F;bobbiechen.com&#x2F;blog&#x2F;2021&#x2F;12&#x2F;21&#x2F;counting-website-visi...</a> and <a href="https:&#x2F;&#x2F;bobbiechen.com&#x2F;blog&#x2F;2021&#x2F;12&#x2F;23&#x2F;follow-up-to-counting-website-visitors-is-hard" rel="nofollow">https:&#x2F;&#x2F;bobbiechen.com&#x2F;blog&#x2F;2021&#x2F;12&#x2F;23&#x2F;follow-up-to-counting...</a> . As a more recent data point, <a href="https:&#x2F;&#x2F;bobbiechen.com&#x2F;blog&#x2F;2022&#x2F;7&#x2F;20&#x2F;being-on-call-sucks" rel="nofollow">https:&#x2F;&#x2F;bobbiechen.com&#x2F;blog&#x2F;2022&#x2F;7&#x2F;20&#x2F;being-on-call-sucks</a> was on the front page of HN earlier this week - Squarespace Analytics shows around 17k page views last week, while Cloudflare shows over 250k.<p>You can pick one metric or the other to track. I&#x27;ll point out that since Javascript analytics are typically blocked by adblockers, if you optimize for them, you might be driving away tech-savvy people who do use adblockers (since they&#x27;re basically invisible to you).
评论 #32250824 未加载