tilastokeskus/backend/README.md
2019-02-04 18:36:50 +02:00

1.3 KiB

Tilastokeskus

Tilastokeskus (also the name of an unrelated Finnish government agency) is a minimal analytics tool written in Elixir, using Raxx, and PostgreSQL storage. It is currently in early development, but I use it for my own sites.

The point of Tilastokeskus is to replace Google Analytics on my own sites, but as I use very few features from GA, the features in Tilastokeskus are also minimal. The motivation for writing my own analytics tool was to 1) have 1st party analytics, 2) get rid of GA, 3) learn Raxx.

Currently implemented features

  • Collection of data and storing to PostgreSQL
  • Full referrers with and without queries + domains
  • Simple session system with cookie to group one session's requests
  • Parsing of UA with ua_detector library
  • GeoIP with autoupdated MaxMind databases
  • Support for allowing a set of hostnames and forbidding others
  • Autoremoval of sensitive data with configurable interval

Future features

  • UI with different graphs to visualize data
  • Realtime view to show users currently on site
  • Take DNT header into account somehow

Won't be implemented (out of scope)

  • User accounts/authentication (use HTTP basic auth or SSH tunneling or something else)
  • Integrations to 3rd party systems
  • Invasive tracking (Flash cookies, dirty tricks)