Best Open-Source Hotjar Alternatives (2026)
7 self-hostable, open-source projects that replace Hotjar — without session-capped paid plans. Each is scored for how hard it is to self-host, with one-click deploy options where they exist.
Hotjar's paid plans cap how many sessions you can capture, so high-traffic sites either sample heavily or pay up as volume grows. Self-hosting removes the session cap and keeps heatmap and replay data, which often contains visitor PII, on infrastructure you control.

Our picks at a glance
At difficulty 3/5 it is the lowest-effort option here and deploys with Docker Compose.
It combines session replay with product analytics, feature flags, and A/B testing, covering far more than Hotjar's replay-and-heatmap scope.
It offers official managed cloud hosting and the broadest replay-plus-analytics feature set among the managed options.
Compare all 7 alternatives
Tap a column header to sort| Project | Deploy | Managed | License | ||||
|---|---|---|---|---|---|---|---|
PostHog Python | 37k ★ | 5/5 Advanced | Docker Compose Kubernetes +1 | MIT | 3 days ago | Repo | |
Matomo PHP | 22k ★ | 4/5 Involved | Docker Docker Compose +1 | GPL-3.0 | 3 days ago | Repo | |
Rybbit TypeScript | 13k ★ | 3/5 Moderate | Docker Compose Manual | AGPL-3.0 | 3 days ago | Repo | |
OpenReplay TypeScript | 12k ★ | 5/5 Advanced | Kubernetes Docker Compose +1 | Apache-2.0 | 3 days ago | Repo | |
Shynet Python | 3.1k ★ | 2/5 Easy | Docker Docker Compose +1 | Apache-2.0 | 4 months ago | Repo | |
Counter Go | 1k ★ | 1/5 Effortless | One-Click Docker +1 | MIT | 3 months ago | Repo | |
Statistics for Strava Docker | 2 ★ | 3/5 Moderate | Docker Docker Compose | AGPL-3.0 | 11 days ago | Repo |
What to look for: Hotjar's core is heatmaps plus session replay, so confirm a replacement actually records sessions rather than only aggregating pageviews. Replay is storage- and compute-heavy, so weigh deployment difficulty and whether a managed tier is available before committing to running it yourself.
The alternatives, reviewed
- #1
PostHogSelf-host: AdvancedAll-in-one product analytics, session replay, feature flags, and A/B testing
37k Python MIT 3 days agoHow it compares to Hotjar
- Self-hosting the full ClickHouse + Kafka + Postgres + Redis stack is heavy; the project actively steers smaller users toward PostHog Cloud.
- Some enterprise features live under a separate proprietary
eelicense, not pure MIT. - The all-in-one breadth means it is more complex to operate than a focused tool like Mixpanel.
- #2
MatomoSelf-host: InvolvedThe leading open-source, privacy-friendly web analytics platform
22k PHP GPL-3.0 3 days agoHow it compares to Hotjar
- Heatmaps, session recordings, funnels, and A/B testing are paid premium plugins, not in the free core.
- The PHP codebase feels dated and the UI is heavier/slower than modern lightweight tools.
- Real-time reporting and advanced product-analytics (cohorts, retention) are weaker than Mixpanel/Amplitude.
- #3
RybbitSelf-host: ModerateOpen-source, privacy-friendly Google Analytics alternative built for clarity
13k TypeScript AGPL-3.0 3 days agoHow it compares to Hotjar
- Young project; feature depth and stability still trail established tools.
- Product-analytics capabilities (cohorts, retention) are less mature than Mixpanel/Amplitude.
- Smaller ecosystem and fewer integrations than Google Analytics.
- #4
OpenReplaySelf-host: AdvancedSelf-hosted session replay and product analytics for web apps
12k TypeScript Apache-2.0 3 days agoHow it compares to Hotjar
- Self-hosting requires a Kubernetes-based multi-service stack; resource-hungry and complex to operate.
- Product-analytics features (funnels, cohorts) are less mature than Amplitude/Mixpanel.
- No traditional aggregate web-analytics dashboard; it is session-centric.
- #5
ShynetSelf-host: EasyPrivacy-first web analytics with no cookies and no tracking scripts
3.1k Python Apache-2.0 4 months agoHow it compares to Hotjar
- No funnel or cohort analysis; purely page-level metrics
- No JavaScript event tracking without custom integration
- No built-in alerting or anomaly detection
- #6
CounterSelf-host: EffortlessMinimalist self-hosted hit counter and page-view tracker
1k Go MIT 3 months agoHow it compares to Hotjar
- No funnel, cohort, or retention analysis whatsoever
- No custom event tracking beyond page hits
- Data aggregation is coarse; no drill-down by browser, OS, or campaign
- #7
Statistics for StravaSelf-host: ModerateSelf-hosted statistics dashboard for your personal Strava activity data
2 Docker AGPL-3.0 11 days agoHow it compares to Hotjar
- Limited to Strava as a data source; no support for Garmin, Wahoo, or other fitness platforms
- Read-only analytics — no goal setting, training plans, or social features
- No mobile app; dashboard is web-only
- Requires a valid Strava API OAuth application to be configured before first run
The verdict
For the closest Hotjar replacement with session replay, PostHog or OpenReplay are the strongest picks. If you mainly want privacy-friendly traffic analytics without the heavy replay stack, Rybbit is the easiest to stand up at difficulty 3/5.
Hotjar alternatives — frequently asked questions
What is the best open-source alternative to Hotjar?
For Hotjar's replay-and-heatmap use case, PostHog and OpenReplay both provide session replay. PostHog adds analytics, flags, and experiments; OpenReplay is replay-first for web apps.
Is there a free self-hosted Hotjar alternative?
Yes. PostHog (MIT), Matomo (GPL-3.0), Rybbit (AGPL-3.0), and OpenReplay (Apache-2.0) are all free to self-host via Docker or Kubernetes.
Which Hotjar alternative is easiest to self-host?
Rybbit, at difficulty 3/5, is the easiest and runs on Docker Compose. Matomo is 4/5; PostHog and OpenReplay are both 5/5 due to their multi-service stacks.
Which of these actually record session replays like Hotjar?
PostHog and OpenReplay include session replay. Matomo and Rybbit are primarily privacy-friendly web analytics, so they cover heatmap-style traffic insight but not full replay in the same way.
Do these offer managed hosting instead of self-hosting?
Yes, PostHog, Matomo, Rybbit, and OpenReplay all offer an official managed hosting option, so you can use a hosted plan and switch to self-hosting for full data ownership later.
Which is the most privacy-friendly Hotjar alternative?
Matomo and Rybbit both position themselves as privacy-friendly analytics. Self-hosting any of these keeps heatmap and replay data on your own servers instead of Hotjar's cloud.