{
  "@context": "https://schema.org",
  "@type": "WebPage",
  "name": "Self-host Plausible Analytics on Edge | No cookie banner",
  "headline": "Self-host Plausible Analytics on Edge | No cookie banner",
  "description": "Run Plausible Community Edition on an Edge VM with ClickHouse and Postgres, and serve the script from a global CDN. No cookies, no per-pageview pricing.",
  "url": "https://edge.network/solutions/plausible",
  "image": "https://edge.network/og/solutions__plausible.png",
  "inLanguage": "en",
  "publisher": {
    "@type": "Organization",
    "name": "Edge Network",
    "url": "https://edge.network",
    "logo": "https://edge.network/favicon.svg"
  },
  "isPartOf": {
    "@type": "WebSite",
    "name": "Edge Network",
    "url": "https://edge.network"
  },
  "breadcrumb": {
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://edge.network"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Solutions",
        "item": "https://edge.network/solutions"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Plausible",
        "item": "https://edge.network/solutions/plausible"
      }
    ]
  },
  "section": "solutions",
  "articleBody": "For Plausible\n\n Plausible on Edge, analytics without the banner\n\n Plausible Community Edition, ClickHouse and Postgres on one VM. The tracking script loads from 2,206 CDN locations, visitor data stays on your infrastructure, and pageviews never change the VM price. Deploy a VM Compare with Umami The setup on this page costs $19.69 a month, with no egress line.\n\n Why Plausible on Edge\n\n Privacy-first analytics on infrastructure you own \n\n Real privacy, your own data, and no pricing tier that moves when a post does well. No cookies, no personal data\n\n Plausible sets no cookies and stores no personal data. Self-hosted, visitor data never leaves your VM. \n Elixir, Postgres, ClickHouse\n\n The Community Edition compose file runs all three on one VM. Move ClickHouse to its own VM over a private network when it grows. \n Script from the CDN\n\n script.js caches in 2,206 locations on your own subdomain. No third-party domain in anyone&#x27;s request list. \n Query your own data\n\n ClickHouse sits on your VM. Query it directly, export to your BI tool or feed your own pipeline. \n Reports over your SMTP\n\n Point Plausible at Postmark, Mailgun or SES for weekly email reports and password resets. \n No per-pageview pricing\n\n Plausible Cloud prices by monthly pageviews. On Edge, a traffic spike doesn&#x27;t move you up a tier. \n Reference architecture\n\n One Compose project: Plausible, Postgres and ClickHouse \n\n Plausible CE ships as a Docker Compose project. One VM runs the app and both databases; the CDN serves the script and passes events through. Visitors Visitors&#x27; browsers\n\n load script.js, send events\n\n Visitors Your team\n\n dashboards and weekly reports\n\n HTTPS Edge CDN analytics.acme.com\n\n script cached, /api/event passed\n\n HIT POST + misses Edge Compute plausible :8000\n\n Elixir, Docker, s-2vcpu-4gb\n\n Phoenix CE Docker network Database clickhouse\n\n events and sessions\n\n Database postgres:16\n\n users, sites, goals\n\n S3 API Edge Storage plausible-backups\n\n clickhouse-backup, pg_dump\n\n nightly Compute Runs Plausible CE, ClickHouse and Postgres with Docker Compose on one VM.\n\n CDN Serves script.js worldwide from your subdomain and passes event posts to the VM.\n\n Storage Holds ClickHouse and Postgres backups, off the VM and egress-free.\n\n DNS Anycast DNS for analytics.acme.com.\n\n Shield Scores sign-ups and form posts on the sites you track, keeping bots out of your goals.\n\n Deploy\n\n From git clone to your first counted pageview \n\n The official Community Edition repository, a two-line .env and a CDN domain. Pin a release tag for production. ~/plausible-ce $ edge compute create --name analytics \\ \n\n --size s-2vcpu-4gb --image ubuntu-24 \\\n\n --region london --script docker\n\n ✓ vm-51c7aa running, 64.34.86.61\n\n $ cd plausible-ce && docker compose up -d \n\n ✓ plausible, clickhouse, postgres up\n\n $ edge cdn domains add cdn-a1b2c3 \\ \n\n --domain analytics.acme.com \\\n\n --origin https://64.34.86.61\n\n $ curl -sI analytics.acme.com/js/script.js \n\n Consent banners 0 analytics.acme.com Live Stack Plausible CE, Docker Events ClickHouse, same VM 01 Create a Docker VM and a backup bucket\n\n Plausible needs ClickHouse, so start with at least 4 GiB of memory.\n\n shell Copy $ edge compute create --name analytics --size s-2vcpu-4gb \\\n --image ubuntu-24 --region london --script docker\n$ edge storage create plausible-backups \n 02 Clone Community Edition\n\n The repository holds the compose file and ClickHouse config. Check out the latest release tag.\n\n shell Copy $ ssh root@<vm-ip>\n$ git clone https://github.com/plausible/community-edition plausible-ce\n$ cd plausible-ce \n 03 Configure it\n\n BASE_URL is the public address the CDN will serve. The SMTP lines are optional but make weekly reports work.\n\n .env Copy BASE_URL=https://analytics.acme.com\nSECRET_KEY_BASE=<openssl rand -base64 48>\nHTTP_PORT=8000\n\nMAILER_EMAIL=reports@acme.com\nSMTP_HOST_ADDR=smtp.postmarkapp.com\nSMTP_HOST_PORT=587\nSMTP_USER_NAME=<smtp-token>\nSMTP_USER_PWD=<smtp-token> \n 04 Start it and put the CDN in front\n\n Publish port 8000 on localhost in compose.override.yml and proxy :443 to it; the CDN handles the public certificate.\n\n shell Copy $ docker compose up -d\n$ edge cdn create --name analytics\n$ edge cdn domains add cdn-a1b2c3 \\\n --domain analytics.acme.com \\\n --origin https://<vm-ip> \n 05 Add the script to your sites\n\n Add each site in the Plausible dashboard, then drop this into its <head>.\n\n index.html Copy <script defer data-domain=\"acme.com\"\n src=\"https://analytics.acme.com/js/script.js\"></script> \n Prefer to hand it off? Give the job to your AI agent or have our engineers do it .\n\n What it costs\n\n A million pageviews, one flat VM \n\n Hosted analytics moves you up a tier as traffic grows. On Edge the VM price is fixed; only CDN requests past the free tier add a few cents. Pageviews don&#x27;t change the VM price \n CDN requests: $0.25 per million after 500k free \n No cookie banner to build or maintain \n Zero egress on dashboards, exports and backups \n See compute pricing Estimated monthly bill on Edge\n\n ~1M pageviews a month across several sites\n\n USD Compute $19.24 Standard VM, 2 vCPU, 4 GiB, 80 GB NVMe \n CDN $0.30 ~1.7M requests (events + script), first 500k free, then $0.25/M \n Storage $0.15 15 GB of nightly backups, first 5 GB free \n DNS $0.00 Zone and records for analytics.acme.com \n Egress $0.00 \n Total $19.69 Indicative monthly cost, ~1M pageviews a month\n\n Plausible Cloud Business ~$59/mo \n Fathom Pro ~$54/mo \n Edge (Standard VM + CDN) ~$20/mo \n Competitor figures are indicative, based on public pricing. The Edge figure is the bill above.\n\n FAQ\n\n Cookie banners, imports and backups \n\n Something else? Ask an engineer . How does this compare to Plausible Cloud? Same core software, and you control the host. You get predictable bills, data residency and direct ClickHouse access. Community Edition is released less often and leaves out a few paid Cloud features, such as funnels and revenue goals. Will I need a cookie consent banner? Plausible is designed to work without one. It sets no cookies, doesn&#x27;t track individuals across sites and stores no personal data. Check with your own adviser for your jurisdiction. How far will one VM go? Most sites stay on one VM for a long time. When ClickHouse needs more room, give it a dedicated VM on a private network (free, same region) and point Plausible at it. Can I bring my Google Analytics history? Yes. Community Edition can import Google Analytics data once you add Google API credentials, and it also accepts CSV imports. How do I back it up? Run clickhouse-backup against the plausible-backups bucket at https://storage.edge.network, and add a nightly pg_dump of Postgres to the same bucket. Drop-in services\n\n Keep bots out of your conversion goals \n\n Edge Shield Bot protection POST /siteverify → score: 94 Score sign-ups and form posts on the sites you track, so bot traffic doesn&#x27;t inflate your conversion goals.\n\n Free forever, with unlimited widgets. No puzzles for visitors. Explore \n Edge Assist AI answers <script src=\"…/assist.js\"> Add an answer box grounded in your own pages to the same sites Plausible measures, with one script tag.\n\n Free tier: 250 answered questions a month Explore \n Related stacks\n\n Other self-hosted tools \n\n All 38 stacks U Umami Lightweight, cookie-free analytics \n n8n n8n Self-hosted workflow automation \n Vaultwarden Bitwarden-compatible password manager \n Ol Ollama Run open LLMs on your own infrastructure \n Stand up Plausible\n\n Start free. Move off Google Analytics, or run one instance for every site you look after.\n\n Deploy a VM Talk to an engineer Billed hourly from a prepaid balance. Egress is free on every product.",
  "headings": [
    {
      "level": 1,
      "text": "Plausible on Edge, analytics without the banner"
    },
    {
      "level": 3,
      "text": "No cookies, no personal data"
    },
    {
      "level": 3,
      "text": "Elixir, Postgres, ClickHouse"
    },
    {
      "level": 3,
      "text": "Script from the CDN"
    },
    {
      "level": 3,
      "text": "Query your own data"
    },
    {
      "level": 3,
      "text": "Reports over your SMTP"
    },
    {
      "level": 3,
      "text": "No per-pageview pricing"
    },
    {
      "level": 3,
      "text": "Create a Docker VM and a backup bucket"
    },
    {
      "level": 3,
      "text": "Clone Community Edition"
    },
    {
      "level": 3,
      "text": "Configure it"
    },
    {
      "level": 3,
      "text": "Start it and put the CDN in front"
    },
    {
      "level": 3,
      "text": "Add the script to your sites"
    },
    {
      "level": 2,
      "text": "Stand up Plausible"
    }
  ],
  "relatedLinks": [
    {
      "@type": "WebPage",
      "name": "Network",
      "url": "https://edge.network/network"
    },
    {
      "@type": "WebPage",
      "name": "Pricing",
      "url": "https://edge.network/pricing"
    },
    {
      "@type": "WebPage",
      "name": "Docs",
      "url": "https://edge.network/docs"
    },
    {
      "@type": "WebPage",
      "name": "Sign in",
      "url": "https://edge.network/console/access"
    },
    {
      "@type": "WebPage",
      "name": "Solutions",
      "url": "https://edge.network/solutions"
    },
    {
      "@type": "WebPage",
      "name": "Stacks",
      "url": "https://edge.network/solutions/stacks"
    },
    {
      "@type": "WebPage",
      "name": "Compare with Umami",
      "url": "https://edge.network/solutions/umami"
    },
    {
      "@type": "WebPage",
      "name": "Compute",
      "url": "https://edge.network/compute"
    },
    {
      "@type": "WebPage",
      "name": "CDN",
      "url": "https://edge.network/cdn"
    },
    {
      "@type": "WebPage",
      "name": "Storage",
      "url": "https://edge.network/storage"
    },
    {
      "@type": "WebPage",
      "name": "DNS",
      "url": "https://edge.network/dns"
    },
    {
      "@type": "WebPage",
      "name": "Shield",
      "url": "https://edge.network/shield"
    },
    {
      "@type": "WebPage",
      "name": "Give the job to your AI agent",
      "url": "https://edge.network/solutions/agentic-development"
    },
    {
      "@type": "WebPage",
      "name": "have our engineers do it",
      "url": "https://edge.network/solutions/expert-services"
    },
    {
      "@type": "WebPage",
      "name": "See compute pricing",
      "url": "https://edge.network/compute/pricing"
    },
    {
      "@type": "WebPage",
      "name": "Ask an engineer",
      "url": "https://edge.network/contact"
    },
    {
      "@type": "WebPage",
      "name": "Assist",
      "url": "https://edge.network/assist"
    },
    {
      "@type": "WebPage",
      "name": "Pulse",
      "url": "https://edge.network/pulse"
    },
    {
      "@type": "WebPage",
      "name": "Agent API &amp; MCP",
      "url": "https://edge.network/docs/agent"
    },
    {
      "@type": "WebPage",
      "name": "Academy",
      "url": "https://edge.network/academy"
    },
    {
      "@type": "WebPage",
      "name": "Case Studies",
      "url": "https://edge.network/case-studies"
    },
    {
      "@type": "WebPage",
      "name": "Releases",
      "url": "https://edge.network/releases"
    },
    {
      "@type": "WebPage",
      "name": "Roadmap",
      "url": "https://edge.network/roadmap"
    },
    {
      "@type": "WebPage",
      "name": "Status",
      "url": "https://edge.network/status"
    },
    {
      "@type": "WebPage",
      "name": "About",
      "url": "https://edge.network/about"
    },
    {
      "@type": "WebPage",
      "name": "Environment",
      "url": "https://edge.network/environment"
    },
    {
      "@type": "WebPage",
      "name": "Latest",
      "url": "https://edge.network/latest"
    },
    {
      "@type": "WebPage",
      "name": "Blog",
      "url": "https://edge.network/blog"
    },
    {
      "@type": "WebPage",
      "name": "Careers",
      "url": "https://edge.network/careers"
    },
    {
      "@type": "WebPage",
      "name": "Terms of Service",
      "url": "https://edge.network/terms"
    }
  ],
  "alternateFormats": [
    {
      "@type": "MediaObject",
      "contentType": "text/html",
      "url": "https://edge.network/solutions/plausible",
      "name": "HTML version"
    }
  ],
  "dateModified": "2026-11-23T02:00:49.425Z"
}