Umami is a simple, fast, privacy-focused alternative to Google Analytics.
A detailed getting started guide can be found at umami.is/docs.
- A server with Node.js version 18.18 or newer
- A database. Umami supports MariaDB (minimum v10.5), MySQL (minimum v8.0) and PostgreSQL (minimum v12.14) databases.
git clone https://github.com/umami-software/umami.git
cd umami
yarn install
Create an .env
file with the following:
DATABASE_URL=connection-url
The connection URL format:
postgresql://username:mypassword@localhost:5432/mydb mysql://username:mypassword@localhost:3306/mydb
The build step will create tables in your database if you are installing for the first time. It will also create a login user with username admin and password umami.
By default, this will launch the application on http://localhost:3000
. You will need to either proxy requests from your web server or change the port to serve the application directly.
To build the Umami container and start up a Postgres database, run:
Alternatively, to pull just the Umami Docker image with PostgreSQL support:
docker pull docker.umami.is/umami-software/umami:postgresql-latest
Or with MySQL support:
docker pull docker.umami.is/umami-software/umami:mysql-latest
To get the latest features, simply do a pull, install any new dependencies, and rebuild:
git pull yarn install yarn build
To update the Docker image, simply pull the new images and rebuild:
docker compose pull docker compose up --force-recreate
11 Comments
rckt
Been using it for my personal website for over a year as a self-hosted solution. Not great if you want just to set it up and forget about it. There are breaking changes every now and then on every part, DB and the FE. So at some point it just broke for me and stopped showing relevant data. I ended up switching to piratepx as it was enough for me to see if there were any visits.
petargyurov
I like umami. What stood out to me is their customer support. I had some sort of issue where my free limit was always maxed out. They responded and resolved it very quickly. As a free-tier user I expected to wait days/weeks.
Would recommend.
xandrius
I'm always curious why people pick project names the way they do.
I'm seeing a trend of slapping a random simple Japanese word to a new project without explanation. Maybe it doesn't need one but at least it would make the name more memorable to me.
alkonaut
Does the no-cookie thing mean you can't count e.g. unique/returning visitors? Or is there any privacy-friendly way of doing that?
MortyWaves
I would definitely be open to trying this because it seems to have significantly more features than Plausible, but then I'd lose all my historical stats. The downside of any analytics is this kind of trapped in situation.
marvinblum
You can find a nice list of privacy-respecting analytics tools on European Alternatives [0], including mine, Pirsch [1].
I've been in this space for ~3 1/2 years, so if you have any questions, please let me know :)
[0] https://european-alternatives.eu/category/web-analytics-serv…
[1] https://pirsch.io
lemagedurage
You can see the influx of presumably hackernews visitors (through GitHub/Google) on the demo instance that's linked from their website :)
https://umami.is/
https://eu.umami.is/share/LGazGOecbDtaIwDr/umami.is
dmje
I really love Umami but the user / team management is incredibly weird and I still haven’t figured it out. Anyone else finding the same?
xz18r
I have been using (and self-hosting) Umami for 3 websites for the better of a year. While good for my use-case, which is just having some 'fun' insights of how many visits my pages get and where that traffic is coming from, it's mostly aimed at my profile I reckon. Would never use it for a business purpose. Also the UI is somewhat immature still.
So all in all: total fan, otherwise I wouldn't be using it, but it's fairly limited in what it can do.
HelloUsername
Related:
https://news.ycombinator.com/item?id=24198329 aug-2020 227 comments
https://news.ycombinator.com/item?id=27181622 may-2021 42 comments
https://news.ycombinator.com/item?id=31284853 may-2022 42 comment
https://news.ycombinator.com/item?id=24184773 aug-2020 9 comments
https://news.ycombinator.com/item?id=24422333 sept-2020 3 comments
libsofhn
[dead]