7,363 open-source and SaaS tools, with GitHub stats refreshed every day.

5 alternatives ranked by real activity

Open-source Hotjar alternatives

A curated, ranked list of the 5 best open-source alternatives to Hotjar.

The best open-source alternative to Hotjar is PostHog. If that doesn't suit you, other good options are OpenReplay, Microsoft Clarity, Talivia and Fusion.

Hotjar alternatives are mainly analytics tools, but some are also session replay tools. 4 of them shipped code in the last 30 days, 5 can be self-hosted, and 2 use a permissive licence.

Last updated October 2, 2026 · ranked by GitHub stars, growth and recent commits

PostHog

An open-source product platform combining analytics, session replay, feature flags, experiments, surveys and error tracking, with AI that turns signals into reports.

GitHub stars
40k
Last commit
today
Latest release
desktop-v0.61.621
Self-hosted
Yes
Hosted version
Available
posthog.comPostHog homepage screenshot

PostHog is an open-source platform that bundles the tools product teams use to understand and improve what they ship. It captures event data, user sessions and errors in one place, and its newer self-driving mode aims to turn signals such as errors, rage clicks and failed queries into researched reports and pull requests that engineers review and merge.

The product suite includes product analytics with autocapture or manual instrumentation and SQL analysis, web analytics with a dashboard resembling Google Analytics, session replays for web and mobile, feature flags, experiments with statistical measurement, surveys, error tracking, logs, a data warehouse and a customer data platform. The back end is Python and the front end is React and TypeScript.

PostHog's repository license is listed as 'Other' on GitHub, so check which parts are open source and which are enterprise-only. It can be self-hosted, and the company also runs a managed cloud service. It suits product and engineering teams that prefer a single tool over separate analytics, flagging and replay vendors.

Key features

  • Product analytics with autocapture and SQL
  • Web analytics dashboard
  • Session replay for web and mobile
  • Feature flags and experiments
  • Surveys and error tracking
  • Data warehouse and customer data platform
  • AI-assisted detection of product issues

Pricing: Every product has a free monthly tier with no credit card needed. Pay-as-you-go charges only for usage beyond the free limits; per-unit rates are not shown here and volume discounts are available.

OpenReplay

A self-hosted session replay, cobrowsing and product analytics platform that keeps user session data inside your own infrastructure.

GitHub stars
13k
Last commit
today
Latest release
v1.28.0
Self-hosted
Yes
openreplay.comOpenReplay homepage screenshot

OpenReplay is an open-source experience platform that you host on your own infrastructure. It combines session replay, DevTools-level debugging context, product analytics and live cobrowsing, so teams can see how real users navigate, where they struggle and what errors they hit without sending sessions to a third party.

Because everything stays in your own cloud, it is pitched at teams that cannot hand customer data to an external vendor. Data can be masked, obscured or skipped at capture time before it reaches your servers, and a private mode redacts everything by default. A lightweight tracker sends data asynchronously to limit the impact on page performance, and SDKs cover frameworks such as React, Angular, Vue, Svelte, Next.js and React Native.

The README states it can be self-hosted for free on AWS, GCP, Azure and other platforms. The repository lists its licence as Other and its topics also reference feature flags, web vitals and real-user monitoring, so it spans debugging, product and support use cases.

Key features

  • Session replay with search and filtering
  • DevTools context for debugging sessions
  • Product analytics for usage insights
  • Live cobrowsing with users
  • Masking and private mode at capture time
  • Lightweight asynchronous tracker
  • Web and mobile framework SDKs

Pricing: Self-hosting is free. Managed Dedicated instances start from $199 a month (billed hourly) with a 7-day trial; Serverless is usage-based and Enterprise is custom.

Microsoft Clarity

Open-source behavioral analytics library that records DOM changes and interactions to produce session replay and heatmap insights.

GitHub stars
2.7k
Last commit
yesterday
Licence
MIT
Hosted version
Available
clarity.microsoft.comMicrosoft Clarity homepage screenshot

Clarity is a behavioral analytics library written in TypeScript with two main goals: privacy and performance. It watches DOM mutations and user interactions in the browser to generate aggregated insights about how visitors view and use a website, across modern devices and browsers. It is released under the MIT license.

The data it captures supports session replay and heatmaps, which help product and design teams see where features succeed or fail. The README says the same code powers Microsoft's hosted behavioral analytics service at clarity.microsoft.com, where a live demo is also available, so the repository represents the client-side collection library rather than a full self-contained analytics backend.

