For Plausible
Plausible on Edge, analytics without the banner
Free to sign up. No egress fees on any product.
Why Plausible on Edge
Privacy-first analytics on infrastructure you own
No cookies, no personal data
Plausible sets no cookies and stores no personal data. Self-hosted, visitor data never leaves your VM.Elixir, Postgres, ClickHouse
The Community Edition compose file runs all three on one VM. Move ClickHouse to its own VM over a private network when it grows.Script from the CDN
script.js caches in 988 locations on your own subdomain. No third-party domain in anyone's request list.Query your own data
ClickHouse sits on your VM. Query it directly, export to your BI tool or feed your own pipeline.Reports over your SMTP
Point Plausible at Postmark, Mailgun or SES for weekly email reports and password resets.No per-pageview pricing
Plausible Cloud prices by monthly pageviews. On Edge, a traffic spike doesn't move you up a tier.
Reference architecture
How Plausible maps to Edge
Visitors' browsers
load script.js, send events
Your team
dashboards and weekly reports
analytics.acme.com
script cached, /api/event passed
plausible :8000
Elixir · Docker · s-2vcpu-4gb
clickhouse
events and sessions
postgres:16
users, sites, goals
plausible-backups
clickhouse-backup, pg_dump
- Compute
Runs Plausible CE, ClickHouse and Postgres with Docker Compose on one VM.
- CDN
Serves script.js worldwide from your subdomain and passes event posts to the VM.
- Storage
Holds ClickHouse and Postgres backups, off the VM and egress-free.
- DNS
Anycast DNS for analytics.acme.com.
- Shield
Scores sign-ups and form posts on the sites you track, keeping bots out of your goals.
Deploy
Plausible CE in five steps
- 01
Create a Docker VM and a backup bucket
Plausible needs ClickHouse, so start with at least 4 GiB of memory.
shell$ edge compute create --name analytics --size s-2vcpu-4gb \ --image ubuntu-24 --region london --script docker $ edge storage create plausible-backups - 02
Clone Community Edition
The repository holds the compose file and ClickHouse config. Check out the latest release tag.
shell$ ssh root@<vm-ip> $ git clone https://github.com/plausible/community-edition plausible-ce $ cd plausible-ce - 03
Configure it
BASE_URL is the public address the CDN will serve. The SMTP lines are optional but make weekly reports work.
.envBASE_URL=https://analytics.acme.com SECRET_KEY_BASE=<openssl rand -base64 48> HTTP_PORT=8000 MAILER_EMAIL=reports@acme.com SMTP_HOST_ADDR=smtp.postmarkapp.com SMTP_HOST_PORT=587 SMTP_USER_NAME=<smtp-token> SMTP_USER_PWD=<smtp-token> - 04
Start it and put the CDN in front
Publish port 8000 on localhost in compose.override.yml and proxy :443 to it; the CDN handles the public certificate.
shell$ docker compose up -d $ edge cdn create --name analytics $ edge cdn domains add cdn-a1b2c3 \ --domain analytics.acme.com \ --origin https://<vm-ip> - 05
Add the script to your sites
Add each site in the Plausible dashboard, then drop this into its <head>.
index.html<script defer data-domain="acme.com" src="https://analytics.acme.com/js/script.js"></script>
Prefer to hand it off? Give the job to your AI agent or have our engineers do it.
What it costs
A million pageviews, one flat VM
- Pageviews don't change the VM price
- CDN requests: $0.25 per million after 500k free
- No cookie banner to build or maintain
- Zero egress on dashboards, exports and backups
Estimated monthly bill on Edge
~1M pageviews a month across several sites
- Compute$19.24Standard VM · 2 vCPU · 4 GiB · 80 GB NVMe
- CDN$0.30~1.7M requests (events + script), first 500k free, then $0.25/M
- Storage$0.1515 GB of nightly backups, first 5 GB free
- DNS$0.00Zone and records for analytics.acme.com
- Egress$0.00
Indicative monthly cost · ~1M pageviews a month
- Plausible Cloud Business~$59/mo
- Fathom Pro~$54/mo
- Edge (Standard VM + CDN)~$20/mo
Competitor figures are indicative, based on public pricing. The Edge figure is the bill above.
FAQ
Plausible on Edge, answered
How does this compare to Plausible Cloud?
Will I need a cookie consent banner?
How far will one VM go?
Can I bring my Google Analytics history?
How do I back it up?
Drop-in services
Add these without touching the stack
- Edge ShieldBot protection
POST /siteverify → score: 94Score sign-ups and form posts on the sites you track, so bot traffic doesn't inflate your conversion goals.
Free for most sites. No puzzles, no widget to style.Explore - Edge AssistAI answers
<script src="…/assist.js">Add an answer box grounded in your own pages to the same sites Plausible measures, with one script tag.
Free tier: 250 answered questions a monthExplore
Stand up Plausible
Start free. Move off Google Analytics, or run one instance for every site you look after.
Free tiers hard-cap. Nothing bills until you add a card.