Open source alternatives to Google Analytics

8 projects on starwire do the same job. Ranked by how much of what Google Analytics does each one covers, read from its README and website. Ties go to the most active.

What Google Analytics does

  1. Visitor and pageview trackingcore
  2. Traffic sources and referrers
  3. Dashboards and reportscore
  4. Custom events and goals
  5. Funnels and conversion tracking
  6. Real-time view
  7. Audience segments and filters
  8. Data export and API

Each dot in the table is one job, in this order. Square dots are core jobs and count double. Full means yes, half means partly. "See the evidence" under a project shows the line behind each one. Coverage is what a project documents, not how well it works or how hard it is to move to. How we score this

ProjectCoversStarsCommits, 12 weeksLast releaseClosed vs openedSetupLicense
openanalyticsCookieless web analytics server backed by ClickHouse, with an MCP endpoint Replaces it100%652+5
51
56 days ago67% Hosted version AGPL-3.0
Covers everything on the checklist.See the evidence
  • Visitor and pageview trackingcoreYespage views, custom and attribute-driven events
  • Traffic sources and referrersYesVisitors, pages, sources and revenue on one screen
  • Dashboards and reportscoreYesThe dashboard (Next.js)
  • Custom events and goalsYespage views, custom and attribute-driven events
  • Funnels and conversion trackingYesfunnels, per-site retention
  • Real-time viewYesWatch visitors arrive the moment they do
  • Audience segments and filtersYesClick any country, page or source and the whole board narrows
  • Data export and APIYesCSV/JSON import and export, an MCP server
analyticsCookie free web analytics, self-hosted or cloud, as a Google Analytics alternative Replaces it95%30k+51
173
6 months ago100% Hosted, paid AGPL-3.0
Covers all 2 core jobs. Partly: Audience segments and filters.See the evidence
  • Visitor and pageview trackingcoreYesMeasure traffic, not individuals.
  • Traffic sources and referrersYesTrack UTM campaigns with automatic channel grouping
  • Dashboards and reportscoreYesAll key insights are on a single page
  • Custom events and goalsYesSet up custom events and revenue tracking
  • Funnels and conversion trackingYesTrack goals, conversions, revenue attribution and funnels
  • Real-time viewYesMonitor live traffic with the same metrics
  • Audience segments and filtersPartlyusing custom events and dimensions
  • Data export and APIYesexport your stats using the stats API or CSV
umamiPrivacy-first web analytics you can self-host or run in the cloud Replaces it90%40k+164
117
22 days ago72% Hosted, free plan MIT
Covers all 2 core jobs. Not shown: Real-time view.See the evidence
  • Visitor and pageview trackingcoreYespageviews, visitors, bounce rate, and average visit time
  • Traffic sources and referrersYesChannels, referrers, and campaigns attributed end to end
  • Dashboards and reportscoreYesAll your key metrics on one dashboard
  • Custom events and goalsYesTrack button clicks, form submissions, signups, downloads
  • Funnels and conversion trackingYesFunnels and goals show how far visitors get
  • Real-time viewNot shownNeither the README nor the website mentions it.
  • Audience segments and filtersYesSave cohorts of visitors who viewed a page
  • Data export and APIYesauthenticate with an API key generated under Settings
rybbitOpen-source web analytics that is an alternative to Google Analytics Replaces it90%13k+98
205
21 days ago65% Hosted version AGPL-3.0
Covers all 2 core jobs. Not shown: Traffic sources and referrers.See the evidence
  • Visitor and pageview trackingcoreYessessions, unique users, pageviews, bounce rate, session duration
  • Traffic sources and referrersNot shownNeither the README nor the website mentions it.
  • Dashboards and reportscoreYesCustomizable goals. retention, user journeys, and funnels dashboards
  • Custom events and goalsYesCustom events with JSON properties
  • Funnels and conversion trackingYesConversion Funnels Define the steps that matter
  • Real-time viewYesReal time dashboard
  • Audience segments and filtersYesAdvanced filtering across 15+ dimensions
  • Data export and APIYeson top of Rybbit s full REST API
