
<h1 align="center"><b>Openpanel</b></h1>
An open-source alternative to Mixpanel
<a href="https://openpanel.dev">Website</a>
·
<a href="https://openpanel.dev/docs">Docs</a>
·
<a href="https://dashboard.openpanel.dev">Sign in</a>
·
<a href="https://go.openpanel.dev/discord">Discord</a>
·
<a href="https://twitter.com/OpenPanelDev">X/Twitter</a>
·
<a href="https://twitter.com/CarlLindesvard">Creator</a>
·
Openpanel is an open-source web and product analytics platform that combines the power of Mixpanel with the ease of Plausible and one of the best Google Analytics replacements.
| Feature | OpenPanel | Mixpanel | GA4 | Plausible |
|---|---|---|---|---|
| ✅ Open-source | ✅ | ❌ | ❌ | ✅ |
| 🧩 Self-hosting supported | ✅ | ❌ | ❌ | ✅ |
| 🔒 Cookieless by default | ✅ | ❌ | ❌ | ✅ |
| 🔁 Real-time dashboards | ✅ | ✅ | ❌ | ✅ |
| 🔍 Funnels & cohort analysis | ✅ | ✅ | ✅* | ✅*** |
| 👤 User profiles & session history | ✅ | ✅ | ❌ | ❌ |
| 🎬 Session replay | ✅ | ✅**** | ❌ | ❌ |
| 📈 Custom dashboards & charts | ✅ | ✅ | ✅ | ❌ |
| 💬 Event & funnel notifications | ✅ | ✅ | ❌ | ❌ |
| 🌍 GDPR-compliant tracking | ✅ | ✅ | ❌** | ✅ |
| 📦 SDKs (Web, Swift, Kotlin, ReactNative) | ✅ | ✅ | ✅ | ❌ |
| 💸 Transparent pricing | ✅ | ❌ | ✅* | ✅ |
| 🚀 Built for developers | ✅ | ✅ | ❌ | ✅ |
| 🔧 A/B testing & variant breakdowns | ✅ | ✅ | ❌ | ❌ |
✅ GA4 has a free tier but often requires BigQuery (paid) for raw data access. ❌ GA4 has faced GDPR bans in several EU countries due to data transfers to US-based servers. ✅ Plausible has simple goals ✅** Mixpanel session replay is limited to 5k sessions/month on free and 20k on paid. OpenPanel has no limit.
OpenPanel can be self-hosted and we have tried to make it as simple as possible.
You can find the how to here
Give us a star if you like it!
pnpm install
cp .env.example .env
echo "API_URL=http://localhost:3333" > apps/start/.env
pnpm dock:up
pnpm codegen
pnpm migrate:deploy # once to setup the db
pnpm dev
You can now access the following:
pnpm dock:ch to access clickhouse terminalpnpm dock:redis to access redis terminal$ claude mcp add openpanel \
-- python -m otcore.mcp_server <graph>