nusmodifications / nusmods

🏫 Official course planning platform for National University of Singapore.
https://nusmods.com
MIT License
591 stars 320 forks source link

Replace Google Analytics with self hosted solutions #1074

Closed ZhangYiJiang closed 5 years ago

ZhangYiJiang commented 6 years ago

Google Analytics is great, but we don't really use a lot of its features. We mostly use it to track user browser (to update our support matrix), and to track events (to see if students are using certain featuees). In addition, using a third-party to collect user data is somewhat sketchy privacy wise, especially since Google explicitly uses GA data to support its own advertising by tracking users across multiple sites. In addition with more and more students using adblockers, it is possible we aren't collecting good data due to GA being blocked (I know my adblocker does block GA).

We can try self hosting our analytics instead to improve privacy and address the concerns above. Here are the candidates I've found - feel free to edit this issue to add more

Fathom

Pros

Cons

Mamoto (formerly Piwik)

Pros

Cons

ZhangYiJiang commented 6 years ago

Fathom doesn't work because we need browser / device data, and they don't have that. Testing Mamoto now.