by bArray · 6y ago · 0 comments
> No libraries or frameworks (the exception being analytics)
There has got to be a better way of collecting analytics than to inject a bunch of crappy JS from some company (probably Google).
It's a tradeoff, you get to decide if you run code on your visitor's computers without consent and get analytics that are wrong in one way, or if you run code on your server with your own permission, and get analytics that are wrong in another way and simpler.
Or, better yet: If it's a tiny site, do you really even have to care about time-on-page?
Is there a server-side tracking way to do it?