
What Plausible does for you
- Read the essentials on a single page: unique visitors, pageviews, bounce rate, visit duration, traffic sources and top pages.
- Measure without cookies or persistent identifiers: Plausible stores no personal data and no IP addresses.
- Keep your pages fast with a very small tracking script, released under the MIT license.
- Track your goals: custom events, outbound link clicks, form submissions, file downloads and 404 pages.
- Own your data: CSV export, a stats API, and direct access to the raw data in ClickHouse.
At a glance
Install Plausible on your VPS
Prerequisites: a Debian or Ubuntu VPS with Docker and Docker Compose, ports 80 and 443 free, and a DNSA record pointing your domain to the VPS. Replace plausible.example.com with your domain.
Become root and clone the official guide at tag v3.2.2. It ships the compose.yml, which pins the Plausible image to that release:
.env file with the two required settings. SECRET_KEY_BASE is a key of at least 64 bytes, generated by openssl:
BASE_URL must be the instance’s real domain. DNS must already point to the VPS: Plausible needs it to obtain its certificate.
Add the web ports, then publish them with a compose.override.yml file. With 80 and 443, Plausible obtains and renews a Let’s Encrypt certificate on its own:
compose.yml untouched: the docs route every setting through .env and compose.override.yml, which avoids conflicts when you upgrade.
Start the three services, Plausible, PostgreSQL and ClickHouse:
First steps
-
Create your account. Open
https://plausible.example.comand create the first user. This account administers the instance. -
Add a site. Enter its domain without
https://orwww., for exampleexample.com. A subdomain tracked on its own is entered in full, such asblog.example.com. -
Install the script. Plausible shows the site’s snippet. Paste it into the
<head>section of your pages, or once in the shared layout if you use a static site generator. The snippet stays available in the site settings, under Site installation.
Check that it works
List the containers and their state:plausible_db and plausible_events_db show (healthy), and plausible is Up.
Then query Plausible’s readiness check through your public domain:
"ok" for postgres, clickhouse, sites_cache and sessions. Status 500 means a check failed: the value that is not "ok" tells you which. Read the logs with docker compose logs plausible.
Secure access
Sign-ups are restricted by default: only people you invite can create an account. If you are the only user, close them entirely, then recreate the container:.env, replace HTTP_PORT=80 with HTTP_PORT=8000 and delete the HTTPS_PORT=443 line.
This compose.override.yml, taken from the wiki, then publishes the port on 127.0.0.1 only:
Limits and alternatives
Community Edition does not include funnels, ecommerce revenue goals, SSO or the sites API, and its bot filtering is simpler than the cloud version’s. It ships twice a year, and support goes through the community forum.Going further
- Plausible Community Edition install guide and its wiki: configuration, reverse proxy and upgrades
- Plausible documentation: adding a site, the tracking script and goals
- VPS firewall: open only the ports you need
- VPS backup: protect the PostgreSQL and ClickHouse databases

