Out of curiosity, a few people (communication people mainly) requested access statistics. The two main questions were:
- Is the sith still actively visited?
- Is the weekmail read?
The easiest solution is server log analysis, and so I used GoAccess which is a log analyser that runs as a CLI and can output an HTML report. This was nice to have a snapshot and see, at this point in time, what the traffic was like. Using GoAccess's unique visitor estimation, I could answer both questions. However, it would be nice to have a view overtime of the evolution of at least those two stats, to avoid having to do the same process every time someone wonders about this. What could be done?
The way I see it, it would be a cron job that parses the logs daily or weekly to aggregate this. The issue with this is that, for the weekmail, I manually picked the URL of a picture that was included. Could this be automated (to avoid inserting a 1x1 image, a solution I am not a fan of)? Maybe a different URL for the header/footer for every weekmail? Or just seeing the different of count from one day/week to another?
Privacy wise, the only output of the script would be a guess of unique visitors on specific endpoints, no IP or other identifying informations.
I expect people to have opinions on the matter. :)