repobenchmarks // privacy web analytics
DEVOPS
$ docker compose up -d plausible plausible_db

Plausible Analytics Platform

A privacy-focused alternative to Google Analytics with zero cookies, full GDPR compliance without banners, and a sub-1KB JavaScript tracker.

Script Size: < 1 KB (45x lighter than GA4) Database: ClickHouse Columnar Store Stars: >19,000
Browser Visit plausible.js Zero Cookies ClickHouse Columnar Aggregates Instant Dashboards

Google Analytics 4 has grown into an overly complex, invasive enterprise platform: its heavy JavaScript tags slow down page load times, and using it in Europe legally requires annoying cookie consent banners that hurt conversion rates. Plausible Analytics provides a clean, single-page dashboard containing all essential traffic metrics (visitors, top sources, landing pages, goals) while operating completely cookieless.

Why Builders Love Plausible

  • No Cookie Banners Required: Plausible generates a daily pseudo-random hash from the visitor's IP address and user-agent string without storing personal data. It complies with GDPR, CCPA, and PECR without requiring visitor consent.
  • Blazing Fast ClickHouse Backend: Event ingestion and analytical queries run on ClickHouse, enabling instant dashboard filtering across millions of monthly pageviews on modest hardware.
  • Lightweight Script: The tracker script is under 1KB (compared to Google Analytics ~45KB), improving Google Core Web Vitals and Largest Contentful Paint (LCP) scores.

Plausible Event Ingestion Pipeline

Plausible Analytics Ingestion Architecture Shows browser firing lightweight beacon to Elixir backend, inserting event records into ClickHouse column store. Visitor Browser POST /api/event Plausible Server (Elixir) Anonymizes IP with Salt Discards Raw PII ClickHouse Storage High Compression Ratios

Plausible vs Google Analytics 4 (GA4)

Metric Plausible Google Analytics 4
Cookie Consent Banner Not Required (100% Cookieless) Legally Mandatory in EU
Script Size < 1 KB ~45 KB
Data Ownership 100% yours on self-hosted VPS Used for Google Ad targeting
⚠ Deployment Gotcha: `BASE_URL` Protocol

In Plausible's environment variables, BASE_URL must include the full protocol scheme (e.g. BASE_URL=https://analytics.yourdomain.com) matching your reverse proxy configuration. If the https:// scheme is omitted, Plausible's internal CSRF protection will reject all login attempts and dashboard event queries with 403 Forbidden errors.

Learn more on the official site at plausible.io or check the GitHub repository.