Plausible is lightweight, cookie-less analytics: an alternative to Google Analytics that does not require cookie consent and is not a GDPR risk. The self-hosted edition is free and open-source. This is a guide to setting it up for your own site or for an agency-level multi-tenant setup.
Plausible in brief #
- Open-source web analytics, AGPL licence.
- Built in Elixir (Phoenix framework).
- Cookie-less by design: uses privacy-preserving fingerprinting without user identification.
- Single dashboard (all metrics on one screen).
- Lightweight script (~1 KB vs Google Analytics 50+ KB).
- Plausible Cloud ($9-39/mo) or self-host (free).
Why self-host #
- Price: free vs $9/mo × the number of sites.
- Full data ownership.
- Agency use case: hosting for 50+ clients on a single instance.
- No per-pageview limits.
- EU data residency guaranteed.
Technical requirements #
- Docker (Plausible is distributed as a Docker image).
- PostgreSQL 13+ (for user data).
- ClickHouse 22+ (for analytics events: a column store, very fast).
- Minimum 2 GB RAM, 4+ GB recommended.
- nginx as a reverse proxy with SSL.
Sizing #
| Setup | vCPU | RAM | Sites | EUR/mo |
|---|---|---|---|---|
| Personal (1-3 sites) | 1-2 | 2 GB | 3 | ~15-25 |
| Agency (50 sites) | 2-4 | 4-8 GB | 50 | ~40-80 |
| Multi-tenant (500+ sites) | 8+ | 16+ GB | 500+ | ~150+ |
Setup in 10 min (Docker Compose) #
git clone https://github.com/plausible/community-edition
cd community-edition
cp plausible-conf.env.example plausible-conf.env
# edit BASE_URL, SECRET_KEY_BASE u env
docker-compose up -d
Web UI: http://yourdomain:8000. After the first setup you register an admin, add a site and get the tracking snippet.
Tracking snippet #
<script defer data-domain="example.com" src="https://analytics.yourdomain.com/js/script.js"></script>
1 KB script. No cookies, no GDPR consent needed.
Migrating from Google Analytics #
Plausible has a GA Import: connect a Google Analytics property and it imports the historical data. For a site with 5+ years of GA data, this is useful for long-term trending.
Plausible at WMD #
Plausible runs in Docker, and Docker requires root, so it goes only on your own server. We maintain such servers: dedicated servers.
FAQ #
Plausible vs Matomo vs Umami? Plausible: the easiest setup, lightweight, good UX. Matomo: more features (heatmaps, A/B testing), but more complicated. Umami: the easiest for a solo developer, fewer features.
Do you need cookie consent for Plausible? No. Plausible does not use cookies and does not track individual users. GDPR-compliant out of the box.
Plausible Cloud vs self-host cost? Cloud is 9-39 USD/mo × the number of sites. Self-hosting is a fixed 20-80 EUR/mo regardless of the number of sites.
Is ClickHouse necessary? Yes, it does not work without it. Plausible ships it in the Docker Compose setup.
Do you need a server for self-hosted Plausible? Get in touch through the contact form.