Umami

Open-source web analytics with no cookies and no personal data: page views, referrers, and custom events from one script tag.

What it is

A small analytics tool that answers the questions a new product needs answered: how many people came, where from, which pages they read, and how many did the thing you care about. It sets no cookies and stores no personal data, which is why many sites run it without a cookie banner. Rules differ by country, so check yours.

You can use it two ways:

  • Umami Cloud, hosted for you. The free Hobby plan covers 100,000 events a month for one website, with 6 months of history. Pro is $20 a month for 1 million events, up to 20 websites, and 2 years of history.
  • Self-hosted, free under the MIT licence. It needs Node.js 20.19 or newer and a PostgreSQL database, and ships as a Docker image.

Each page view counts as one event.

When to use it

  • Landing pages, docs, and early products where you want traffic, sources, and two or three key actions, with as little tracking as possible.
  • You’d like to own the data later: start on the cloud plan, move to self-hosting when it matters.

When NOT to

  • Product analytics on signed-in users: funnels per user, retention cohorts, feature flags. Use a product analytics tool built for that.
  • More than 100,000 events a month on the free plan. Paid plans bill extra events rather than stopping collection, so watch your usage.

Gotchas worth knowing up front

  • Ad blockers block it. Many block the cloud script, so expect an undercount. Umami’s docs describe serving the script from your own domain through a proxy to get around this.
  • data-domains must match exactly. It’s compared with the page’s hostname, so founderfirst.club and www.founderfirst.club are different.
  • In Astro, add is:inline to the script tag, or Astro bundles it like your own code.
  • Fire events after success, not on click. A signup event should mean the server said yes.