Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Freshlytics – Self-hosted analytics that respects user privacy (github.com)
36 points by rkwz 10 days ago | hide | past | web | favorite | 6 comments

Hello everyone,

Freshlytics is a self-hosted open-source privacy-friendly analytics software.

You can use it to learn more about your users in terms of visited urls, referrers and browsers used without invading the users privacy.

It doesn't use cookies and doesn't collect PII. It doesn't even store event level data - only aggregate data for the whole day organised by different dimensions. That is, after an event is ingested by the system it's grouped with all other events sent by other visitors - so you can't view the events just for a visitor or a visitor's browser etc. While this limits what metrics can be collected, I felt that there might be a good portion of websites on the internet who don't need these invasive metrics.

It's built using Typescript (React/Express) and uses PipelineDB for storage. All the reports are pre-defined (not adhoc) so I felt this is a good use case for PipelineDB's continuous views.


Screenshots: https://github.com/sheshbabu/freshlytics/blob/master/docs/sc...

Docs: https://freshlytics.gitbook.io/docs/




* Cookies are not used

* Personally identifiable information (PII) is not collected


* Switch between multiple projects

* Slice the data within a date range

* See the pageview in different dimensions like page urls, referrers, browsers etc


* Currently focuses on website pageview tracking

* Tracks visited page urls, referrers, browsers and browser versions


* Supports multiple projects

* Different projects can have different reporting timezones


* Users can either be Admin or normal users

* Admins can create/edit/delete projects and other users


Please give it a try and let me know what you would like to see improved :)

Seeing how this doesn't use cookies - can it piece related page hits into a session?

A form of tracking is required to make collected data _actionable_. You'd normally want to know that people coming from this referrer bounce, but those coming from another source - stay, look around, subscribe/download/buy, etc. Being able to tell newcomers from returning visitors is also very useful.

More generally speaking, I strongly suspect that very few people will object to being tracked by the website as they traverse its own pages. Ditto for receiving a cookie to facilitate the process. It's the cross-site 3rd party tracking that's an issue. In other words, restricting self-hosted analytics package to NOT use cookies solves a problem that doesn't exist and it's a rather pointless thing to do.

Reminds me a lot of simpleanalytics, but foss and self hosted. Very cool

Thanks for the kind words! It was definitely inspired by SimpleAnalytics and Fathom :)

Is docker necessary or can I run it on a bare vm?

Yes, it’s possible since it’s just a Nodejs and PipelineDB (Postgres) application :)

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact