--- name: umami description: >- Track website analytics with Umami — privacy-focused, open-source Google Analytics alternative. Use when someone asks to "track website analytics", "Umami", "privacy-friendly analytics", "self-hosted analytics", "GDPR analytics", "replace Google Analytics", or "website traffic tracking without cookies". Covers setup, event tracking, custom properties, API, and self-hosting. license: Apache-2.0 compatibility: "Any website. Self-hosted (Docker/Vercel) or Umami Cloud." metadata: author: terminal-skills version: "1.0.0" category: data-ai tags: ["analytics", "umami", "privacy", "tracking", "open-source"] --- # Umami ## Overview Umami is a privacy-focused web analytics platform — tracks page views, visitors, and custom events without cookies or personal data collection. GDPR/CCPA compliant by default (no consent banner needed). Self-hostable on your own infrastructure, or use Umami Cloud. Clean dashboard, real-time stats, and an API for programmatic access. The #1 open-source Google Analytics alternative. ## When to Use - Need website analytics without cookie consent banners - GDPR/CCPA compliance is mandatory - Don't trust Google with your analytics data - Want to self-host analytics on your infrastructure - Simple, clean analytics without the complexity of GA4 - API access to analytics data for dashboards/reporting ## Instructions ### Self-Host Setup ```bash # Docker Compose git clone https://github.com/umami-software/umami.git cd umami docker compose up -d # Or one-click deploy to Vercel/Netlify/Railway # See: https://umami.is/docs/install ``` ### Add Tracking Script ```html ``` ```tsx // Next.js — app/layout.tsx import Script from "next/script"; export default function RootLayout({ children }) { return (