3 ms·
I was nodding reading this and then: > No libraries or frameworks (the exception being analytics) There has got to be a better way of collecting analytics tha
by bArray 6y ago
I was nodding reading this and then:
> 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).
- tonymet 6y agowith static sites server-side analytics are doable. You can still cookie the browser, record it to access log and you can get pageviews and uniques easily
- anderspitman 6y agoProblem is if you're using a CDN it might not give you access to complete logs. Still there's at least one better free option than GOOG analytics IMO[0] [0]: https://anderspitman.net/20/#get-off-google-analytics https://anderspitman.net/20/#get-off-google-analytics
- TheDong 6y agoSo? I have javascript disabled so a frontend analytics option also won't give you complete analytics. 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.
- anderspitman 6y agoDo you feel that the amount of error for those with JS disabled is similar to those going through a CDN?
- three_seagrass 6y agoIs there a way to do time-on-page with backend-only analytics?
- jachee 6y agoAnswering a question with a question: Is there a better way to more-meaningfully measure "engagement" than time-on-page? Or, better yet: If it's a tiny site, do you really even have to care about time-on-page?
- three_seagrass 6y agoYes, time on page is a good metric for running experiments and optimizing the usefulness of web content. Even if it's one page. Is there a server-side tracking way to do it?
- darekkay 6y agoThere is, if you have access to your server logs: https://goaccess.io/ https://goaccess.io/