AltFreeStack
Web Analyticsdocker-ready1-click-deploy

Plausible Analytics: the best Open Source alternative to Google Analytics in 2026

Plausible is a lightweight, privacy-focused web analytics tool: no cookies, native GDPR/CCPA compliance, and a much simpler dashboard than Google Analytics.

License AGPL-3.0 28.8k stars liveUpdated hace 2 díasWebsite Try DemoGitHub Repository

Technical profile

License
AGPL-3.0
Category
Web Analytics
Replaces
Google Analytics
Tech stack
ElixirPhoenixClickHousePostgreSQL

Preview

Plausible Analytics interface preview

Public image provided by Plausible Analytics on its own website.

Key features

  • Under-1KB script, doesn't slow down your site
  • No cookies or consent banner needed
  • Single-page dashboard
  • Imports historical data from Google Analytics

Plausible Analytics vs. Google Analytics

Pros

  • Privacy by design
  • Far simpler to read than GA4

Things to consider

  • Requires ClickHouse, somewhat heavier to self-host
  • Less analytical depth than GA4 for complex ecommerce

Quick Docker installation guide

Copy this docker-compose.yml, adjust the example passwords and run docker compose up -d on your server. See the full step-by-step guide →

docker-compose.yml
version: "3.9"
services:
  plausible:
    image: ghcr.io/plausible/community-edition:v2
    restart: unless-stopped
    ports:
      - "8000:8000"
    environment:
      - BASE_URL=http://localhost:8000
      - SECRET_KEY_BASE=change-me-64-char-secret
      - DATABASE_URL=postgres://postgres:postgres@plausible-db:5432/plausible
      - CLICKHOUSE_DATABASE_URL=http://plausible-events-db:8123/plausible_events_db
    depends_on:
      - plausible-db
      - plausible-events-db
  plausible-db:
    image: postgres:15-alpine
    restart: unless-stopped
    environment:
      - POSTGRES_PASSWORD=postgres
    volumes:
      - plausible_pg_data:/var/lib/postgresql/data
  plausible-events-db:
    image: clickhouse/clickhouse-server:24-alpine
    restart: unless-stopped
    volumes:
      - plausible_ch_data:/var/lib/clickhouse
volumes:
  plausible_pg_data:
  plausible_ch_data: