11 points · by donislawdev · 5y ago · 13 comments
Public analytics seems interesting - have you been able to do anything particularly interesting by leveraging this capability?
I usually open source my code, I just haven't gotten around to it for this one in particular. Might be worth doing if people are interested.
> The only thing I capture is the page that was visited, when it was visited, and the domain of the referrer (to see what the source is). The tracker is meant to be used for blogs where I don't control the server, such as Github Pages, so there's a single AJAX call to my self-hosted server.
To be honest, I'm not entirely sure how I'd solve this without the 'single AJAX call' but I guess it makes sense to start there!
Curious how you implemented it - again, I'm not a rocket surgeon and this is just like a 3 second analysis of the problem space, but it's always neat to check out other people's implementations for common, shared problems