The community is invited to help build a privacy-first, high-performance behavioral analytics library. It suits web teams who want to understand user behavior, improve conversion and retention, and review the code that runs on their pages before adding it to a site.

Key features

  • Session replay from DOM mutations
  • Heatmaps of user interaction
  • Aggregated behavioral insights
  • Privacy and performance focus
  • Works across modern browsers and devices
  • Same code as Microsoft's hosted service

Pricing: The library is open source under the MIT license; the hosted Clarity service is run by Microsoft.

Talivia

Self-hosted, revenue-focused web analytics for founders, combining session replay, revenue attribution, and payment provider data in one open-source app.

GitHub stars
2.4k
Last commit
7 days ago
Latest release
v1.0.0
Licence
MIT
Self-hosted
Yes
Hosted version
Available
talivia.comTalivia homepage screenshot

Talivia is an analytics platform that ties website traffic to revenue. This repository holds the focused open-source edition of the product at talivia.com: a self-hosted version that combines core web analytics, session replay, website collaborators, shared analytics, import and export, and customer revenue from Stripe, LemonSqueezy, Polar, Dodo, Yolfi, or a manual payment API. It is released under the MIT license and positions itself as an alternative to Datafast.

The open-source edition is a subset of the complete product. Talivia Cloud offers managed hosting and extra integrations, including Google Search Console, Bing Webmaster Tools, GitHub activity, and social mentions from X, Reddit, TikTok, and others. Documentation covers product and integration guides.

It is written in TypeScript and was created in 2026, so it is a young project that reached version 1.0.0. Talivia suits founders and small SaaS teams who want to see which traffic sources and pages lead to paying customers, while keeping analytics data on their own infrastructure.

Key features

  • Web analytics with revenue attribution
  • Session replay
  • Revenue data from Stripe, LemonSqueezy, and Polar
  • Website collaborators and shared analytics
  • Import and export of data
  • Manual Payment API

Pricing: A 14-day free trial leads to a Founding 100 offer of $9.99 per month with unlimited websites and events for 12 months; the standard event-based price that follows is not shown.

Fusion

Fusion is an open-source user behavior analytics and engagement platform, an alternative to Mixpanel and Hotjar, though the project is no longer maintained.

GitHub stars
213
Last commit
4 yr ago
Self-hosted
Yes

Fusion is a self-hostable, open-source platform for analyzing how people use web products and for engaging with them. It is described as an alternative to Mixpanel, Amplitude, Hotjar and Fullstory. The README states that the project is no longer maintained, so it is better treated as a reference or starting point rather than a supported product.

It combines a low-code analytics engine with visual analytics. Events such as page views, button clicks and form submissions are captured automatically once a tracking snippet is added, and visual recordings of user interactions are supported. Custom dashboards allow different chart types and timescales. For engagement, it offers live chat, in-app push notifications, email and micro-surveys, and email campaigns that can be triggered automatically.

Fusion is meant to be self-hosted, with the README providing Docker-based commands for production and development, and its pitch is avoiding large SaaS bills while keeping user data in your own hands. The stack includes JavaScript, Python and PostgreSQL. The repository lists its licence as other, so terms should be read before reuse.

Key features

  • Automatic event capture with a tracking snippet
  • Visual recording of user interactions
  • Custom dashboards with multiple chart types
  • Live chat with users
  • In-app push notifications
  • Email campaigns and micro-surveys
  • Self-hosting with Docker

Pricing: Free and open source; the repository lists its licence as other, and the project is no longer maintained.

Hotjar alternatives: questions

What is the best open-source alternative to Hotjar?
PostHog is the top-ranked open-source alternative to Hotjar on Enlisted: An open-source product platform combining analytics, session replay, feature flags, experiments, surveys and error tracking, with AI that turns signals into reports. Other strong options are OpenReplay, Microsoft Clarity, Talivia and Fusion.
Are these Hotjar alternatives free?
All 5 are open source, so the code is free to use under its licence, and all of them can be self-hosted on your own server or computer. 3 also offer a paid or managed cloud version if you'd rather not host it yourself.
How is this list of Hotjar alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 4 of these projects shipped code in the last 30 days. Data is refreshed daily, and nobody can pay to move up.

People also look for alternatives to…

View all