Umami is a free, open-source web analytics app you run on your own server, a privacy-friendly alternative to Google Analytics. Start it with Docker, add your site in its dashboard and paste one script tag into your pages; within minutes you see visitors, page views, where people came from, and their country, browser and device, on one clean page.
It earns its place because it answers the everyday questions without cookies: it counts a visitor with a hash of their IP address and browser that resets every month, and stores the country and city rather than the address. Beyond page views it tracks custom events, goals, funnels, user journeys, retention and UTM campaigns, has shareable public dashboards, a REST API and an MCP server, and one install can track many websites. Session replays and heatmaps use a separate recorder script that is off until you turn it on for a site, and it masks form inputs. If you would rather not run a server, the same company runs Umami Cloud.
Umami is MIT-licensed, written in TypeScript on Next.js with a PostgreSQL database, and made by Umami Software, which started it in 2020. It has about 40,500 stars and around 470 contributors. Version 3.5.0 came out on 12 November 2026.
- Repository: github.com/umami-software/umami
- Licence: MIT (MIT License)
- Language: TypeScript. Stars: 40.5K. Forks: 8,708. Last push: Nov 29, 2026.
- Scan: safe, Nov 30, 2026, commit dbb8d60
Who it is for
Bloggers, small businesses, developers and privacy-minded site owners who want visitor numbers without Google Analytics or cookies. Self-hosting needs a server with Docker, or Node.js and PostgreSQL, plus HTTPS; Umami Cloud needs none of that.
Getting started
1. No server: sign up for Umami Cloud's free Hobby plan
https://cloud.umami.is/signup2. Or self-host: get the code, which includes the Docker Compose file
git clone https://github.com/umami-software/umami.git
cd umami3. Make a secret key for it
echo "APP_SECRET=$(openssl rand -hex 32)" > .env4. Start Umami and its PostgreSQL database
docker compose up -d5. Open the dashboard, sign in as admin with the password umami, and change it
http://localhost:30006. Add your website in Settings, then paste its tracking code into your site's <head>
<script defer src="https://your-umami-host/script.js" data-website-id="your-website-id"></script>7. Optional: add DISABLE_TELEMETRY: 1 under environment in docker-compose.yml, then restart
docker compose up -ddocker compose pulls the Umami and PostgreSQL images and opens port 3000 on every network interface, so put it behind HTTPS with a reverse proxy such as Caddy or nginx before you track a public site. The database password umami is only reachable inside Docker's network. Replace the placeholder TWO_FACTOR_ENCRYPTION_KEY in docker-compose.yml with your own openssl rand -hex 32 value before you turn on two-factor sign-in. Our scan covers the source code, not the Docker images.
Safety scan
We cloned umami-software/umami at commit dbb8d60 on Nov 30, 2026 and ran the checks described on the GitHub Tools page: credential patterns, decode-and-execute code, install-time scripts, committed binaries, risky CI workflows, every host the code talks to, known vulnerabilities in pinned dependencies, and project hygiene. A person read every hit. This is what we found.
- 0 secret hits and no committed binaries across 2,163 files and about 286,000 lines, almost all TypeScript. A gitleaks workflow also checks every push for committed secrets.
- 1 pattern hit: podman/install-systemd-user-service sets Umami up as a systemd user service that starts when you log in, and only runs if you choose that optional Podman script. The odd hosts are settings: icons.duckduckgo.com supplies the referrer icons in the dashboard (FAVICON_URL changes it), and download.maxmind.com or a GitHub mirror supplies the free GeoLite2 location database at build time.
- No install script. You run the ghcr.io/umami-software/umami Docker image with the repo's docker-compose.yml, which also starts PostgreSQL 15 with the password umami on Docker's private network, or build from source with pnpm. Only one package has a lifecycle script, packages/mcp's prepack, which runs when the maintainers publish it. The first sign-in is admin with the password umami, and Umami asks you to change it.
- 1 advisory across 1,161 npm packages in pnpm-lock.yaml, none critical: a high ReDoS bug in effect 3.20.0, which comes in through Prisma's config loader and only reads Prisma's own settings. Next.js is pinned at 16.4.5, with no known advisory.
- Telemetry is on by default and documented on umami.is, not in the README. After pnpm run build, scripts/postbuild.js sends api.umami.is the Umami and Node versions, OS, CPU type and whether it runs in Docker or CI (the Docker image build skips this); the dashboard loads a tiny image from i.umami.is with the version number in each admin's browser; and it asks api.umami.is for updates. DISABLE_TELEMETRY=1 stops the first two and DISABLE_UPDATES=1 the third. Your visitors' data stays in your database. 5 workflows, no pull_request_target, and none of the 8 third-party actions is pinned to a commit. No security policy, Dependabot, CodeQL or OpenSSF Scorecard result.
What the scanner counted
| Check | Result |
|---|---|
| Secrets | None found. |
| Suspicious code | 1 pattern hit found and read; every one is listed under the raw findings. |
| Install-time code | 1 npm lifecycle script. 1 installer script |
| Committed binaries | None. |
| CI workflows | 5 workflows. None use pull_request_target. 8 of 8 third-party actions pinned to a tag rather than a commit. |
| Network hosts | 22 distinct hosts referenced from source; most often analytics.example.com, umami.is, api.umami.is, www.google.com. No URLs to bare IP addresses. |
| Known vulnerabilities | 1 advisory across 1,161 pinned packages: 0 critical, 1 high, 0 moderate, 0 low. pnpm-lock.yaml: 1,161 packages, 1 advisories. |
| Project hygiene | Has licence file, contributing guide. Missing security policy, automated dependency updates, CodeQL. |
| OpenSSF Scorecard | Not scored: the project is not in Scorecard's weekly index. |
The raw findings
Every hit the scanner wrote out, with a link to the exact line at the scanned commit. Secrets candidates are redacted.
Pattern hits (1)
| Where | Rule | Match |
|---|---|---|
| podman/install-systemd-user-service:9 | persistence | systemctl --user enable $service_name.service |
npm lifecycle scripts (1)
packages/mcp/package.jsonprepack:pnpm --filter @umami/api-client build && pnpm run build
Installer scripts (1)
- scripts/start-docker.sh, 22 lines
Worst known vulnerabilities (1 of 1)
| Advisory | Severity | Package | Summary |
|---|---|---|---|
| GHSA-7589-6fvf-x4pw | high | effect@3.20.0 | Effect: ReDoS in Schema.TemplateLiteral compiled regex |
By the numbers
| Stars | 40.5K |
|---|---|
| Forks | 8,708 |
| Contributors | 475 |
| Commits | 7,167 |
| Open issues | 42 |
| Open pull requests | 111 |
| Releases | 113 |
| Latest release | v3.5.0 |
| Licence | MIT |
| Main language | TypeScript |
| Project age | 6 years |
| Last push | Nov 29, 2026 |
| Tracked files | 2,163 |
| Lines of code | 286.2K |
| Checkout size | 10 MB |
Lines by language: TypeScript 183.2K, JSON 96.3K, SQL 2,914, JavaScript 1,456, CSS 1,126, Markdown 622.
Questions
Is Umami free?
Yes. Self-hosting is free under the MIT licence, with no limits. Umami Cloud, the hosted version, has a free Hobby plan for 1 website and 100,000 events a month, and paid plans from $20 a month.
Umami or Google Analytics?
Umami if you want a simple, private dashboard you own, with no cookies and no data shared with Google. Google Analytics if you need its ad and Search Console integrations and do not mind its cookies and complexity.
Does Umami use cookies?
No. It counts visitors with a hash of the IP address and browser that changes every month, and does not store the IP address. Many sites run it without a cookie banner, but check the rules where you are.
Does Umami send my data anywhere?
Your visitors' data stays in your own database. Umami itself reports its version and basic system details to umami.is and checks for updates; set DISABLE_TELEMETRY=1 and DISABLE_UPDATES=1 to stop both.
What do I need to run Umami?
A server or computer with Docker, or Node.js 20.19 or newer with PostgreSQL 12.14 or newer, and a domain with HTTPS so your sites can load its script.
This post is part of GitHub Tools, where every repository is cloned and scanned before it is written up. The scan is a snapshot of one commit on one day; the repository has moved on since, so check it before you install.
