Umami — Modern Privacy-Focused Website Analytics
Umami is an open-source, privacy-focused analytics platform and Google Analytics alternative with real-time dashboards, event tracking, and multi-site support.
What it is
Umami is an open-source, privacy-focused website analytics platform. It provides real-time dashboards, event tracking, multi-site support, and custom reporting without cookies, personal data collection, or GDPR consent banners. Umami is designed as a Google Analytics replacement for teams that prioritize user privacy.
Umami targets website owners, developers, and organizations that need analytics without the privacy concerns and complexity of Google Analytics. It collects only essential metrics: page views, referrers, browsers, devices, and countries.
How it saves time or tokens
Umami's lightweight tracking script (under 2kB) loads faster than Google Analytics, improving page performance. No cookie consent banners are needed because Umami does not use cookies or track personal data. Self-hosting eliminates data sharing with third parties. The real-time dashboard shows current visitors without waiting for data processing delays.
How to use
- Deploy Umami:
git clone https://github.com/umami-software/umami.git
cd umami
cp .env.example .env
# Set DATABASE_URL in .env
npm install
npx prisma migrate deploy
npm run build
npm start
- Open
http://localhost:3000, log in with admin/umami, and change the default password.
- Add your website and copy the tracking script to your pages:
<script
defer
src="https://your-umami-instance.com/script.js"
data-website-id="your-website-id">
</script>
Example
# docker-compose.yml for Umami
services:
umami:
image: ghcr.io/umami-software/umami:postgresql-latest
ports:
- '3000:3000'
environment:
DATABASE_URL: postgresql://umami:password@postgres:5432/umami
depends_on:
- postgres
postgres:
image: postgres:15
environment:
POSTGRES_DB: umami
POSTGRES_USER: umami
POSTGRES_PASSWORD: password
volumes:
- umami-db:/var/lib/postgresql/data
volumes:
umami-db:
Related on TokRepo
- Self-Hosted Tools — Self-hosted alternatives to SaaS products
- SEO Tools — Analytics and SEO measurement
This tool integrates with standard development workflows and requires minimal configuration to get started. It is available as open-source software with documentation and community support through the official repository. The project follows semantic versioning for stable releases.
For teams evaluating this tool, the key advantage is reducing manual work in repetitive tasks. The automation provided by the built-in features means less custom code to maintain and fewer integration points to manage. This translates directly to lower maintenance costs and faster iteration cycles.
Common pitfalls
- Change the default admin password immediately after first login; the default credentials (admin/umami) are well-known.
- The tracking script must be served from the same domain or a trusted domain to avoid ad blocker interference.
- Umami does not provide the full feature set of Google Analytics (no conversion funnels, no user-level tracking); evaluate whether the simplified metrics meet your needs.
Frequently Asked Questions
Yes. Umami does not use cookies, does not collect personal data, and does not track users across sites. No GDPR consent banner is required because no personal data processing occurs.
Yes. Umami supports custom event tracking via JavaScript. Call umami.track with an event name and optional properties to record button clicks, form submissions, and other user interactions.
Umami supports PostgreSQL and MySQL. PostgreSQL is recommended for new installations. The database stores all analytics data, so regular backups are important.
Both are privacy-focused analytics alternatives. Umami is fully open-source and free to self-host. Plausible offers a managed SaaS service and is also open-source. Feature sets are similar; choose based on hosting preference and UI preference.
Yes. Umami supports multiple websites from a single installation. Each website gets its own tracking ID and separate dashboard. There is no limit on the number of sites you can track.
Citations (3)
- Umami GitHub— Umami is a privacy-focused open-source analytics platform
- Umami Official Site— Umami does not use cookies and requires no GDPR consent
- Umami Documentation— Umami tracking script is under 2kB
Related on TokRepo
Source & Thanks
- GitHub: umami-software/umami — 36K+ ⭐ | MIT
- Website: umami.is
Discussion
Related Assets
Conda — Cross-Platform Package and Environment Manager
Install, update, and manage packages and isolated environments for Python, R, C/C++, and hundreds of other languages from a single tool.
Sphinx — Python Documentation Generator
Generate professional documentation from reStructuredText and Markdown with cross-references, API autodoc, and multiple output formats.
Neutralinojs — Lightweight Cross-Platform Desktop Apps
Build desktop applications with HTML, CSS, and JavaScript using a tiny native runtime instead of bundling Chromium.