zlacker

[return to "Show HN: I made a privacy-first minimalist Google Analytics"]
1. mossel+T5[view] [source] 2018-09-19 15:02:32
>>Adriaa+(OP)
For a project of mine I created an 'actions' table in my database. For every visit (only server-side data) I make an entry into that table. That way I keep track of key metrics that I am interested in (basically which page is loaded and where did the visit come from?). I also store the request id so that I can differentiate between different visits. Entries into this table are made in an new thread in order to prevent any issues or slow-downs on that end to influence load-times, etc too much. Works very well.
◧◩
2. Spone+C11[view] [source] 2018-09-19 22:39:11
>>mossel+T5
Ahoy is a great tool to do just that, if you use Ruby on Rails: https://github.com/ankane/ahoy
[go to top]