qmetrics.net

Best Open-Source Alternatives to Hotjar

Hotjar by Contentsquare is a commercial product. These open-source projects say they can replace it.

The most popular open-source alternative to Hotjar is PostHog, with 41.2k GitHub stars. Other open-source alternatives to Hotjar are Matomo. Most Hotjar alternatives here are Web & Product Analytics tools. The first 1 say in their own README or website that they can replace Hotjar (the quote is shown under each one); the other 1 do the same job, shown with their own description.

Stars and activity updated 27 November 2026.

Sort:Most starsRecentA–Z

Matomo

Privacy-oriented web and app analytics platform

Matomo collects, visualizes, and analyzes traffic from websites and apps with emphasis on data ownership and privacy controls. You install it on your server or use Matomo Cloud.

★ 22.1k⟳ todayGPL-3.0
Open Source Alternative to:FathomFathom AnalyticsGoogle Analytics+4
“Matomo Analytics is a great Hotjar alternative because it’s both a web analytics tool like Google Analytics and a UX tool like Hotjar, combined into one platform.”

Also does the same job as Hotjar

These projects don't call themselves a Hotjar alternative, but two independent checks of their own description found they do the same main job.

PostHog

Open-source product analytics and context layer for apps

PostHog ingests analytics, session replays, errors, logs, and related product data so teams and agents can query and act on it. It ships feature flags, experiments, surveys, and warehouse tooling in one platform.

★ 41.2k⟳ todayMIT · open core
Open Source Alternative to:AmplitudeFathom AnalyticsFullStory+7
“PostHog ingests and stores your analytics, errors, replays, and business data so you and your agents can query and act on it.”

Compare Hotjar alternatives

Questions about Hotjar alternatives

Is there an open-source alternative to Hotjar?

Yes. 2 open-source projects can replace Hotjar, for example PostHog and Matomo. 1 of them says so in its own documentation; the other 1 do the same job.

What is the best open-source alternative to Hotjar?

PostHog (41.2k GitHub stars) is the most popular open-source alternative to Hotjar on GitHub. The best choice depends on your needs: compare them side by side, for example PostHog vs Matomo.

Are the open-source alternatives to Hotjar free?

All of the 2 projects listed here are free to use under an open-source license, with no license fee: 1 permissive (such as MIT), 1 copyleft (such as GPL-3.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.

Related commercial products

Google Analytics

Google

15 open-source alternatives

Google Analytics 4

Google

12 open-source alternatives

Pirsch

Pirsch

9 open-source alternatives

Mixpanel

Mixpanel

8 open-source alternatives

Fathom Analytics

Fathom

7 open-source alternatives

Google Analytics for Firebase

Google

7 open-source alternatives