To Track or Not to Track? An Interesting Question
Yesterday @ecoinstant asked me an interesting question: "Do we know who or how many people are using our tools?"
It's a fantastic question that gets to the heart of a big topic in the web development world: user analytics versus privacy. My immediate answer was, "As far as I know, no." And to be honest, I think that's how it should be. I believe I will always be in favor of not adding any kind of intrusive, third-party tracking scripts to the tools and websites we run.
But... the question did make me curious. While I'll never add something like Google Analytics, what can be learned in a privacy-respecting way, just from the raw data that a web server already generates?
So, I put together a tiny script to parse through our Caddy server logs to get some very basic, anonymous usage statistics. The script simply counts the total number of requests and the number of unique IP addresses that have connected to each site over a given period. It doesn't track who you are or what you do on the page, just that someone visited.
Here's what I found:
Site (log file) | Total Requests | Unique IP Addresses |
---|---|---|
access (main site) | 135439 | 10968 |
claimr | 40642 | 846 |
dcity | 12993 | 1229 |
dhf | 7316 | 934 |
dice | 33644 | 632 |
distr | 14500 | 156 |
hec | 3768 | 132 |
imv | 337 | 102 |
keys | 35967 | 786 |
misc | 3411 | 439 |
nft | 4106 | 411 |
viewr | 224091 | 7017 |
vsc | 2997 | 855 |
wiki | 1641 | 312 |
It's really neat to see this high-level view! It's no surprise that Market-Viewr (viewr
) is the most active site, but it's also cool to see the consistent traffic to tools like the RC claimer (claimr
) and the dice roller (dice
).
For me, this kind of anonymous data is the perfect compromise. It satisfies our curiosity as developers to know that the tools are being used and are providing value, but it does so without ever compromising the privacy of the people using them. We don't need to know who you are to appreciate that you're here.
As always,
Michael Garcia a.k.a. TheCrazyGM
He may be inspired by me because I asked him the exact same question 😀
It would be nice if you are able to see whether your tools are increasingly being used.
And indeed, you don't need to know who these people are. Unique IP's give enough information.
In would also be interesting to see how it develops. Surely when you are actively promoting the tools to be used.
I'm at least one of those IP addresses. Unique IP may not be a accurate measure of traffic anymore, due to the fact that many ISPs now use CGNAT and expose a single public IP for multiple users.
Between that and I saw an awful lot of bots, spiders, and scrapers. But, I do think it's a semi fair rough gauge.
Yes, definitely a good measure. :) Bloody scrapers!
While I'm no fan of tracking, this sort of happy-medium data collection is very useful, and also interesting, so I think that you made a great choice in this regard. 😁 🙏 💚 ✨ 🤙
Someone once told me how one of the frontends uses tracking stuff xD
I wonder 🤔...... If it's true lol