Cette page est affichée en anglais. Une traduction française est en cours.
SkillsApr 10, 2026·3 min de lecture

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.

Prêt pour agents

Staging sûr pour cet actif

Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.

Stage only · 29/100Policy : staging
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Stage only
Confiance
Confiance : Established
Point d'entrée
step-1.md
Commande de staging sûr
npx -y tokrepo@latest install 55eb661a-349d-11f1-9bc6-00163e2b0d79 --target codex

Stage les fichiers d'abord; l'activation exige la revue du README et du plan staged.

TL;DR
Umami is a self-hosted Google Analytics alternative with real-time dashboards and no cookies or tracking.
§01

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.

§02

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.

§03

How to use

  1. 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
  1. Open http://localhost:3000, log in with admin/umami, and change the default password.
  1. 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>
§04

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:
§05

Related on TokRepo

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.

§06

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.

Questions fréquentes

Does Umami comply with GDPR?+

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.

Can I track custom events with Umami?+

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.

What databases does Umami support?+

Umami supports PostgreSQL and MySQL. PostgreSQL is recommended for new installations. The database stores all analytics data, so regular backups are important.

How does Umami compare to Plausible?+

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.

Can Umami track multiple websites?+

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.

Sources citées (3)
🙏

Source et remerciements

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires