Pirsch

Pirsch is a drop-in, server-side, no-cookie, and privacy-focused analytics solution for Go.

Stars
780
Forks
34
Open issues
4
Closed issues
191
Last release
5 months ago
Last commit
5 months ago
Watchers
780
Total releases
215
Total commits
1.08K
Open PRs
0
Closed PRs
84
Repo URL
Platform
License
agpl-3.0
Category
Usecase
Analytics
Offers premium version?
NO
Proprietary?
NO
About

Pirsch Analytics

This is the open-source core of Pirsch Analytics, a privacy-friendly web analytics solution. It originally started as an experiment to reliably analyze web traffic from the server-side using Go.

Pirsch is made in the EU 🇪🇺 and hosted on German 🇩🇪 owned servers at Hetzner. You can find an interactive demo of what the dashboard looks like today here.

How does it work?

Pirsch generates a unique fingerprint for each visitor. The fingerprint is a hash of the visitors IP address, User-Agent, the date, and a salt. The tracking works without invading the visitor's privacy. It doesn't use cookies and no personal information is stored, making it GDPR-, CCPA-, and PECR-compliant. If used on the server-side, Pirsch can track visitors using ad blockers.

Learn more about privacy on our documentation.

Documentation

You can find our documentation here. The code reference can be found on go.dev.

Contributions

Contributions are welcome! Please open a pull requests for your changes and tickets in case you would like to discuss something or have a question.

To run the tests you'll need a ClickHouse database and a schema called pirschtest. The user is set to default (no password).

Note that we only accept pull requests if you transfer the ownership of your contribution to us. As we also offer a managed commercial solution with this library at its core, we want to make sure we can keep control over the source code.

License

GNU AGPLv3

Alternative Projects

Subscribe to Open Source Businees Newsletter

Twice a month we will interview people behind open source businesses. We will talk about how they are building a business on top of open source projects.

We'll never share your email with anyone else.