Open-source Google Analytics alternatives

A useful Google Analytics replacement should answer the questions your team actually asks. For a content site, that may mean understanding traffic sources and popular pages. For a business with complex acquisition reporting, the requirements can be very different. Write down the decisions your reports support before choosing a smaller or more configurable tool.

Plausible Analytics is the current project in our shortlist for teams looking for straightforward website analytics. Evaluate it against your reporting needs rather than expecting an identical copy of Google Analytics.

By OSS Hunter · An editorial starting point, with project facts in the live directory below.

Plausible Analytics: when to consider it

Plausible Analytics homepage

Plausible describes its approach as simple, privacy-friendly analytics. It is a candidate for teams that want a focused view of website activity without building their reporting around every feature in a larger analytics suite. The project offers an open-source route, while hosting and operational choices still need evaluation.

Explore Plausible Analytics: repository, license, and website

What to compare before replacing Google Analytics

Reporting questions

List the traffic, campaign, page, and conversion questions that matter. Recreate the reports you use to make decisions instead of comparing dashboard screenshots alone.

Events and goals

Inventory the events your site sends today. Define which are still useful, who owns their names, and how you will verify them after changing the tracking code.

Historical data

Plausible documents a Google Analytics import process. Review the supported history and aggregation behavior before assuming that every existing report will transfer.

Measurement differences

Plausible explains that its numbers can differ from Google Analytics because the tools measure differently. Investigate meaningful discrepancies rather than expecting exact equality.

Tradeoffs to plan for

A simpler reporting interface can reduce the work needed to find an answer, but it may not cover a specialist attribution or marketing workflow. Bring the people who consume reports into the trial. Also assess access controls, exports, retention, and operational responsibilities for the hosting option you choose.

A practical migration pilot

Pick a small set of pages and conversions to validate. Record the current tracking configuration, install the new setup in a controlled rollout, and check that visits and events reach the right site. Compare results over a representative period and document why any important differences occur before retiring existing reports.

Agree on a small set of acceptance criteria before the trial. Give each requirement an owner, record the gaps you find, and keep a rollback path until the new workflow is proven. Our software migration guide can help you structure that decision.

Frequently asked questions

Is Plausible a drop-in replacement for every Google Analytics report?

No single dashboard proves that. Validate the reports, events, and business questions you depend on before switching.

Can we keep our historical analytics?

Review the official import guide and test the supported data. Keep an appropriate export of your existing reports rather than assuming a migration preserves every view.

Does open-source analytics mean there are no operating costs?

No. Self-hosting requires infrastructure and maintenance; a managed service has its own terms. Compare the total cost of the approach you would actually run.

How we approach this comparison

We start with the projects currently in the OSS Hunter directory and explain where to investigate fit. Inclusion is not a certification of security or a guarantee of feature parity. We link to the project and its documentation so you can inspect the source and verify the requirements that matter to you. Paid placements are disclosed; a placement is not a comparative score.

Official documentation

Continue your research

Choosing an open-source alternative · Self-hosting readiness checklist

GitHub alternatives · Figma alternatives · Slack alternatives · Microsoft Teams alternatives

Google Analytics alternatives

Powerful Analytics Solution. Setup in 30 seconds. Display all your data on a Simple, AI-powered dashboard. Fully self-hostable and GDPR compliant. Alternative to Google Analytics, MixPanel, Plausible, Umami & Matomo.

litlyx preview

Litlys is the easiest analytics tool you will ever use. It is fast, modern and completely cookie free. Install in under 30 seconds. Self host with Docker or use our hosted cloud. A powerful alternative to Google Analytics 4, Posthog and Mixpanel. Sign up on Litlyx.com and create a project. Then use your workspace_id to connect Litlyx to your website. Litlyx works with all modern JavaScript and TypeScript frameworks. You can also use Litlyx on any WordPress website by injecting the script with a third party plugin. Once initialized, Litlyx automatically tracks page visits, real time users, unique visitors and much more. Use the command below to send a test event. Replace workspace_id with your project ID. To self host the Litlyx dashboard, first clone this repository. Litlyx Docker images are hosted on DockerHub. To forward your data on your self-hosted instance, you need to set up the following variables: data-host, data-port, data-secure(true if it is HTTPS or false if it is HTTP). Litlyx self hosting gives you the freedom to use the full platform for free. If you want to scale to more client seats, you can choose one of our lifetime plans available in the pricing section. To keep track on what we are cooking behind the scene we have a public Roadmap for you to check. If you need more information, want to interact with us or the community, need help, or have feedback to share, feel free to join us on Litlyx's Discord channel.

License: Apache-2.0

Empowering People Ethically 🚀 — Matomo is hiring! Join us → https://matomo.org/jobs Matomo is the leading open-source alternative to Google Analytics, giving you complete control and built-in privacy. Easily collect, visualise, and analyse data from websites & apps. Star us on GitHub ⭐️ – Pull Requests welcome!

matomo preview

Matomo aims to be a Free software alternative to Google Analytics and is already used on more than 1,400,000 websites. Privacy is built-in! When using Matomo for development you need to install Matomo from the Git repository. This will also give you access to a DDEV environment you can use. More details can be found in the DDEV README. The Matomo project uses an ever-expanding comprehensive set of thousands of unit tests and hundreds of automated integration tests, system tests, JavaScript tests, and screenshot UI tests, running on a continuous integration server as part of its software quality assurance. Learn more. We use BrowserStack.com testing tool to help check the Matomo user interface is compatible with many browsers. Security is a top priority at Matomo. As potential issues are discovered, we validate, patch and release fixes as quickly as we can. We have a security bug bounty program in place that rewards researchers for finding security issues and disclosing them to us. You own your web analytics data: since Matomo is installed on your server, the data is stored in your own database and you can get all the statistics using the powerful Matomo Analytics API. Matomo is a Free Software which can easily be configured to respect your visitors' privacy. Modern, easy to use User Interface: you can fully customize your dashboard, drag and drop widgets and more. Matomo features are built inside plugins: you can add new features and remove the ones you don’t need. You can build your own web analytics plugins or hire a consultant to have your custom feature built-in Matomo. Advanced Web Analytics capabilities such as E-commerce Tracking, Goal tracking, Campaign tracking, Custom Variables, Email Reports, Custom Segment Editor, Geo Location, Real-time visits and maps, and a lot more! We are together creating the best open analytics platform in the world!

License: GPL-3.0

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Plausible Analytics preview

Plausible is an open-source web analytics product for understanding how people find and use a website. Its compact dashboard brings traffic and conversion reporting together, making it an option for teams replacing Google Analytics who want a simpler reporting workflow. The product supports campaign measurement, goals and custom events. Its privacy-oriented approach avoids cookies and persistent visitor identifiers rather than building profiles across websites. The hosted service also offers integrations and reporting features that vary by plan. You can choose a managed service or run the open-source software yourself. Before switching, compare the self-hosted edition with the hosted features you need, test your existing events and reporting requirements, and decide who will maintain the deployment. Treat it as a change in measurement approach, not an automatic reproduction of every GA4 report.

License: AGPL-3.0

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

rybbit preview

Rybbit is the modern open source and privacy friendly alternative to Google Analytics. It takes only a couple minutes to setup and is super intuitive to use. 🔍 View Live Demo - See Rybbit running on a real-life production site. To work on the client and backend locally, see the pnpm workspace setup. - All key web analytics metrics including sessions, unique users, pageviews, bounce rate, session duration - Session replays - No cookies & privacy friendly - Customizable goals. retention, user journeys, and funnels dashboards - Advanced filtering across 15+ dimensions - Custom events with JSON properties - 3 level location tracking (country -> region -> city) + advanced map visualizations - Real time dashboard - Support for organizations and unlimited number of sites Documented features: - Open Source (Rybbit: ✅; GA4: ❌; Plausible: ✅; Cloudflare: ❌). - Self-Hosting (Rybbit: ✅; GA4: ❌; Plausible: ✅\; Cloudflare: ❌). - Cookieless & Privacy friendly (Rybbit: ✅; GA4: ❌; Plausible: ✅; Cloudflare: ✅). - Advanced Maps (Rybbit: ✅; GA4: ❌; Plausible: ❌; Cloudflare: ❌). - Advanced Filters (Rybbit: ✅; GA4: ⚠️ Limited; Plausible: ⚠️ Limited; Cloudflare: ❌). - Web Vitals (Rybbit: ✅\\; GA4: ❌; Plausible: ❌; Cloudflare: ❌). - Session Details (Rybbit: ✅; GA4: ❌; Plausible: ❌; Cloudflare: ❌). - User Profiles (Rybbit: ✅; GA4: ❌; Plausible: ❌; Cloudflare: ❌). - Session Replays (Rybbit: ✅; GA4: ❌; Plausible: ❌; Cloudflare: ❌). - Funnels (Rybbit: ✅; GA4: ✅; Plausible: ✅\\; Cloudflare: ❌).

License: AGPL-3.0

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

swetrix preview

Privacy-first, open-source web analytics — with error tracking, session replays and performance monitoring built in. Swetrix is a cookieless, GDPR-compliant analytics platform — a privacy-respecting alternative to Google Analytics. No cookies, no consent banner, no cross-device tracking, all data anonymised. It's the only thing on the page and the dashboard is fast and real-time. It goes beyond pageviews: alongside traffic stats you get error tracking, performance monitoring, session replays, funnels and custom events — so you can replace several tools with one. Open source since 2021, bootstrapped, and funded entirely by our subscribers. Made in the 🇬🇧 UK, hosted on Hetzner in 🇩🇪 Germany. - Cookieless & privacy-first — GDPR-compliant by design, no cookies, anonymised data. (Data Policy) - Lightweight script — a small tracking snippet and a snappy real-time dashboard. - The metrics that matter — top pages, geolocation with map view, devices, traffic sources and UTM campaigns. - Network intelligence (Cloud) — break traffic down by ISP, organisation, usage type (residential / business / hosting / cellular) and connection type to spot bot and datacenter traffic. - Custom events & properties — track conversions, sales or any key action with your own semantics. - Sessions & user flows — understand journeys and behaviour across your site. - Funnels — visualise drop-offs and improve conversion rates. - Performance monitoring — real-user metrics (TTFB, DNS, TLS, render) to keep pages fast. - Error tracking — capture client-side errors with details and aggregated views. - Session replays (Cloud) — replay sessions to see exactly where visitors get stuck. - Sharing & teams — public or password-protected dashboards; invite teammates with roles, or manage access with organisations. - Data portability — export to CSV and access everything via the developer API. - More — alerts & notifications, feature flags, A/B experiments, revenue analytics and Ask AI (Cloud). Swetrix and Plausible are both privacy-first and open source; the main difference is scope — Swetrix bundles error tracking, performance monitoring and session replays into the same product. Your subscription directly funds maintenance and development of the open-source project.

License: AGPL-3.0

Self Hosted Alternative To Google Analytics

vince preview

- Automatic TLS native support for Let's Encrypt. - Drop in replacement for Plausible Analytics you can use existing Plausible scripts and just point them to the vince instance (note that vince is lean and only covers features for a single entity self hosting, so it is not our goal to be feature parity with Plausible). - Outbound links tracking - File download tracking - 404 page tracking - Custom event tracking - Time period comparison - Public dashboards allow access to the dashboard to anyone (by default all dashboards are private). - Unique shared access generate unique links to dashboards that can be password protected. - Zero Dependency: Ships a single binary with everything in it. No runtime dependency. - Easy to operate: One line command line flags with env variables is all you need. - Unlimited sites: There is no limit on how many sites you can manage. - Unlimited events: scale according to available resources. - Privacy friendly: No cookies and fully compliant with GDPR, CCPA and PECR. Documented features: - Entrerprise features (vince: :x:; Plausible: :white_check_mark:). - Hosted offering (vince: :x:; Plausible: :white_check_mark:). - Multi tenant (vince: :x:; Plausible: :white_check_mark:). - Funnels (vince: :x:; Plausible: :white_check_mark:). - Goals Conversion (vince: :white_check_mark:; Plausible: :white_check_mark:). - Unique visitors (vince: :white_check_mark:; Plausible: :white_check_mark:). - Total visits (vince: :white_check_mark:; Plausible: :white_check_mark:). - Page views (vince: :white_check_mark:; Plausible: :white_check_mark:). - Views per visit (vince: :white_check_mark:; Plausible: :white_check_mark:). - Visit duration (vince: :white_check_mark:; Plausible: :white_check_mark:). Plausible Analytics : vince started as a Go port of Plausible with a focus on self hosting.

License: AGPL-3.0