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

6 alternatives ranked by real activity

Open-source Heap alternatives

A curated, ranked list of the 6 best open-source alternatives to Heap.

The best open-source alternative to Heap is PostHog. If that doesn't suit you, other good options are Rybbit, OpenReplay, OpenPanel and Countly.

Heap alternatives are mainly analytics tools, but some are also session replay tools. 5 of them shipped code in the last 30 days, 6 can be self-hosted, and none uses 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.

Rybbit

A cookieless, privacy-friendly open-source web and product analytics platform offered as a hosted service or for self-hosting, positioned as an alternative to Google Analytics.

GitHub stars
13k
Last commit
yesterday
Latest release
v2.9.0
Licence
AGPL-3.0
Self-hosted
Yes
Hosted version
Available
rybbit.comRybbit homepage screenshot

Rybbit is an open-source web and product analytics platform that avoids cookies and aims to be easier to read than traditional analytics suites. It is presented as a privacy-friendly alternative to Google Analytics and can be set up in a couple of minutes with a tracking script added to a site.

It covers the usual web metrics, including sessions, unique users, pageviews, bounce rate and session duration, and goes further with session replays, funnels, retention and user journey dashboards. Data can be filtered across more than fifteen dimensions, custom events carry JSON properties, locations are tracked down to city level with map views, and a real-time dashboard is included. Organizations and an unlimited number of sites are supported.

Rybbit is licensed under AGPL-3.0 and written in TypeScript. You can use the hosted service for the quickest start or deploy it on your own VPS for full control, and a live demo shows it running on a production site. The README compares it with GA4, Plausible and Cloudflare analytics on openness, self-hosting and privacy.

Key features

  • Cookieless, privacy-friendly tracking
  • Sessions, pageviews, bounce rate and duration
  • Session replays of user visits
  • Funnels, retention and user journeys
  • Custom events with JSON properties
  • City-level location tracking with maps
  • Real-time analytics dashboard
  • Multiple organizations and unlimited sites

Pricing: Standard is $13 and Pro $26 per month on annual billing for 100,000 monthly pageviews, rising with traffic. Includes a 7-day free trial; Enterprise is custom.

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.

OpenPanel

An open-source web and product analytics platform positioned as an alternative to Mixpanel, with funnels, session replay, A/B tests, cookieless tracking and self-hosting.

GitHub stars
7.1k
Last commit
2 days ago
Licence
AGPL-3.0
Self-hosted
Yes
Hosted version
Available
openpanel.devOpenPanel homepage screenshot

OpenPanel is a web and product analytics platform, released as open source, that sets out to combine the depth of Mixpanel with the simplicity of Plausible. It is presented as an alternative to Mixpanel and Google Analytics, with optional self-hosting and cookieless tracking by default.

Its feature list covers funnels and cohorts, user profiles with session history, session replay that has privacy controls, real-time dashboards, built-in A/B testing, event and funnel alerts, custom dashboards, revenue tracking for purchases, subscriptions and lifetime value, SDKs and an API for web, mobile and server-side tracking, integrations such as Google Search Console, and an MCP server so AI clients can query user data. A comparison table in the README sets it against Mixpanel, GA4 and Plausible.

OpenPanel is written in TypeScript and licensed under AGPL-3.0. It can be self-hosted for full control of data, and a hosted version with sign-in is also available. The project emphasizes transparent pricing with no hidden costs or usage limits. It suits product teams that want privacy-friendly analytics with product-level depth.

Key features

  • Funnels, cohorts and user profiles
  • Session replay with privacy controls
  • Real-time dashboards and custom charts
  • Built-in A/B testing
  • Cookieless, GDPR-friendly tracking
  • Web, mobile and server-side SDKs
  • MCP server for AI clients

Pricing: Self-hosting is free. Cloud is priced by monthly event volume, from $2.50 for 5K events up to $900.00 for 50M, with unlimited users and a 30-day free trial.

Countly

Countly is a privacy-focused product analytics and customer engagement platform for web, mobile, desktop and IoT apps that you can run on-premises.

GitHub stars
5.9k
Last commit
yesterday
Latest release
25.03.53-LTS
Self-hosted
Yes
Hosted version
Available
countly.comCountly homepage screenshot

Countly is a product analytics and customer engagement system for organizations that insist on owning their data. Teams use it to see how people behave in mobile, web, desktop and connected products, to improve product experiences, and to automate and personalize how they engage with customers.

The repository topics reflect a broad toolset: web and mobile analytics, crash analytics, push notifications, feature flags, remote configuration, user feedback, dashboards and user journeys. Privacy is a central theme, with references to GDPR, COPPA and HIPAA, and the README stresses that, unlike SaaS-only tools, it can run on your own premises or inside a private cloud. SDKs are provided for many platforms, and the project has a Discord community.

The server code is JavaScript and published under a license that GitHub lists as 'Other', so check the repository for the terms that apply to the edition you use. Countly also offers hosted and enterprise options through the vendor. It suits product and marketing teams that need analytics without sending data to a third party.

Key features

  • Cross-platform product and user analytics
  • Crash reporting for mobile apps
  • Push notifications and engagement tools
  • Feature flags and remote configuration
  • User feedback collection
  • On-premises or private cloud deployment

Pricing: Free self-hosted Lite edition. Flex starts at $175 per month on a managed private cloud with usage-based pricing and a 14-day trial; Enterprise is custom.

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.

Heap alternatives: questions

What is the best open-source alternative to Heap?
PostHog is the top-ranked open-source alternative to Heap 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 Rybbit, OpenReplay, OpenPanel and Countly.
Are these Heap alternatives free?
All 6 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. 4 also offer a paid or managed cloud version if you'd rather not host it yourself.
How is this list of Heap alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 5 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