It's a truth universally acknowledged that every business reliant on an outmoded enterprise product has need of an open source alternative... probably.
In this guide we're looking at open-source analytics tools, which we've split into two broad categories:
Open-source analytics tools that collect data and help you understand user behavior. This includes product analytics platforms, but also web analytics, session recording, and AB testing tools.
Open-source data analytics and business intelligence tools that connect to data sources for building dashboards, insights, interactive visualizations, and real-time data logging.
We've chosen each entry carefully based on a broad range factors, such as popularity and user growth, community size and activity, our own experience using them, and publicly available feedback and sentiment.
We have separate guides on open-source feature flag tools and open-source AB testing products.
Changelog
- Jun 16, 2022: Added Fathom Lite, Open Web Analytics, GrowthBook, OpenReplay
- Aug 24, 2022: Removed Fathom Lite, Open Web Analytics; added Apache Superset, Redash
This section is dedicated to tools that actively collect data on user behavior. These range from the very simple, such as the privacy-focused Plausible, to broad analytics tools like Matomo.
- GitHub Stars: 10.8k
- Language(s): TypeScript (53%) and Python (42%)
- Alternative to: Mixpanel, Amplitude, Hotjar, FullStory, LaunchDarkly
- PostHog on GitHub
PostHog is an all-in-one platform designed to give engineers, product managers and data scientists a complete view of user behavior. It's built on the highly-scalable ClickHouse OLAP database.
Features include a comprehensive product analytics suite (e.g. trend analysis, dashboards, funnels, path analysis, retention tracking etc.), feature flags for feature control, experimentation (A/B and multivariate testing), session recording, heatmaps and more.
It’s entirely self-serve, with the ability to auto-capture event information out of the box. PostHog can also be self-hosted on your existing infrastructure using Docker Compose, making it ideal if you don't want to share data with third parties. It's a good option if you're after an open-source session recording tool, too.
PostHog is useful for engineering, data science, and product teams. As an all-in-one platform, it can replace multiple tools (e.g. Mixpanel, LaunchDarkly, Hotjar) so you can simplify your tech stack. PostHog customers include the likes of Hasura, Netdata, and Phantom.
- All-in-one analytics suite
- Easy-to-use, no SQL required
- Self-hosting and cloud-hosting available
- Feature flags for safely deploying changes
- Multivariate experimentation suite for testing ideas
- Session recording for gathering insights
- Event pipelines to integrate with data warehouses
- Built on ultra-fast ClickHouse OLAP database
PostHog Open Source is free to use for life and is distributed under an MIT license. The open source version includes the core product analytics, feature flag, and session recording features, but has a one project limit. There's also a FOSS edition that removes all proprietary code.
Subscribing to PostHog Cloud removes the project limit and adds numerous paid-only features, including experimentation, correlation analysis, group analytics for tracking organizations, and advanced cohorts. PostHog Cloud is free up to 1 million events per month.
- GitHub Stars: 16.7k
- Languages: PHP (58%), HTML (18%), JavaScript (18%)
- Alternative to: Google Analytics
- Matomo on GitHub
Matomo is an open-source platform for website analytics. It's one of the most popular open-source alternatives to Google Analytics for website owners and marketing teams. It even offers a data import tool for Google Analytics so you can bring your data with you. You can run it on-premise or use Matomo's own cloud hosting service.
Matomo is intended for marketing and website teams looking to track content performance and marketing attribution. It's suitable for both SMBs and enterprises – the EU runs a version of Matomo on all its websites.
- Google Analytics data importer
- Easy to setup on WordPress and WooCommerce
- Marketing metrics and attribution
- Integrations with popular off-the-shelf CMS
- Built-in GDPR and tag managers
- No data sampling
Matomo on-premise is available under a AGPLv3 license. It includes Matomo's core web analytics reports, such as ecommerce tracking, real-time analytics, and content tracking, and supports an unlimited number of websites and users. Numerous premium add-ons (e.g. roll-up reporting, A/B testing, cohorts, funnels etc.) are charged on a per user basis. Cloud hosting is also available, which is billed on hits.
Related: In-depth PostHog vs Matomo comparison
- GitHub Stars: 5k
- Languages: JavaScript (82%), HTML (9.4%)
- Alternative to: Mixpanel, Amplitude, LogRocket
- Countly on GitHub
Like PostHog, Countly offers a wide range of tools to help you build better products. It has a strong focus on mobile and desktop applications, and enables you to bring together both qualitative and quantitative insights. However many features, such as dashboards or funnel analysis, are only available in the enterprise-level product.
Countly is suitable for both small teams and enterprise businesses, especially those which focus on mobile apps. The crash analytics tools make it useful for customer support and engineering teams, too.
- Wide range of analysis tools
- Focus on mobile and desktop app development
- Crash analytics to diagnose bugs
- Run surveys to get qualitative insights
Countly's Community Edition is available under a AGPLv3 license, but it's somewhat limited. It includes versions of its core analytics features, but customer behavior insights (e.g. retention, cohorts, funnels, user paths) are only available in the paid Enterprise Edition. Countly doesn't provide public pricing information.
- GitHub Stars: 5.5k
- Languages: Python (25%), TypeScript (24%), JavaScript (24%)
- Alternative to: LogRocket, Hotjar
- OpenReplay on GitHub
OpenReplay is a session replay suite built for developers and privacy conscious companies. While it lacks many core analytics features, such as measuring pageviews on landing pages, it delivers useful analytical tools that augment others.
Its session replay feature automatically captures events, and provides useful click maps in addition to detecting rage clicks and slow loading pages. It also offers funnel analysis, performance monitoring, error tracking, and extensive integrations with other logging tools.
OpenReplay is primarily for developers, especially due to its focus on error tracking and bug fixing.
- Privacy-friendly
- Error tracking and bug fixing features
- Performance tracking
OpenReplay is available under the ELv2 license. An Enterprise version adds additional reporting features and dedicated support, but there's no public pricing. There's also a cloud version with pricing based on sessions.
- GitHub Stars: 12.2k
- Languages: Elixir (66%), HTML (18%), JavaScript (15%)
- Alternative to: Google Analytics
- Plausible on Github
Plausible Analytics is focused on providing website analytics that don’t infringe on user privacy. That means Plausible doesn’t rely on cookies and is naturally compliant with regulations like GDPR.
Unlike Matomo, Plausible is a very streamlined tool rather than a feature-equivalent Google Analytics alternative. As a result, it's a great fit for smaller teams who prefer ease of use to in-depth reporting, or hobby deployments if you just want basic analytics for a website or blog.
Plausible is intended for marketing teams and website owners who want to track top-level website metrics, such as pageviews, bounce rate and visit duration.
- Easy to use and focused on essential web metrics
- Lightweight integration script won’t impact page performance
- No cookies required, GDPR compliant out of the box
Plausible Analytics is available under a AGPLv3 license and can be self-hosted via Docker Compose. Pricing for its hosted version starts at €9 per month for 10,000 monthly pageviews.
Also consider: Plausible is one of a large subset of privacy-first analytics products that have proven popular in the wake of GDPR and less permissive attitudes to user tracking. Umami is another popular, open-source product in this space. Read our GDPR analytics guide for more options.
- GitHub Stars: 3.5k
- Languages: TypeScript (92%)
- Alternative to: LaunchDarkly
- GrowthBook on GitHub
GrowthBook is an open source A/B testing and feature flag tool for teams who want granular control over rolling out new features, and the ability to validate those changes through experiments.
It supports multiple development environments, each with a unique API endpoint, and its comprehensive feature flag functionality allows for targeting based on user properties.
You don't need to import metric data into GrowthBook as it works with your data wherever it lives, be that a data warehouse or an analytics tool like Mixpanel, but it lacks any additional analytical features.
GrowthBook is ideal for engineering teams who want flexible, instant control over what users see in their product and already have, or don't require, a broader analytics platform.
- Multivariate feature flags
- Support for Mixpanel JQL querying
- A/B testing visual editor
- Can be self-hosted
- No performance impact
GrowthBook is distributed under an MIT license and self-hosted is supported at no cost. The cloud version is free for up to three users, and $20 per user per month thereafter.
This section is dedicated to data analytics tools that connect to data sources (e.g. data warehouses etc.) rather than actively collecting data. Most are focused on big data analytics and are thus tailored to more technical users, particularly engineering, dev ops, and data science teams.
- GitHub Stars: 33.7k
- Languages: Scala (67%), Python (12%)
- Alternative to: Google Dataflow, TIBCO
- Apache Spark on GitHub
Apache Spark is a data processing engine specifically for large-scale data analysis — or big data analytics, as it’s commonly known. It can run on a wide range of technologies, including Hadoop, Apache Mesos or Kubernetes, which makes it an incredibly versatile analytics option. It's known for being developer-friendly, and incredibly fast thanks to its in-memory data engine.
Apache Spark is a technical system intended for data engineers and data scientists conducting large-scale analytics in an enterprise setting. Spark's flexibility and petabyte-scale processing ability make it useful for numerous use cases, such as handling real-time data streams, or training machine learning algorithms.
- Great for very large data volumes
- Use libraries such as MLlib for machine learning
- Works with R, Java, Python, Scala and SQL
- Process data in real-time using clusters
Apache Spark is available under the Apache 2.0 license and is entirely free.
- GitHub Stars: 29.5k
- Languages: Clojure (49%), JavaScript (33%), TypeScript (17%)
- Alternative to: Looker, Tableau, Power BI
Metabase is one of the most popular open-source business intelligence (BI) tools in the world, offering teams a way to visualize complex data and run analysis with no coding required. Instead, Metabase’s visual query builder enables you to create shareable dashboards in just a few minutes with a drag-and-drop interface — though a native SQL editor is available for advanced users.
Metabase's drag-and-drop interface makes it accessible for technical and non-technical teams, making it an ideal platform for democratizing data analytics in organizations.
- Easy-to-use, no SQL required
- Automated reports and interactive dashboards
- Self-hosting and cloud-hosting available
- Integrate with 20+ data sources
Metabase is available under a AGPL license. A limited version of the product is available for free, while an Enterprise license is available for a cost. Check the Metabase repo for more information.
- GitHub Stars: 50.6k
- Languages: TypeScript (57%), Go (37%)
- Alternative to: Datadog, Dynatrace
- Grafana on Github
Grafana is more of a data observability platform than a pure open source analytics tool. This is due to the fact that it focuses on interactive visualization, providing a wide variety of charts, graphs and alerts which can be connected to a wide range of online data sources. As a result, it’s a powerful system for monitoring and analyzing data in real-time.
Grafana is an ideal choice for engineering, dev ops or data scientists in businesses or teams of any size, including enterprise, who need to observe and monitor data.
- Great for tracking data in real time
- Multiple products allow you to scale
- Get alerts when anomalous events occur
- Integrates with a wide range of data sources
Grafana is available to self-host under an AGPLv3 license. Grafana Cloud also has a free tier, though it's limited to three active users and 14 days retention. Additional tiers remove those limitations.
- GitHub Stars: 21.6k
- Languages: Python (41%), JavaScript (33%), TypeScript (17%)
- Alternative to: Looker, Tableau, Power BI
- Redash on GitHub
Like Metabase, Redash is a tool for connecting to and visualizing data from a number of different sources. Unlike Metabase, you need to be fluent in SQL to get the most from it. Redash supports more data sources than Metabase by default, though how important this is will depend on your specific needs.
Redash is ideal for engineering and data teams who want lots of flexibility for accessing and interrogating data.
- Powerful SQL editor
- Alerts for changes in metrics
- Large selection of charts and visualizations
- Excellent range of natively supported data sources
Redash is distributed via a BSD-2-Clause license. It currently has no paid tiers or limitations.
- GitHub Stars: 47.8k
- Languages: TypeScript (37%), Python (33%), JavaScript (13%)
- Alternative to: Looker, Tableau, Power BI
- Superset on GitHub
Superset is the third of the big open-source business intelligence tools alongside Metabase and Redash. It's also considered the most complex and least accessible for non-technical users, though its range of visualizations and charting options is unmatched.
Superset is ideal for enterprises with experienced in-house data teams. It can handle large data sets, and provides extensive permissioning systems so you can restrict access to sensitive data.
- Connects to a large range of SQL databases
- Large and active community
- Powerful web-based SQL query editor
- Huge range of charting options
- Deck.GL integration for advanced geographic dataviz
Apache Superset is distributed under a Apache-2.0 license. There are no paid features or tiers.