zias 1b23fee108
Some checks failed
Build and Push API / build-api (push) Successful in 8m11s
Build and Push Dashboard / build-dashboard (push) Failing after 37m52s
Build and Push Worker / build-worker (push) Successful in 8m25s
Build and Push API / build-api (pull_request) Successful in 7m13s
Build and Push Dashboard / build-dashboard (pull_request) Failing after 34m41s
Build and Push Worker / build-worker (pull_request) Successful in 6m52s
fix(ci):overhaul the dash build
2026-04-01 09:40:25 +02:00
2026-02-26 14:09:53 +01:00
2026-03-31 15:54:58 +02:00
2026-02-26 14:49:20 +01:00
2025-11-26 12:33:41 +01:00
2026-04-01 09:40:25 +02:00
2025-12-02 23:02:17 +01:00
2026-03-31 16:45:05 +02:00
2026-03-03 11:04:20 +01:00
2024-08-09 23:00:38 +02:00
2026-03-31 15:54:58 +02:00
2026-03-31 16:45:05 +02:00
2026-02-27 11:22:12 +01:00

hero

Openpanel

An open-source alternative to Mixpanel

Website · Docs · Sign in · Discord · X/Twitter · Creator ·



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.

Features

  • 🔍 Advanced Analytics: Funnels, cohorts, user profiles, and session history
  • 🎬 Session Replay: Record and replay user sessions with privacy controls built in
  • 📊 Real-time Dashboards: Live data updates and interactive charts
  • 🎯 A/B Testing: Built-in variant testing with detailed breakdowns
  • 🔔 Smart Notifications: Event and funnel-based alerts
  • 🌍 Privacy-First: Cookieless tracking and GDPR compliance
  • 🚀 Developer-Friendly: Comprehensive SDKs and API access
  • 📦 Self-Hosted: Full control over your data and infrastructure
  • 💸 Transparent Pricing: No hidden costs or usage limits
  • 🛠️ Custom Dashboards: Flexible chart creation and data visualization
  • 📱 Multi-Platform: Web, mobile (iOS/Android), and server-side tracking

📊 Analytics Platform Comparison

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.

Stack

  • Nextjs - the dashboard
  • Fastify - event api
  • Postgres - storing basic information
  • Clickhouse - storing events
  • Redis - cache layer, pub/sub and queue
  • BullMQ - queue
  • GroupMQ - for grouped queue
  • Resend - email
  • Arctic - oauth
  • Oslo - auth
  • tRPC - api
  • Tailwind - styling
  • Shadcn - ui

Self-hosting

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!

Star History Chart

Development

Prerequisites

  • Docker
  • Docker Compose
  • Node
  • pnpm

Start

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:

Description
OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
Readme 147 MiB
Languages
TypeScript 78.4%
MDX 13.2%
JavaScript 6.9%
HTML 0.4%
CSS 0.4%
Other 0.6%