Skip to content

Self-host OpenPanel

updated Sep 2026prices checked · Jul 2026
We earn commissions when you shop through the links below. Full disclosure →

An open-source web and product analytics platform that pitches itself as "the power of Mixpanel with the ease of Plausible": funnels, cohorts, user profiles, session history and replay, A/B tests, revenue tracking, real-time dashboards, and SDKs for web, iOS/Android and server-side events — cookieless. Licensed AGPL-3.0; the documented install clones a dedicated git branch, a setup quiz writes .env, and a start script brings up seven containers (Caddy, PostgreSQL, Redis, ClickHouse, API, dashboard, worker). Free to self-host with unlimited events, per its pricing page.

Key facts

LicenseAGPL-3.0
StackTypeScript, Next.js, Fastify, PostgreSQL, ClickHouse, Redis
Min RAM2048 MB
Official imageyes
Difficulty
Our recommendation

Pick OpenPanel when what you actually want is product analytics — funnels, cohorts, user profiles, session replay, A/B tests and mobile SDKs — and Google Analytics was only ever a stand-in for Mixpanel. It is AGPL-3.0, free to self-host with unlimited events per its own pricing page, and its setup quiz writes the configuration for you. It is also the heaviest install in this hub: seven containers, a domain for Caddy, and no published RAM floor.

What you need

  • Any VPS with at least 2048 MB of RAM
  • A domain you control — most self-hosted setups need HTTPS in front of them
  • About an afternoon — budget time for troubleshooting
Where to host itaffiliate disclosure
Hetzner Cloudrun it on
From $23.59/mo · 2 vCPU / 4 GB / 80 GB · EU + US
Get Hetzner Cloud (opens in new tab)
Kamaterafree trial
From $4/mo · 1 vCPU / 1 GB / 20 GB · US + EU + Asia
Start free on Kamatera → (opens in new tab)
DigitalOceanalso works on
From $6/mo · 1 vCPU / 1 GB / 25 GB · US + EU + Asia
Deploy on DigitalOcean → (opens in new tab)

Paid link — we earn a commission if you shop through it.

Install

Run these commands on your server:

# OpenPanel — the project's self-hosting branch: ./setup asks for your domain and secrets and writes .env, ./start brings up Caddy, PostgreSQL, Redis, ClickHouse, API, dashboard and worker
git clone -b self-hosting https://github.com/Openpanel-dev/openpanel && cd openpanel/self-hosting
./setup    # installs Docker and Node if they are missing, then runs the configuration quiz
./start    #  →  https://your.domain  (Caddy on :80/:443; registration is off after the first user — ALLOW_REGISTRATION=true to open it)

What you take on

OpenPanel is the most capable and the most machinery in this hub; both sides show up in the install:

non-negotiableThe docs tell you to clone the self-hosting git branch (git clone -b self-hosting …) rather than the default branch. The same self-hosting/ directory exists on main, but the branch is the one the docs support — follow them.
non-negotiableThe compose template runs Caddy, PostgreSQL, Redis, ClickHouse, the API, the dashboard and a worker. The project publishes no RAM minimum; the 2 GB on our page is our estimate for that stack, not a documented figure.
non-negotiableThe docs say it has only been tested on Ubuntu 24.04, and that you must initialise the SDK with your own API URL (your domain plus /api) — the default points at the hosted service.
non-negotiableRegistration is off after the first user (ALLOW_REGISTRATION="false" in the env template); invitations are on. Email (Resend or SMTP) and the AI features are optional extras that need their own keys.

An alternative to

Head-to-head

More in Web analytics

Web analytics

GoatCounter

The smallest serious web analytics server: a single statically compiled Go binary (or the project's own Docker image) writing to a SQLite file, with PostgreSQL optional for big sites. It counts unique visits without cookies or identifiers, tracks referrers, campaigns, browsers, locations and screen sizes, and offers a JavaScript-free tracking pixel, a backend API, and log-file import. Its own README says it doesn't need a GDPR notice. Licensed EUPL-1.2; the same author runs a free hosted service.
GoSQLite
easyRead guide →
Web analytics

Matomo

The full-featured Google Analytics alternative — goals, e-commerce tracking, and 100% data ownership, with funnels and heatmaps available as paid premium plugins. Heavier than Plausible, but the closest like-for-like replacement for GA's depth.
PHPMariaDB
moderateRead guide →
Web analytics

Plausible

Lightweight, privacy-friendly web analytics in a single dashboard — no cookies, no personal data, GDPR-friendly by default. The Google Analytics replacement you can actually read.
ElixirClickHousePostgreSQL
moderateRead guide →
Web analytics

Rybbit

An open-source, privacy-friendly Google Analytics alternative that goes further than a pageview dashboard: sessions, unique users, bounce rate, real-time view, goals, retention, user journeys, funnels, session replays, custom events with JSON properties, and country → region → city maps — no cookies. Licensed AGPL-3.0 and installed by one setup script that starts Caddy, ClickHouse, PostgreSQL, Redis and the two app containers; it needs a domain pointed at the server because its tracking script must be served over HTTPS.
TypeScriptClickHousePostgreSQLRedis
easyRead guide →

We use analytics cookies (Google Analytics, PostHog) to see which guides are useful. No ad networks, no cross-site tracking. See our privacy policy.