Hacker News new | ask | show | jobs
by janmo 893 days ago
Here are a few ideas to build the next great analytics tool, these are the main reasons why I build my own little tool for my websites:

1. Find a way to also count users with Ad Blocker. Google Analytics and even Plausible (unless when self hosted) don't track users with an Ad Blocker.

2. Show how many users are using an Ad Blocker, this is a very important metric when a site is relying on ad revenue. It turned out that 30-33% of my traffic was using an Ad Blocker, which prompted me to implement a fallback where I show the user a banner with an affiliate link instead.

3. Offer an unlimited free tier, under the condition that a summary of the stats is visible to everyone, a bit like Github used to work. Users can then hide to make their stats private.

2 comments

Ad blocker tracking is easy. You just proxy the calls to GA/plausible via some other domain.
The first two aren't technically possible. And also not desirable, IMHO. That said, [name redacted] can import pageviews from logfiles like goaccess, so that's kind of the closest you can get (although then it's harder to filter bots, so it's more skewed the other way).

That said, I do wish tools like uBlock would make it easier to give people more choice in what to block and not block, but that's not up to me (also in terms of ads; the other day I saw a site which has just <img src="/ad.png">, which I don't really see any problem with, and uBlock goes out of its way to block that – meh).

I recently had a page import something like site_stats.js (site meant as in a physical building/location) from the same domain as the html request and ublock blocked it.

Had to rename the bundle.

Thanks for [name redacted] btw, I've got a little website that hosts useful information that's hard to find otherwise for a little community (~20 visits / day) and [name redacted] has been reliably telling me whether or not people still use it for a few years now.