analytics
Hotjar open source alternatives
Hotjar starts at $39/mo. Here are 2 open-source alternatives — ranked, opinionated, and refreshed daily against the GitHub API. No paid placements in the rankings. No AI-slop lists.
Comparison table (live data)
GitHub metrics snapshot: 2026-08-24
The one thesis that will save you a week
A Hotjar refugee has to answer one question before comparing feature checkboxes: do you need session replay and qualitative behavior analysis, or do you need a broader analytics system that you can own? Hotjar is built around watching what individual visitors do, then using heatmaps, recordings, and feedback to explain why a funnel is leaking. PostHog is the closest fit when replay is one part of a larger product analytics stack; Matomo is the better fit when privacy, website analytics, and data control matter more than watching every cursor twitch. Pick the tool that matches the decision you are trying to make, because “open source Hotjar” is a much narrower category than the comparison pages imply.
Why people are leaving Hotjar in 2026
Hotjar’s headline pricing is easy to misunderstand. The entry paid tier is Observe Plus at $39 per month when billed monthly, with 100 daily sessions; annual billing brings that to around $32 per month. That is not a flat all-in price for the Hotjar experience. Observe, Ask, and Engage are separate product lines, so a team that wants recordings, surveys, and interviews is buying into multiple pricing systems.
The session-based cap is the sharper operational problem. A traffic spike can mean the site keeps running while recording quietly stops, which is a particularly unhelpful surprise when the spike is exactly the event you wanted to study. Session limits are not inherently unreasonable, but they make the product harder to budget around than a simple monthly subscription suggests.
There is also the data question. Session recordings contain observations of real users, and keeping that material on a third-party platform can turn every rollout into another GDPR and privacy review. That does not automatically make Hotjar a bad choice, but it does mean the convenience is being paid for with less control over where behavioral data lives and how the organization governs it.
The alternatives below do not all reproduce Hotjar feature for feature. That is the point. PostHog gives you a broader product analytics system with replay attached. Matomo gives you an established privacy-oriented analytics platform, but it should not be sold as a drop-in replacement for recordings and qualitative research.
The alternatives that matter
PostHog
PostHog is the most credible choice here if Hotjar has become only one item in a growing analytics stack. Its positioning is broader: product analytics, session replay, feature flags, A/B testing, error tracking, and related developer tools in one platform. That makes it useful for product and growth teams that want to connect a recording to an event, experiment, feature release, or retention question instead of treating replay as a separate research island.
The tradeoff is scope. PostHog is not just a calmer, self-hosted Hotjar clone; it is a substantial product platform with more concepts, more configuration, and more ways to create a dashboard nobody maintains. The project’s own description leans hard into being an all-in-one platform, which is accurate, but “all-in-one” can also mean “all-in-one backlog of things your team now owns.”
Live metrics: 38,929 GitHub stars, NOASSERTION license, 5,108 open issues, last pushed 2026-08-24.
Pick PostHog if you want session replay alongside product analytics and experimentation, or if the people evaluating Hotjar sit close to engineering and can support a more involved system. Its self-host and official-cloud options give you a deployment choice, which is useful when third-party data handling is the reason you started looking. Skip it if your actual requirement is a lightweight website heatmap tool for a marketing team and nobody wants to become the administrator of a broad product analytics platform. It can replace Hotjar’s replay use case, but it may also tempt you into rebuilding your entire measurement strategy before lunch.
Matomo
Matomo is the more direct answer to the privacy and ownership concern, especially for teams whose primary need is website and app analytics rather than product experimentation. It is an open-source analytics platform with self-hosting and official-cloud options, and its stated position is straightforward: collect, visualize, and analyze data while keeping more control over it. For a team trying to reduce dependence on third-party analytics infrastructure, that is a meaningful advantage rather than marketing garnish.
Matomo’s fit against Hotjar is narrower in a different direction. It is primarily an analytics alternative, and the supplied project data does not establish that it provides Hotjar-style session recordings, heatmaps, surveys, or interviews. Do not choose it expecting a familiar replay workflow and then discover during a research session that you bought a pageview dashboard instead. If you need behavioral evidence from individual sessions, verify the exact Matomo capabilities and any required extensions before migrating.
Live metrics: 21,803 GitHub stars, GPL-3.0 license, 2,559 open issues, last pushed 2026-08-24.
Pick Matomo if the central problem is analytics ownership, privacy review, and reducing reliance on a hosted vendor. It is also the sensible choice when your team mainly needs website and app measurement and can live without Hotjar’s qualitative layer. Skip it if the core workflow is watching recordings, annotating friction, collecting in-product feedback, or running moderated interviews. Matomo may be the right foundation for trustworthy analytics, but “trustworthy analytics” and “Hotjar replacement” are not interchangeable claims.
Decision framework
- If you need replay plus product analytics, feature flags, and experiments → pick PostHog.
- If you need a broader developer-facing analytics platform → pick PostHog.
- If data control and privacy review are the main reasons you are leaving → pick Matomo.
- If your team primarily measures websites and apps → pick Matomo.
- If recordings and qualitative research are non-negotiable → evaluate PostHog first, then verify the exact replay workflow.
- If you want a tiny, purpose-built Hotjar substitute with no operational overhead → neither option is an automatic fit.
What to watch for
Migration is not just a matter of replacing one JavaScript snippet with another. Hotjar’s useful history is tied to its own session model, recordings, heatmaps, surveys, and account structure. Before switching, confirm what data can actually be exported, in what format, and whether you can retain the annotations and research context your team relies on. A CSV of events is not a recording archive, and a screenshot of a heatmap is not a queryable history.
Expect a feature gap unless you deliberately map the old workflow to the new one. PostHog is the stronger candidate when the workflow can be reframed around events, funnels, experiments, and replay. Matomo is the stronger candidate when the workflow is web analytics with tighter control over collected data. Neither should be approved from a feature list alone: test consent handling, masking and redaction, retention settings, access controls, and the operational burden of self-hosting or managing another hosted analytics account.
The biggest migration mistake is preserving the tool but losing the question. Write down which decisions Hotjar currently supports: diagnosing a checkout failure, validating a landing page, finding confusing navigation, measuring a release, or collecting user feedback. Then run those tasks against the candidate systems with real, representative traffic. If the team cannot get from “something looks wrong” to a defensible next action, the replacement is not doing the job, regardless of how impressive its dashboard looks.
Ready to deploy?
The self-host options above all run cleanly on modern VPS providers. Our recommended stack:
Some links are affiliate. DigitalOcean, Vultr and Cloudways are hosts we run production workloads on; Hostinger we list on spec, not experience. Independent from OSS rankings above. Prices checked 25 Jul 2026 (Cloudways: DigitalOcean Basic, Standard CPU).