back
3 comments
Great question! This allows you to control your own data for later custom analysis if you would like. It also allows you to track custom metrics / custom data from the backend so that it cannot be spammed.
If I’d gone to the homepage rather than the repo I’d have answered my own question. Cool stuff, best of luck!
Maybe next time spend a second to think about why anybody would like to do that — could be that you find some very valid and good reasons you never thought about. No need to agree to all of it, but the ability to put yourself into other perspectives is a much needed resource these days.

Google e.g. is a US company. US companies have to comply with the patriot act, meaning they have to help US secret services to access data Google collected. By doing so they would however be in direct violation of GDPR. This means from within the EU technically you should not use Google Analytics. (This has afaik to do with the ruling of the European Court of Justice, where a law which declared US privacy standards to be in alignment with EU privacy law was struck down).

And neither do I want to use Google Analytics. On my websites my visitors trust me with their data. This means it is my duty to understand what happens to their data on my website: what is stored, what is forgotten, what is sent of to which third party and for what reason. Google Analytics makes it kinda hard to understand that, so I'd rather use something that is simpler and stays on my servers and within the legal framework of my country.

> On my websites my visitors trust me with their data.

Really? most customers don't really care.

I highly tune my Google Analytics to be as fast as possible and we get great insights from it, works great for me and also GDPR compliant to as I ask for the users permission.

Why not host yourself if you can? Why feed Google?
Don't have the time to host myself, much rather use something already built and battle tested.