Replace Google Analytics with a privacy-respecting alternative that keeps all visitor data on your own server.
Track user behavior (page views, session duration, referrers) for your website or app without third-party data brokers.
Meet GDPR and other data protection regulations by hosting analytics infrastructure you fully control.
Analyze user journeys and cohorts for your indie project or startup without paying for Mixpanel or Amplitude.
Requires Docker and PostgreSQL setup; needs environment configuration for the Next.js app.
Umami is a privacy-focused, open-source web analytics platform that serves as an alternative to Google Analytics, Mixpanel, and Amplitude. Instead of sending your visitors' data to a third-party company, Umami lets you host your own analytics dashboard where you stay in complete control of all the data collected. This solves a common problem for website and app owners who want to understand how their users behave without sacrificing user privacy or depending on commercial data brokers. At its core, Umami works by embedding a small tracking script on your website. When visitors land on a page, the script sends information (such as which page they visited, how long they stayed, and where they came from) directly to your own server, where Umami stores it in a PostgreSQL database. You can then log in to Umami's web dashboard to view charts, audience segments, user journeys, and cohort analysis, all features you'd expect from enterprise analytics tools, but running entirely on infrastructure you own. You would reach for Umami when you want clear traffic insights without the privacy concerns tied to Google Analytics (which shares data with Google's ad ecosystem), or when your users are in regions with strict data protection laws like the EU's GDPR. It is also a good fit for indie developers, startups, or teams who want to avoid paying for Mixpanel or Amplitude, since Umami is completely free to self-host. The tech stack is TypeScript throughout, built on Next.js (a React-based web framework) for the front-end dashboard, with a Node.js server (version 18.18 or higher required) on the backend. It uses PostgreSQL as its database, can be deployed via Docker Compose for easy setup, and is managed with pnpm for package management. A hosted cloud version is also available at umami.is if you prefer not to manage your own server.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.