Measure
Umami
Knowing who visits your site without tracking them
I use it every week, right now.
Simple, private analytics. No cookies, a simple dashboard, and click tracking with one HTML attribute.
Use it when
- You run a personal site or blog and care about privacy
- You want page views, sources and simple events, not a full product analytics suite
Skip it when
- You need funnels, cohorts and user-level product analytics
- You want zero setup and don't mind cookies
Hear when my tools change
No schedule, no filler. I send one email when I add a tool, drop one, or publish a new article.
How I use it
I first self-hosted Umami in 2022 and wrote a guide about it. Today this site uses Umami Cloud, so I don’t maintain a server.
It also counts clicks on these tool pages. Each outbound link carries a data-umami-event attribute, so I can see which pages send people to a tool. No JavaScript needed.
<a href="https://umami.is" data-umami-event="tool-direct" data-umami-event-tool="umami">Visit Umami</a>Getting started
- Cloud: create a free Hobby account at umami.is, add your site, and paste the tracking script into your page’s
<head>. - Self-host with Docker: clone the repo, create a
.envwithAPP_SECRET=$(openssl rand -hex 32), then rundocker compose up -d. - Open
http://localhost:3000, sign in asadmin/umami, and change the password right away. - Track a click: add
data-umami-event="Signup button"to any button or link.
Tips that save time
- Add
data-domains="yoursite.com"to the script so visits from localhost and preview sites aren’t counted. - Use
data-exclude-searchanddata-exclude-hashso query strings, which can hold tokens or emails, never reach your stats. - Attribute events save values as text. For numbers you want to add up, use
umami.track()in JavaScript. - Never put emails in
data-distinct-id. Use an internal ID or a hash.
Watch out for
- The free Cloud plan is small: one site, 100K events a month, six months of data.
- Self-hosting means PostgreSQL only, plus your own updates and backups.
- Cookieless isn’t automatically GDPR-compliant. It depends on how you set it up.
- Ad blockers can still block the script.
Pricing
Self-hosting is free and open source. Umami Cloud: Hobby is free (100K events a month, 1 site), Pro is $20/month, Business $200/month. Checked Dec 5, 2026. Current prices
History
- Aug 2022UsedSelf-hosted it and wrote a guide
- Nov 2026DailyTracks this site on Umami Cloud after the Astro rebuild
I wrote about it
No referral links on this page. No paid placement, no other tie to the maker. How I pick tools.