What is Umami?
Umami is web and product analytics that works without cookies. Its tracker records pageviews, referrers, browsers, operating systems, device types and approximate location, plus custom events, and the dashboard adds funnels, retention, cohorts, revenue reports, heatmaps, session replay and, since v3.5.0, browser error tracking. It is a Next.js application that needs Node.js 20.19 or later and PostgreSQL 12.14 or later; v3.0.0, released on 7 November 2025, dropped MySQL.
The code is MIT-licensed and has about 40,500 GitHub stars. Releases come every month or two: v3.4.0 in September 2026 added a read-only MCP server, and v3.5.0 followed on 12 November 2026. Umami Cloud runs the same software with a free tier of 100,000 events a month. The cloud tracker script weighed 9,490 bytes, or 4,226 bytes gzipped, when we fetched it on 30 November 2026.
Is Umami worth it?
Umami covers what most sites use Google Analytics for, traffic, sources, pages, events and simple funnels, without setting cookies. Visitors are told apart by IP address and browser combined with a salt that the server rotates, and v3.5.0 added optional client-provided salts that rotate hourly, daily, weekly or monthly. The docs stop short of a blanket legal claim: they say Umami is designed for privacy and that GDPR compliance depends on how you configure and use it. The tracker is small, about 4 KB gzipped from Umami Cloud.
Version 3 forced a migration on some self-hosters. v3.0.0 in November 2025 removed MySQL support, so MySQL installations must migrate to PostgreSQL with the published guide before upgrading. The releases since have been substantial: heatmaps in v3.2.0, two-factor authentication in v3.3.0, annotations, API keys and MCP in v3.4.0, and error tracking in v3.5.0. Self-hosting is free of feature gates except a few cloud extras, such as email reports and the streaming API.
On 13 November 2026 the project published a critical advisory (CVSS 9.9): an SQL injection in the compatibility Reports API, reachable without an account on any instance that exposes a public share link, which on the default Docker setup, where the database role is a superuser, leads to file access and code execution on the server. It affects 3.4.0 and earlier, and the advisory names no patched release; 3.5.0, out the day before, is the first candidate. A June 2026 advisory, rated high, found that a token returned by the public tracking endpoint could be reused as a share token to read a site's analytics; it still lists no patched version, though the 3.2.0 and 3.5.0 notes both contain share-token fixes. In December 2025, v3.0.3 shipped only to pick up a Next.js security patch. Running the database role without superuser rights and avoiding public share links limits the damage of the next flaw.
The AI angle is the MCP server. It exposes read-only tools for traffic, events, sessions, funnels, goals, retention, attribution and revenue, authenticates with Umami API keys under existing user and team permissions, and is off by default on self-hosted installs until you set MCP_ENABLED=1. An assistant can answer which pages lost traffic last week without anyone exporting a CSV. PostHog, which we also review, goes much further into product analytics with feature flags and experiments, at the cost of a far heavier stack; on Hacker News, one commenter who compared it with Matomo found Umami far thinner on features, and another disagreed.
Where it earns its place
A European SaaS start-up with a marketing site and a docs site
Measure traffic without a cookie banner for analytics
Self-host Umami next to the existing PostgreSQL, add one script tag to each site and track sign-up clicks as events. It costs only the server; whether you still need a banner depends on your other services.
A small product team with 1 million events a month
Get hosted analytics with funnels and retention without running servers
Umami Cloud Pro at $20 a month covers 1 million events, 20 sites and 10 team members with 2 years of retention; extra events cost $0.00003 each and collection does not stop at the limit.
A developer who works in Claude Code all day
Ask how a launch affected traffic without opening the dashboard
Set MCP_ENABLED=1 on the self-hosted instance, create an API key and connect the @umami/mcp server; the assistant queries traffic, events and funnels read-only, within that key's permissions.
Before you commit
- Setup
- docker compose up -d starts Umami with PostgreSQL; from source it needs Node.js 20.19 or later, PostgreSQL 12.14 or later, DATABASE_URL and APP_SECRET. The first build creates a login of admin with password umami, which you must change. Then add the tracker script tag to each site.
- Integrations
- JavaScript tracker with data attributes or window.umamiConfig; REST API with API keys and a typed TypeScript client (@umami/api-client); MCP over HTTP or stdio (@umami/mcp); links and pixels for tracking outside your site.
- Data and privacy
- No cookies. Self-hosted data stays in your PostgreSQL and is kept indefinitely unless you delete it; anonymous telemetry is on until you set DISABLE_TELEMETRY. A critical SQL injection advisory (13 November 2026) affects 3.4.0 and earlier; a June 2026 share-token advisory lists no patched version.
- Cost at scale
- Self-hosting costs a small server and PostgreSQL. Cloud Business is $200 a month for 10 million events, 5,000 session replays, heatmaps and 5 years of retention; extra events cost $0.00002 and extra replays $0.005.
- Cancelling and refunds
- Paid Cloud plans have a 14-day trial with every feature; cancel during it and you pay nothing, otherwise the regular monthly price applies. Plans are monthly with no long-term contract or cancellation fee.
- Limits
- PostgreSQL only since v3; Hobby keeps 6 months of data for 1 site; MySQL users must migrate before upgrading to v3; some features, such as email reports, are Cloud only.
What’s good
- No cookies; tracker about 4 KB gzipped
- MIT, with nearly every feature in the free self-hosted version
- Funnels, retention, heatmaps, replay and error tracking in one app
- Read-only MCP server, off by default on self-hosted installs
What’s not
- Critical unauthenticated SQL injection disclosed in November 2026 for 3.4.0 and earlier
- MySQL dropped in v3; PostgreSQL only
- Anonymous telemetry is on by default in self-hosted installs
- Email reports and the streaming API are Cloud only
Best for
Site owners and small product teams who want cookie-free traffic analytics they can self-host on PostgreSQL and will keep upgraded.
Umami alternatives
Umami: common questions
- Is Umami worth it?
- Umami gives you the traffic reports most sites actually read, with no cookies and a free self-hosted version, but anyone running it themselves must upgrade promptly after a critical flaw in November 2026. We rate it 4.1 out of 5.
- How much does Umami cost?
- Self-hosted: free under MIT. Umami Cloud: Hobby free (100K events a month, 1 site, 6 months' retention); Pro $20/month (1M events, $0.00003 per extra event); Business $200/month (10M events, $0.00002 per extra event); Enterprise custom.
- What are the downsides of Umami?
- Critical unauthenticated SQL injection disclosed in November 2026 for 3.4.0 and earlier; mySQL dropped in v3; PostgreSQL only; anonymous telemetry is on by default in self-hosted installs; email reports and the streaming API are Cloud only.
- Who is Umami best for?
- Site owners and small product teams who want cookie-free traffic analytics they can self-host on PostgreSQL and will keep upgraded.
- How much does Umami cost for a team or in production?
- Self-hosting costs a small server and PostgreSQL. Cloud Business is $200 a month for 10 million events, 5,000 session replays, heatmaps and 5 years of retention; extra events cost $0.00002 and extra replays $0.005.
- Is Umami safe for company data?
- No cookies. Self-hosted data stays in your PostgreSQL and is kept indefinitely unless you delete it; anonymous telemetry is on until you set DISABLE_TELEMETRY. A critical SQL injection advisory (13 November 2026) affects 3.4.0 and earlier; a June 2026 share-token advisory lists no patched version.
- How do I cancel Umami, and can I get a refund?
- Paid Cloud plans have a 14-day trial with every feature; cancel during it and you pay nothing, otherwise the regular monthly price applies. Plans are monthly with no long-term contract or cancellation fee.
- What are the best Umami alternatives?
- The closest alternatives we have reviewed are PostHog.
Answers checked Nov 30, 2026.