PostHog or Matomo: which is better?

Both are open source and do far more than count visits. PostHog is built for product teams: events, session replay, feature flags and experiments, free up to 1 million events. Matomo is built as a Google Analytics replacement for websites and marketers: ecommerce, goals, campaigns and scheduled reports, free to self-host. Both use cookies by default.

Create a free accountFree for up to three sites. No card needed.

Updated 1 December 2026

Side by side

PostHogMatomo
Built forProduct teamsWebsites and marketers
Free1 million events hosted, or self-hostSelf-host; cloud has a trial
CookiesBy default, cookieless modeBy default, cookieless option
Data storedUS or EUFrankfurt or your server
LicenceMITGPL
ExtrasReplays, flags, experiments, surveys, error trackingHeatmaps, recordings, A/B tests, forms, media
MCPYesYes

Prices and limits checked on 13 November 2026, on each tool’s own pages. Sources on our comparison pages.

Pick PostHog if

You ship a product with logins and want analytics, replays and experiments in one place.

Pick Matomo if

You run websites, want everything Google Analytics does without Google, and maybe host it yourself.

A simpler option

If you only need visitors, sources, goals and sales, see the best Matomo alternatives and the best PostHog alternatives.

Ask your website. Get answers right away.

Free for 3 sites. No credit card, no cookies, no code to touch.

Or look around a live demo first, no account needed →