Commit 094bec17 authored by Mikko Ahlroth's avatar Mikko Ahlroth


parent 2da24fd8
# Tilastokeskus
**TODO: Add description**
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.
## Installation
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.
If [available in Hex](, the package can be installed
by adding `tilastokeskus` to your list of dependencies in `mix.exs`:
## Currently implemented features
def deps do
{:tilastokeskus, "~> 0.1.0"}
* 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
Documentation can be generated with [ExDoc](
and published on [HexDocs]( Once published, the docs can
be found at [](
## 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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment