#1
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
- 41k
- Last commit
- today
- Latest release
- desktop-v0.61.1016
- Self-hosted
- Yes
- Hosted version
- Available
posthog.com
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.
#2
A full-featured open-source web analytics platform in PHP and MySQL that you run on your own server, built as a privacy-conscious alternative to Google Analytics.
- GitHub stars
- 22k
- Last commit
- today
- Latest release
- 5.14.2
- Licence
- GPL-3.0
- Self-hosted
- Yes
- Hosted version
- Available
matomo.org
Matomo, formerly known as Piwik, is an open web analytics platform written in PHP with MySQL storage. You download and install it on your own web server, and after a short installation you receive a JavaScript tracking tag to paste into the sites you want to measure, then see reports in real time. It positions itself as a free-software substitute for Google Analytics.
Privacy is built in, and its mission statement stresses giving every user full control of their data. According to the README it is used on more than 1,400,000 websites. Requirements are PHP 8.1 or newer, MySQL 8.0 or newer or MariaDB 10.6 or newer, and the PDO MySQL or MySQLi extension, and it is independent of operating system and web server. Topics also reference marketing and mobile analytics.
Matomo is released under the GPL-3.0 (or later) license. Self-hosting keeps data on your own servers, and the organization also offers Matomo Cloud as a managed option, with a marketplace of plugins. It suits organizations with data-protection requirements, such as public bodies and companies in privacy-regulated markets, that need dependable analytics they control.
Key features
- Real-time web analytics reports
- Self-hosted PHP and MySQL application
- JavaScript tracking tag installation
- Privacy-focused data ownership
- Mobile and intranet analytics topics
- Matomo Cloud as a managed option
Pricing: The self-hosted Community edition is free. Matomo Cloud starts at $26 a month for 50,000 hits and scales with traffic; a free trial is offered and Enterprise is quoted on request.
#3
A self-hosted session replay, cobrowsing and product analytics platform that keeps user session data inside your own infrastructure.
- GitHub stars
- 13k
- Last commit
- yesterday
- Latest release
- v1.28.0
- Self-hosted
- Yes
openreplay.com
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.
#4
An open-source full-stack monitoring platform that combines session replay, error monitoring, logging and distributed tracing, offered hosted or self-hosted.
- GitHub stars
- 9.4k
- Last commit
- 20 days ago
- Latest release
- docker-v0.5.6
- Self-hosted
- Yes
- Hosted version
- Available
app.highlight.io
Highlight, at highlight.io, is an open-source monitoring platform for developers. Its aim is to give teams one cohesive tool covering the front end and back end, instead of separate products for errors, logs and user sessions.
The core features are session replay, error monitoring and logging, with tracing and metrics also in scope. Console logs from the front end can be analyzed, and errors are embedded alongside the session in which they happened, so you can see what the user was doing beforehand. Session comments let teams discuss user frustration or bugs, there are integrations with other tools, and client SDKs install with a few lines of code.
You can sign up for the free-to-start hosted version at app.highlight.io, or deploy a hobby instance on Linux with Docker, sized at roughly 8 GB of memory, four CPUs and 64 GB of storage. The code is written in TypeScript and Go, and the repository lists the license as Other, so check the licence file for terms.
Key features
- Session replay for user interactions
- Error monitoring tied to sessions
- Logging and console log analysis
- Distributed tracing and metrics
- Session comments for team discussion
- Client SDKs for several platforms
- Docker hobby self-hosting
Pricing: A hosted version is free to start; a hobby self-hosted instance is available. The repository lists the license as Other.
#5
Open-source behavioral analytics library that records DOM changes and interactions to produce session replay and heatmap insights.
- GitHub stars
- 2.8k
- Last commit
- yesterday
- Licence
- MIT
- Hosted version
- Available
clarity.microsoft.com
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.
Glassbox alternatives: questions
- What is the best open-source alternative to Glassbox?
- PostHog is the top-ranked open-source alternative to Glassbox 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 Matomo, OpenReplay, Highlight.io and Microsoft Clarity.
- What are the best commercial alternatives to Glassbox?
- Noibu, Quantum Metric, Contentsquare, FullStory and UXCam are among the hosted, closed-source alternatives to Glassbox listed on Enlisted, which lists 28 in total. Compare their pricing and features on each tool page.
- Are these Glassbox 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. 4 also offer a paid or managed cloud version if you'd rather not host it yourself.
- How is this list of Glassbox 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.