Umami logo

Umami

✓ Verified FOSSMIT
Top open-source alternative to Google Analytics (GA4)

Umami is an open-source, GDPR-compliant analytics platform. It collects only necessary metrics, doesn't use cookies, generates zero tracking creepiness, and has a lightning-fast dashboard.

Tech StackNext.js, React, Tailwind, Prisma
Self-Host DifficultyEasy
License ModelMIT
GitHub Repositoryumami-software/umami

Recommended VPS & Hardware Sizing

Estimated Hosting: $4 - $6/mo (e.g. Hetzner CX22 or DigitalOcean)
Min RAM:1 GB
Rec RAM:2 GB
Compute:1 vCPU
Disk Space:10 GB SSD

Umami vs Google Analytics (GA4) Comparison Matrix

Evaluation CriteriaUmami (Open Source)Google Analytics (GA4) (Proprietary)
Cookie ConsentNo Banner NeededMandatory Cookie Wall
Script Payload<3 KB footprint50+ KB GA4 bundle
Data MonetizationNever sells dataGoogle ad profiling
INTERACTIVE TCO MODELEstimated Rate: $255/user/mo

Financial Impact: Migrating from Google Analytics (GA4) to Self-Hosted Umami

Detailed Stack Calculator →
5 Users (Early Startup)50 Users (Scaleup)200 Users (Enterprise Org)
Google Analytics (GA4) (Cloud SaaS)Per-Seat Tax
$76,500per year ($6,375/mo)
3-Year Spend:$229,500

* Excludes enterprise SSO add-ons & usage overages

Umami (Self-Hosted)Zero Per-Seat Fee
$120per year ($10/mo Linux VPS)
3-Year Compute:$360

* Commodity Hetzner / DigitalOcean compute instance

Cumulative 3-Year ROI+$229,140Net savings across 36 months (100% reduction)
Annual Free Cash:+$76,380/yr
Need C-Level Buy-In? Generate an instant ROI proposal memo to present to your CTO or CFO.

Core Capabilities & Features

✓No Cookie Banners Needed
✓GDPR & CCPA Compliant
✓Lightweight <3KB Script
✓Unlimited Websites

Self-Host Umami with Docker Compose

Tweak configuration ports, secrets, and volumes live. Download or copy your ready-to-run container file:

1-Click Docker Compose Generator

Generate production-ready container definitions with customizable ports and volumes.

UmamiMIT

Simple, fast, privacy-focused alternative to Google Analytics

Difficulty: Easy39,332 ⭐
Configure Parameters
docker-compose.umami.yml
version: "3.8"
services:
  umami:
    image: ghcr.io/umami-software/umami:postgresql-latest
    container_name: umami
    ports:
      - "${PORT:-3000}:3000"
    environment:
      DATABASE_URL: postgresql://umami:${DB_PASSWORD:-umami_pwd}@db:5432/umami
      DATABASE_TYPE: postgresql
      APP_SECRET: "${APP_SECRET:-umami_matrix_secret_key}"
    depends_on:
      - db
    restart: unless-stopped
  db:
    image: postgres:15-alpine
    container_name: umami-db
    environment:
      POSTGRES_DB: umami
      POSTGRES_USER: umami
      POSTGRES_PASSWORD: ${DB_PASSWORD:-umami_pwd}
    volumes:
      - umami-db-data:/var/lib/postgresql/data
    restart: unless-stopped
volumes:
  umami-db-data:

Frequently Asked Questions: Self-Hosting Umami

How do I self-host Umami using Docker Compose?

You can deploy Umami (umami-software/umami) on any Linux server by copying the docker-compose.yml template on this page, configuring your desired host port and persistent volume directory, and running 'docker compose up -d'.

How does Umami compare to Google Analytics (GA4)?

Umami is an open-source, self-hosted alternative to Google Analytics (GA4) built with Next.js, React, Tailwind, Prisma. Unlike Google Analytics (GA4) (Free (Data Monetization) / $150k/yr 360), Umami has zero per-user licensing fees and keeps 100% of your data on your own infrastructure.

What are the minimum VPS RAM and CPU requirements for Umami?

For production self-hosting (Easy difficulty tier), we recommend at least 2 GB RAM (minimum 1 GB), 1 vCPU, and 10 GB SSD storage, which typically costs $4 - $6/mo (e.g. Hetzner CX22 or DigitalOcean).

Is Umami free for commercial business use under the MIT license?

Yes. Distributed under the MIT license, Umami can be self-hosted internally by businesses and engineering teams of any size without per-seat royalties.

README INTEGRATION // REPO EMBED

Embed Official Umami Badge in GitHub README

Served locally from OSSMatrix with Cloudflare global edge caching. Real-time verified alternative status, zero third-party dependencies, sub-5ms load time.

Live Preview:Umami Badge
Markdown Embed (GitHub / GitLab)
[![OSSMatrix Alternative](https://ossmatrix.com/api/badge/umami)](https://ossmatrix.com/project/umami)
HTML Embed (Docs / Landing Pages)
<a href="https://ossmatrix.com/project/umami" target="_blank" rel="noopener noreferrer"><img src="https://ossmatrix.com/api/badge/umami" alt="Umami on OSSMatrix" /></a>
SIMILAR REPOSITORIES // PEER COMPARISON

Compare Umami with Other Self-Hosted Alternatives

All Google Analytics (GA4) Alternatives →