Short answer: PostHog is the best open source product analytics tool for most teams: product analytics, session replay, feature flags and experiments in one MIT-licensed codebase, with a cloud version that gives 1M events and 5K recordings free each month. Pick Matomo to replace Google Analytics on your own servers, Plausible or Umami for simple privacy-friendly web analytics, Countly for mobile apps and strict data residency, and OpenReplay for self-hosted session replay.
How we picked
Open source analytics lets you keep data on your own servers, avoid per-event bills at scale and inspect the code. Each tool here has an open source edition you can self-host for free and a paid cloud or managed option. We read each vendor's own pricing page on December 4, 2026, and compared the free self-hosted edition, the managed price and what each tool is built for. We did not test the tools hands-on or run them on our own servers, so we make no claims about performance or hosting effort.
Pricing at a glance
| Tool | Self-hosted edition | Cheapest managed option | Best at | Trial |
|---|---|---|---|---|
| PostHog | Free (MIT license) | Cloud free: 1M events, 5K recordings a month; then from $0.00005 per event | Product analytics, replay, flags | Free plan |
| Matomo | Free On-Premise | Cloud $26/month (50,000 hits) | Web analytics, GA replacement | Trial on Cloud |
| Plausible | Free Community Edition | $9/month (10k pageviews) | Simple web analytics | 30-day trial |
| Umami | Free | Hobby $0 (100K events); Pro $20/month | Simple web analytics | 14-day trial on paid plans |
| Countly | Free Lite | Flex $175/month (5,000 MAU) | Mobile product analytics, data residency | 14-day trial on Flex |
| OpenReplay | Free | Dedicated from $199/month | Session replay | 7-day trial on Dedicated |
PostHog
PostHog is the widest tool here: product analytics, web analytics, session replay, feature flags, experiments, surveys and error tracking. The core product is MIT licensed. PostHog Cloud gives every account 1M analytics events, 5K web recordings, 1M feature flag requests and 1,500 survey responses free each month, then bills each product per unit with no minimum; analytics events start at $0.00005 each.
Pick it if you want product analytics plus replay and flags, with a free cloud tier while you decide whether to self-host. Skip it if you only need a simple pageview dashboard.
Matomo
Matomo is the long-standing open source alternative to Google Analytics, with goals, funnels, ecommerce reports and consent-free tracking options. Matomo On-Premise is free to download and run. Matomo Cloud starts at $26/month for 50,000 hits ($260/year), with 30 websites and 30 team members, and scales by hits up to 10 million before custom pricing. Paid on-premise bundles with premium plugins and support are also sold.
Pick it if you want full web analytics on your own servers or in EU hosting. Skip it if you mainly analyze product events in a logged-in app.
Plausible
Plausible is a lightweight, cookie-free web analytics tool. The Community Edition is self-hosted and AGPL licensed. The cloud Starter plan is $9/month for 10k pageviews and one site, Growth starts at $14/month and Business at $19/month, with funnels and revenue goals on Business. Yearly billing costs 10 times the monthly price. There is a 30-day trial.
Pick it if you want a simple, privacy-friendly dashboard for a site or blog. Skip it if you need user-level product analytics or session replay.
Umami
Umami is a small open source web analytics tool that is free to self-host. Umami Cloud's Hobby plan is $0 for up to 100K events a month and one site. Pro is $20/month with 1 million events, up to 20 sites and 2-year retention, then $0.00003 per extra event. Business is $200/month with 10 million events, unlimited sites, 5-year retention and 5,000 session replays. Paid plans have a 14-day trial.
Pick it if you want simple analytics with a real free cloud plan or an easy self-host. Skip it if you need deep funnels, cohorts and retention for a product team.
Countly
Countly focuses on mobile, web and desktop product analytics with strong data control. Countly Lite is free, open source and self-hosted. Flex is a dedicated private cloud instance from $175/month for 5,000 MAU with a 14-day trial; funnels, retention and crash reporting are in a paid add-on. Enterprise runs on your own infrastructure, including air-gapped networks.
Pick it if you build mobile apps or work in a regulated field that needs data residency. Skip it if you want funnels and retention on the entry managed price.
OpenReplay
OpenReplay is open source session replay with developer tools such as network and console capture. The open source edition is free on your own infrastructure. Dedicated is a fully managed instance from $199/month, billed hourly at $0.276/hour, in OpenReplay's cloud or yours, with no limits on users, recordings or retention. Dedicated has a 7-day trial with no credit card.
Pick it if you want self-hosted session replay to debug user problems. Skip it if you need product analytics charts more than replays.
Who should pick what
| If you are | Look at first |
|---|---|
| A product team that wants analytics, replay and flags | PostHog |
| A company replacing Google Analytics on its own servers | Matomo |
| A blog or marketing site that wants a simple dashboard | Plausible |
| A small site that wants a free cloud plan or easy self-host | Umami |
| A mobile app team in a regulated industry | Countly |
| A developer team that wants self-hosted session replay | OpenReplay |
Whatever you choose, price the server and upkeep before you self-host: the software is free, but storage, backups and upgrades are not.



