OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
---
title: "Self-Hosted Web Analytics 2026 — Plausible vs Matomo vs Umami vs OpenPanel"
description: "We tested 7 self-hosted web analytics tools on deployment, features, and cost. Plausible, Matomo, Umami, GoatCounter, OpenPanel compared — with honest pros/cons for each use case."
tag: Comparison
team: OpenPanel Team
date: 2024-11-14
updated: 2026-11-01
cover: /content/self-hosted-analytics.jpg
---
import { Faqs, FaqItem } from '@/components/faq';
You've decided to self-host your web analytics. The question now is: which tool do you deploy?
This article picks among the production-ready self-hostable options head-to-head — deployment difficulty, hosting cost at scale, real running requirements. We focus on the four most-used tools (Plausible, Matomo, Umami, OpenPanel) and cover three lighter alternatives at the end.
This is a buyer's comparison, not a survey. Want a broader survey of open-source analytics, including cloud-hosted options and the difference between AGPL, MIT, and source-available licensing? See our [open source analytics tools survey](/articles/open-source-web-analytics). If you have not decided to self-host and want every option, including Google Analytics, Fathom and Simple Analytics, see the [best web analytics tools](/articles/best-web-analytics-tools).
## Quick comparison
| Tool | Type | License | Deployment | Cloud Option | Best For |
|------|------|---------|------------|-------------|----------|
| [**OpenPanel**](#openpanel) | Web + Product | AGPL-3.0 | Docker Compose | From $2.50/mo | Teams needing web and product analytics |
| [**Plausible**](#plausible) | Web | AGPL-3.0 | Docker Compose | From $9/mo | Simple, privacy-first pageview tracking |
| [**Matomo**](#matomo) | Web | GPL-3.0 | PHP + MySQL | From €29/mo | Full Google Analytics replacement |
| [**Umami**](#umami) | Web | MIT | Docker Compose | Free tier | Lightweight self-hosted analytics |
| [**GoatCounter**](#goatcounter) | Web | EUPL | Single binary | Free tier | Minimalist analytics for small sites |
| [**PostHog**](#posthog) | Product + Web | MIT | Docker/K8s | Free tier | Developer teams needing analytics + flags |
| [**Ackee**](#ackee) | Web | MIT | Docker + MongoDB | None | Privacy-focused minimalist tracking |
## How to choose the right self-hosted analytics tool
Before picking a tool, think about what you actually need.
**Web analytics vs product analytics.** If you only need pageviews, traffic sources, and referrals, a simple tool like Plausible or Umami will do. If you also need [funnels](/features/funnels), [retention analysis](/features/retention), user identification, and [event tracking](/features/event-tracking), you need a tool with product analytics capabilities.
**Deployment complexity.** Some tools deploy in under 5 minutes with a single Docker Compose command. Others need Kubernetes clusters, multiple databases, or PHP environments. Be honest about your ops capacity.
**Maintenance burden.** You handle updates, backups, and scaling yourself. Lighter tools like GoatCounter or Umami need minimal maintenance. Feature-rich tools like Matomo or PostHog need more attention.
**Cost at scale.** A $5/month VPS handles most small-to-medium sites. High-traffic sites need more resources, but cost stays predictable — you're paying for servers, not events.
---
## OpenPanel
**Best for: Teams that need both web analytics and product analytics in one self-hosted tool**
[OpenPanel](/) combines [web analytics](/features/web-analytics) and product analytics in one platform. You get pageviews and traffic sources alongside funnels, retention, user journeys, and event tracking. Tracking is cookieless by default, so no consent banners.

### Deployment
OpenPanel is one of the easiest tools to self-host. Four commands and you're running:
```bash
git clone -b self-hosting https://github.com/Openpanel-dev/openpanel && cd openpanel/self-hosting && ./setup
./start
```
The setup wizard handles Docker, database configuration, and SSL. It runs on a single VPS with Docker Compose. A mid-range VPS (4 vCPU, 8 GB RAM) handles millions of events per month.
For detailed instructions, see the [self-hosting guide](/docs/self-hosting/self-hosting).
### Key features
- Real-time web analytics dashboard with traffic, referrals, pages, and devices
- Product analytics: funnels, retention, user identification, custom events
- Cookieless tracking — GDPR/CCPA compliant without consent banners
- Multiple SDKs (JavaScript, React, Next.js, Vue, and more)
- Self-hosting is the full product with no feature gating; releases reach self-hosted a month or two after Cloud
### Pricing
Self-hosting is free. Cloud plans start at $2.50/month for up to 5,000 events, scaling to $90/month for 1 million events. All features included at every tier.
### Pros
- Only self-hosted tool that combines web and product analytics at this price point
- Simple Docker Compose deployment with guided setup
- Cookieless by default — no cookie banners needed
- Open source (AGPL-3.0), and self-hosting is not a cut-down community edition
### Cons
- Newer project with a smaller community than Matomo or PostHog
- No built-in heatmaps (yet)
- Self-hosting still requires server maintenance
<ArticleCta
id="self-hosted-web-analytics-openpanel"
title="See OpenPanel on your own traffic first"
description="Start a 30-day cloud trial to try funnels, retention and the web dashboard on real data before you provision a server. When you're ready, deploy it yourself with Docker Compose."
secondary={{ text: 'Read the self-hosting guide', href: '/docs/self-hosting/self-hosting' }}
/>
---
## Plausible
**Best for: Simple, privacy-first pageview analytics with minimal setup**
[Plausible](https://plausible.io/self-hosted-web-analytics) is the pick if you want simple web analytics without complexity. It tracks pageviews, referrals, and goals without cookies. The dashboard fits on a single screen, so there's nothing to learn.

### Deployment
Plausible self-hosts with Docker Compose. The setup involves cloning their hosting repo, configuring a `plausible-conf.env` file, and running `docker compose up`.
Requirements: A server with Docker, at least 2 GB RAM. Uses PostgreSQL and ClickHouse under the hood.
### Key features
- Single-screen dashboard with real-time data
- Cookieless tracking — no consent banners
- Goal tracking and custom events
- Google Search Console integration
- Lightweight script (~1 KB)
### Pricing
Self-hosting is free under AGPL-3.0. Cloud plans start at $9/month for 10,000 pageviews.
### Pros
- One of the simplest dashboards around — anyone can use it
- Lightweight tracking script that won't slow your site
- Active open source community
- Clean Docker Compose deployment
### Cons
- No product analytics (no funnels, retention, or user-level tracking)
- No session replay or heatmaps
- Self-hosted version requires manual updates
- AGPL license requires source disclosure if you modify and distribute
Compare with OpenPanel: [Plausible vs OpenPanel](/compare/plausible-alternative)
---
## Matomo
**Best for: Organizations that need a full Google Analytics replacement**
[Matomo](https://matomo.org/) (formerly Piwik) has been around since 2007 and is the most feature-rich self-hosted web analytics tool. If you're migrating from Google Analytics and want a similar experience under your own control, Matomo is the closest match.

### Deployment
Matomo runs on PHP + MySQL/MariaDB. You can deploy it on any LAMP stack or use their Docker images. The setup is more involved than Docker-only tools — you'll need PHP, a web server (Apache/Nginx), and a database.
Requirements: PHP 8.1+, MySQL 8+ or MariaDB 10.4+, at least 2 GB RAM. For high traffic (1M+ pageviews/month), separate app and database servers are recommended.
### Key features
- Full web analytics suite (traffic, referrals, campaigns, goals, ecommerce)
- Heatmaps and session recordings (paid plugins)
- A/B testing (paid plugin)
- Google Analytics data import
- Large plugin library
### Pricing
Self-hosting the core platform is free under GPL-3.0. However, advanced features like heatmaps, session recordings, and A/B testing require paid plugin subscriptions even on self-hosted instances. Cloud starts at €29/month.
### Pros
- Most mature and feature-rich self-hosted analytics tool
- Closest replacement for Google Analytics
- Huge plugin library
- Strong compliance track record (used by governments and enterprises)
### Cons
- PHP stack is more complex to deploy and maintain than Docker-only tools
- Premium plugins add cost even on self-hosted
- UI feels dated compared to newer tools
- Resource-heavy at scale
Compare with OpenPanel: [Matomo vs OpenPanel](/compare/matomo-alternative)
---
## Umami
**Best for: Developers who want a lightweight, MIT-licensed analytics tool**
[Umami](https://umami.is/) is a lightweight, privacy-focused web analytics tool. It's one of the simplest tools to self-host and maintain. If you want basic web analytics with minimal overhead, Umami delivers.

### Deployment
Umami self-hosts with Docker Compose or directly with Node.js. Clone the repo, configure your database connection, and start. It supports PostgreSQL and MySQL.
Requirements: Node 18+ with PostgreSQL 12+ or MySQL 8+. Very lightweight — runs comfortably on a $5/month VPS for small to medium sites.
### Key features
- Clean dashboard with real-time data
- Pageviews, referrals, devices, and basic events
- Cookieless tracking
- Multiple website support
- API access for custom integrations
### Pricing
Self-hosting is completely free under MIT license. Umami Cloud offers a free tier with 1 million events/month, then $0.00002 per additional event.
### Pros
- MIT license — the most permissive among comparable tools
- Lightweight and easy to maintain
- Simple deployment with Docker Compose
- Free cloud tier if you want to try before self-hosting
### Cons
- Limited to basic web metrics
- No funnels, retention, or product analytics
- Fewer features than Plausible (no Google Search Console integration)
- No session replay or heatmaps
Compare with OpenPanel: [Umami vs OpenPanel](/compare/umami-alternative)
---
## GoatCounter
**Best for: Minimalist analytics for personal sites and blogs**
[GoatCounter](https://goatcounter.com/) takes minimalism to the extreme. It's a single Go binary that tracks pageviews without cookies. No Docker, no complex setup — just download and run.
### Deployment
GoatCounter ships as a single binary. Download it, run it, point your domain at it. You can also run it with SQLite (default) or PostgreSQL. No Docker required, though Docker images are available.
Requirements: Minimal. Runs on the smallest VPS you can find. SQLite mode needs almost no resources.
### Key features
- Pageview tracking without cookies or JavaScript (optional)
- Single binary deployment
- SQLite or PostgreSQL backend
- Basic referral and browser tracking
- Public dashboard option
### Pricing
Self-hosting is free under EUPL license. The hosted service is free for non-commercial use, with paid plans starting at €5/month.
### Pros
- Simplest deployment of any analytics tool — single binary
- Runs on minimal resources
- Can work without JavaScript (server-side counting)
- Free hosted tier for personal sites
### Cons
- Very basic feature set — pageviews and referrals only
- No event tracking or custom properties
- No product analytics features
- Small development team (mostly one person)
---
## PostHog
**Best for: Developer teams that need analytics, feature flags, and experiments in one platform**
[PostHog](https://posthog.com/) is an all-in-one product analytics platform with web analytics, session replay, feature flags, A/B testing, and surveys. It's the most feature-rich option here, but also the most complex to self-host.

### Deployment
PostHog self-hosting uses Docker Compose for small deployments or Kubernetes via Helm charts for production. The setup requires PostgreSQL, Redis, ClickHouse, and Kafka. It's significantly more complex than other tools on this list.
Requirements: Minimum 4 vCPU, 16 GB RAM, 30 GB+ storage. The team recommends self-hosting only for up to ~300K events/month; beyond that, PostHog Cloud handles scaling better.
### Key features
- Product analytics with funnels, retention, and cohorts
- Web analytics dashboard
- Session replay
- Feature flags and A/B testing
- Surveys and error tracking
### Pricing
Self-hosting is free under MIT license. The cloud free tier covers 1M analytics events and 5K session recordings/month, then usage-based pricing.
### Pros
- Most comprehensive feature set — replaces multiple tools
- MIT license
- Cloud free tier (1M events)
- Active community and rapid development
### Cons
- Complex self-hosting setup with multiple infrastructure dependencies
- Resource-heavy — needs significantly more server power
- Self-hosted vs cloud is not feature-equivalent
- Overkill if you just need web analytics
Compare with OpenPanel: [PostHog vs OpenPanel](/compare/posthog-alternative)
---
## Ackee
**Best for: Privacy-focused minimalist tracking on small projects**
[Ackee](https://github.com/electerious/Ackee) is a self-hosted analytics tool that focuses on privacy and minimalism. It tracks pageviews and basic events with a clean, minimal interface.
### Deployment
Ackee runs on Node.js with MongoDB. Deploy with Docker Compose or directly on a server with Node and MongoDB installed.
Requirements: Node 18+, MongoDB 7+. Lightweight on resources.
### Key features
- Pageview and event tracking
- Cookieless, anonymized tracking
- GraphQL API for custom integrations
- Multiple domain support
- Minimal, clean UI
### Pricing
Completely free to self-host under MIT license. No cloud offering from the team.
### Pros
- Fully free with MIT license
- Privacy-first with anonymized data
- GraphQL API for flexible querying
- Very simple and focused
### Cons
- Requires MongoDB (adds complexity vs PostgreSQL-based tools)
- Minimal feature set
- No cloud option
- Development has slowed in recent years
Compare with OpenPanel: [Ackee vs OpenPanel](/compare/ackee-alternative)
---
## Migration path: starting cloud, switching later
Most self-hosted analytics tools also offer cloud versions. With [OpenPanel](/pricing), you can start with Cloud and migrate to self-hosting later — or vice versa — because the cloud and self-hosted versions have identical features. The same applies to Plausible, Umami, and Matomo. PostHog is the exception: its cloud and self-hosted versions diverge.
For deeper coverage of when self-hosting makes sense vs cloud, see [better compliance with self-hosted analytics](/articles/better-compliance-self-hosted-analytics).
## How to get started with self-hosted analytics
### 1. Pick a server
You need a VPS. For most self-hosted analytics tools, a server with 2-4 vCPU, 4-8 GB RAM, and 40 GB SSD is enough to start.
Recommended providers:
- **[Hetzner](https://hetzner.cloud/?ref=7Hq0H5mQh7tM)** — Best price-to-performance. A CX31 (4 vCPU, 8 GB RAM) costs around €8.50/month.
- **DigitalOcean** — Easy to use, good documentation. Droplets from $6/month.
- **Vultr** — Similar to DigitalOcean with competitive pricing.
- **AWS/GCP** — More complex, but useful if you already run there.
### 2. Secure your server
Before installing anything, lock down your server. At minimum: disable root login, set up SSH keys, configure a firewall. We have a full guide on [how to secure your Ubuntu server](/articles/how-to-secure-ubuntu-server).
### 3. Install your analytics tool
Each tool has its own installation process. For OpenPanel, it's four commands:
```bash
git clone -b self-hosting https://github.com/Openpanel-dev/openpanel && cd openpanel/self-hosting && ./setup
./start
```
The setup wizard handles everything — Docker, databases, SSL certificates. Full walkthrough: [How to self-host OpenPanel](/articles/how-to-self-host-openpanel).
### 4. Add tracking to your site
Install the tracking script on your website. With OpenPanel, you add a small JavaScript snippet or use one of the framework-specific SDKs (React, Next.js, Vue, and more). Check the [SDK documentation](/docs/get-started/install-openpanel) for your stack.
---
<Faqs>
<FaqItem question="What is the best self-hosted web analytics tool?">
It depends on your needs. For combined web and product analytics, OpenPanel offers the best value. For simple pageview tracking, Plausible is the most popular. For a full Google Analytics replacement, Matomo has the most features. For the lightest option, GoatCounter or Umami work well.
</FaqItem>
<FaqItem question="Is self-hosted analytics free?">
The software is free for most tools (OpenPanel, Plausible, Matomo, Umami, GoatCounter, PostHog, and Ackee all offer free self-hosting). Your cost is the server infrastructure — typically $5-50/month for a VPS depending on your traffic volume.
</FaqItem>
<FaqItem question="Do I need a cookie banner with self-hosted analytics?">
Not if your tool uses cookieless tracking. OpenPanel, Plausible, Umami, GoatCounter, and Ackee all track without cookies, so no cookie consent banner is needed for basic analytics. Matomo uses cookies by default but offers a cookieless mode.
</FaqItem>
<FaqItem question="Can I self-host analytics and be GDPR compliant?">
Yes. Self-hosting is one of the strongest approaches for GDPR compliance because your data never leaves your infrastructure. There are no third-party data transfers to worry about, and you have full control over data retention and deletion. Tools like OpenPanel and Plausible add cookieless tracking on top, making compliance even simpler.
</FaqItem>
<FaqItem question="How much server resources do I need for self-hosted analytics?">
For most tools: 2-4 vCPU, 4-8 GB RAM, and 40 GB SSD handles up to a few hundred thousand events per month. PostHog needs more (16 GB RAM minimum). GoatCounter and Ackee run on minimal resources. Scale up as your traffic grows.
</FaqItem>
<FaqItem question="What is the difference between self-hosted web analytics and product analytics?">
Web analytics tracks website traffic — pageviews, referrals, devices, and geographic data. Product analytics tracks user behavior within your product — events, funnels, retention, and user journeys. Some tools like OpenPanel and PostHog offer both. Most self-hosted tools (Plausible, Umami, GoatCounter) focus on web analytics only. See our guide on [self-hosted product analytics](/articles/self-hosted-product-analytics) for tools that cover the product side.
</FaqItem>
<FaqItem question="Can I migrate from Google Analytics to a self-hosted tool?">
Yes. Matomo offers direct Google Analytics data import. Other tools like OpenPanel and Plausible let you start fresh with their tracking. You can run both in parallel during the transition to make sure you're comfortable with the new tool before removing GA.
</FaqItem>
</Faqs>