posthogProduct analytics platform with session replay, feature flags and experiments Replaces it80%41k+94
19,161
today100% Hosted, free plan Custom license
Covers all 2 core jobs. Not shown: Traffic sources and referrers; Real-time view.See the evidence
  • Visitor and pageview trackingcoreYesMonitor web traffic and user sessions with a GA-like dashboard
  • Traffic sources and referrersNot shownNeither the README nor the website mentions it.
  • Dashboards and reportscoreYesAnalyze your data with visualizations or SQL
  • Custom events and goalsYesAutocapture or manually instrument event-based analytics
  • Funnels and conversion trackingYesTrack conversion, web vitals, and revenue
  • Real-time viewNot shownNeither the README nor the website mentions it.
  • Audience segments and filtersYesSafely roll out features to select users or cohorts
  • Data export and APIYesbatch export large amounts to your warehouse
posthog-fossRead-only mirror of PostHog with proprietary code removed, synced automatically Replaces it80%731+3
19,162
NoneToo few Hosted, free plan MIT
Covers all 2 core jobs. Not shown: Traffic sources and referrers; Real-time view.See the evidence
  • Visitor and pageview trackingcoreYesMonitor web traffic and user sessions with a GA-like dashboard
  • Traffic sources and referrersNot shownNeither the README nor the website mentions it.
  • Dashboards and reportscoreYesAnalyze your data with visualizations or SQL
  • Custom events and goalsYesAutocapture or manually instrument event-based analytics
  • Funnels and conversion trackingYesTrack conversion, web vitals, and revenue
  • Real-time viewNot shownNeither the README nor the website mentions it.
  • Audience segments and filtersYesSafely roll out features to select users or cohorts
  • Data export and APIYesbatch export large amounts to your warehouse
vinceSelf-hosted web analytics, an alternative to Google Analytics Replaces it70%2.0k+1
0
15 months agoToo few Needs a server AGPL-3.0
Covers all 2 core jobs. Partly: Funnels and conversion tracking; Audience segments and filters. Not shown: Real-time view; Data export and API.See the evidence
  • Visitor and pageview trackingcoreYesPage views
  • Traffic sources and referrersYesBreakdown by Cities, Sources, Pages and Devices
  • Dashboards and reportscoreYesPublic dashboards allow access to the dashboard to anyone
  • Custom events and goalsYesCustom event tracking
  • Funnels and conversion trackingPartlyGoals Conversion
  • Real-time viewNot shownNeither the README nor the website mentions it.
  • Audience segments and filtersPartlyBreakdown by Cities, Sources, Pages and Devices
  • Data export and APINot shownNeither the README nor the website mentions it.
tianjiSelf-hosted website analytics, uptime monitoring and server status in one app Replaces it35%3.1k+2
181
yesterday17% Hosted version Apache-2.0
Covers 1 of 2 core jobs. Partly: Traffic sources and referrers. Not shown: Dashboards and reports; Custom events and goals; Funnels and conversion tracking; Real-time view; Audience segments and filters.See the evidence
  • Visitor and pageview trackingcoreYesWebsite Analytics + Uptime Monitor + Server Status
  • Traffic sources and referrersPartlyutm track
  • Dashboards and reportscoreNot shownNeither the README nor the website mentions it.
  • Custom events and goalsNot shownNeither the README nor the website mentions it.
  • Funnels and conversion trackingNot shownNeither the README nor the website mentions it.
  • Real-time viewNot shownNeither the README nor the website mentions it.
  • Audience segments and filtersNot shownNeither the README nor the website mentions it.
  • Data export and APIYesTianji offers a comprehensive OpenAPI interface

Vital signs from GitHub, checked weekly. How we read these · How setup is read

These also replace

All repos

New repos every two days, stars refreshed daily. Visits are counted without cookies, and the numbers are public. How it works Data RSS Newsletter

The best new open source, once a weekOne short email: the repo everyone is suddenly starring, a handful worth trying, and one hidden gem, each with a plain note on what it does. Free, with no tracking pixels.

Read past issues

↑ ↓ to move   Enter to choose   Esc to close

Follow starwire by RSSCopy an address into your feed reader.
The day's bestOne item a day: the repos rising fastest and the biggest new picks.starwire.foo/top.xml
Every new pickAll of them as they are added, up to 60 a day.starwire.foo/feed.xml
The weekly emailEach issue of the newsletter, once a week.list.starwire.foo/archive.xml