Skip to content

jdbohrman/pirsch

 
 

Repository files navigation

Pirsch Logo

Pirsch Analytics

Go Reference Go Report Card Chat on Discord

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.9%
  • Makefile 0.1%