Re:An alternative to using Google Analytics on your website
by hidiegomariani on Wednesday April 08, 2020 @12:22PM
(#22814322)
Yes! I've just removed GA from one of my pet projects (shameless plug https://golang.cafe) - And started using Cloudflare NS https://www.cloudflare.com/dns/. Now I get users/analytics reports at DNS level. No bloated JS trackers, no privacy policies and weird stuff and I can track visits even when adblockers are enabled. This would definitely be overestimated as bots would be counted in but it seems pretty accurate so far! It also has unique users count (although this is overestimated)
[ Parent
| on HN ]
Re:An alternative to using Google Analytics on your website
by meowface on Wednesday April 08, 2020 @02:17PM
(#22815480)
I think trying to estimate site visitor/visit statistics solely from DNS traffic would lead to very inaccurate results.
However, if you're using Cloudflare as a reverse proxy, those numbers are pretty much as accurate as you can get. Way more accurate than GA and other JavaScript-based solutions.
Re:An alternative to using Google Analytics on your website
by nipinium on Thursday April 09, 2020 @12:14AM
(#22819709)
Correct me if I'm wrong but cloudflare only provides analytics for "proxied" records.
And for my experience proxied websites (in free plan) are way slower compare to bare websites, like 300ms latency vs 50ms latency.
Re:An alternative to using Google Analytics on your website
by skrtskrt on Wednesday April 08, 2020 @12:30PM
(#22814428)
Is this somehow different than what you get from hosting on Cloudflare Dash? I have my GitHub pages DNS through Dash and the only additional thing I wish I had was referrer analytics.
Nice site, too. Bookmarked :)
Re:An alternative to using Google Analytics on your website
by slenk on Wednesday April 08, 2020 @01:41PM
(#22815148)
I assume you mean you are running the whole site through the cloudflare proxy, not just DNS. You cannot get that advanced of DNS metrics by just using them for DNS.
Re:An alternative to using Google Analytics on your website
by hidiegomariani on Wednesday April 08, 2020 @02:53PM
(#22815806)
I use cloudflare as nameserver that effectively takes over all DNS queries for my domain
Re:An alternative to using Google Analytics on your website
by slenk on Wednesday April 08, 2020 @06:22PM
(#22817840)
I get that, but you don't get more information than number of DNS queries - nothing about users
Re:An alternative to using Google Analytics on your website
by ec109685 on Wednesday April 08, 2020 @01:00PM
(#22814744)
How does Cloudflare NS deal with caching resolvers?
Re:An alternative to using Google Analytics on your website
by hidiegomariani on Wednesday April 08, 2020 @01:14PM
(#22814879)
It tells you even percentage and absolute number of cached dns queries. Cloudflare is dope!
Re:An alternative to using Google Analytics on your website
by booi on Wednesday April 08, 2020 @01:21PM
(#22814942)
I think he meant queries from caching nameservers that cloudflare does not control. I would argue the majority of queries would be fulfilled by these caching nameservers.
Re:An alternative to using Google Analytics on your website
by mschuster91 on Wednesday April 08, 2020 @01:42PM
(#22815170)
Setting a sufficiently low DNS TTL will take most caching servers out of the question.