Open source website analytics tools are web analytics tools whose source code is published under an open source license, so anyone can read it, run it on their own server, and change it within the license terms.

Share post

Open Source Website Analytics: Tools, Licenses and the Cost of Self-Hosting

open-source-website-analytics

That gives you more control over how you collect and manage your website data. And if running your own server sounds like a headache, most open source analytics tools also offer paid cloud versions where the vendor handles the hosting.

This guide compares 12 open source site analytics tools, covering their licenses, cloud prices, self-hosting requirements, and whether they use cookies by default. We'll also look at the running costs and what you miss out on with free editions, so you can choose the right open source analytics tool for your website.

Tools checked on November 24, 2026.

Open source web analytics tools compared

Open source web analytics tools come in different flavors. We've grouped them into dedicated website analytics tools with paid cloud options, tools that also cover product analytics, and tools with no paid plan. The table below will help you choose an open source analytics platform. For more on how web analytics works, see our guide.

Tool

License

Paid cloud from (at time of writing)

Self-hosting

Cookies by default

Suits

Matomo

GPL-3.0

€22/month, excl. tax

Yes

Yes

Full web reporting

Plausible

AGPL-3.0

$9/month

Yes

No

Simple traffic reports

Umami

MIT

Free tier; paid from $20/month

Yes

No

Small teams

Swetrix

AGPL-3.0

$19/month

Yes

No

Traffic and performance

Rybbit

AGPL-3.0

$13/month, billed annually

Yes

No

Funnels and journeys

PostHog

MIT, with separate enterprise license

1M events free/month; usage-based thereafter

Officially unsupported

Yes

Web and product data

OpenPanel

AGPL-3.0

$2.50/month

Yes

No

Web and product analytics

Countly

Modified AGPL-3.0

$175/month

Lite edition

Local storage; cookies as fallback

Web and mobile analytics

GoatCounter

Modified EUPL-1.2

No paid plan; free hosted service

Yes

No

Basic page counts

Open Web Analytics

GPL-2.0

None listed

Yes

Yes

PHP and WordPress sites

Ackee

MIT

None

Yes

No

Minimal reporting

AWStats

GPL v3 or later

None

Yes

No page script

Server log analysis

Prices and plans are taken from each vendor's own pricing page, checked November 24, 2026. If open source isn't a dealbreaker, our guide to website analytics tools covers the wider choice.

Open source is not the same as free

Open source describes the software license, while self-hosted describes where the software runs. Most of the tools we've covered offer a free edition you can install on your own server, alongside a paid cloud version managed by the vendor. Some vendors also reserve certain features for paying customers, as we'll cover in 'What the free editions leave out'.

But free open source analytics software can still cost money to run. You'll need to pay for hosting and handle maintenance yourself. The license determines how you can use and share open source web analytics software. Here's how the licenses used by these tools work.

  • MIT lets you use, change, and share the code as long as you keep the copyright notice. It applies to Umami, Ackee and PostHog outside its 'ee' directory.

  • GPL requires you to share the source code under the same license if you distribute a modified version. Matomo, Open Web Analytics and AWStats use versions of GPL.

  • AGPL-3.0 extends that requirement to modified software that other people access over a network. Plausible, OpenPanel, Swetrix, Rybbit and Countly Lite use this license.

  • EUPL-1.2 is a copyleft license published by the European Commission. GoatCounter uses a slightly modified version, so check its license file for the differences.

If you plan to change the code or host software for clients, ask your legal team to review the license. And if price is your main concern, see our free website analytics tools.

Open source web analytics with a paid cloud option

If you want open source web analytics in the cloud, you can pay the vendor to handle hosting and updates, or run a free edition on your own server. The right option depends on your technical resources and the features you need.

Matomo

Matomo offers a full set of web analytics reports similar to Google Analytics. It uses the GPL-3.0 license. At the time of writing (November 24, 2026), Matomo Cloud Business starts at €22 a month (excluding tax) for 50,000 hits. Cloud data is hosted in Frankfurt, Germany. For self-hosting, you'll need a server running PHP with a MySQL or MariaDB database. Matomo says it "uses cookies to store some information about visitors" by default. You can disable them using the disableCookies setting, although consent requirements depend on your setup. The free On-Premise edition has unlimited users and hits, with additional features available through paid plugins.

Suits: Teams that want detailed website reports, either on their own server or through Matomo Cloud.

 Plausible

Plausible describes itself as a lightweight website analytics tool. Its Community Edition uses the AGPL-3.0 license. At the time of writing (November 24, 2026), Plausible Starter costs $9 a month for one website and up to 10,000 monthly pageviews. There's no free cloud plan, but you can try it for 30 days without a credit card. Cloud hosting is based in the EU. The Community Edition is free to self-host using Docker Compose. You'll need your own server, and updates arrive twice a year, with community support only. Cookie-wise, Plausible says it uses "no cookies, no persistent identifiers". Its single-page dashboard lets you see your website traffic without having to build reports.

Suits: Teams that want straightforward traffic reporting without cookies, either in the cloud or on their own server.

Umami

Umami offers straightforward website analytics with free cloud and self-hosted options. It uses the MIT license. At the time of writing (November 24, 2026), Umami's Hobby cloud plan is free, covering one website and up to 100,000 events a month, with six months of data retention. Pro starts at $20 a month for one million events and two years of retention. Self-hosting is free. You'll need a server with Node.js and a PostgreSQL database, although you can also install it using Docker. Umami states that it "does not use cookies". A standout is its free cloud plan, which lets you start tracking without managing a server. Paid cloud plans also offer email reports and a streaming API.

Suits: Small teams that want to start with free cloud hosting and keep the option of running their own installation.

Swetrix

Swetrix combines website traffic analytics with page performance and error monitoring. Its Community Edition uses the AGPL-3.0 license. At the time of writing (November 24, 2026), Swetrix Standard starts at $19 a month for 100,000 monthly events. There's no free cloud plan, but you can try it for 14 days with a payment method. The Community Edition is free to self-host, and you'll need a server running Docker Compose, with ClickHouse and Redis. Swetrix says, "We do not use cookies for tracking." Its performance monitoring helps you identify slow-loading pages, while error tracking shows where visitors encounter problems.

Suits: Teams that want website traffic, page speed and error data in one tool.

Rybbit

Rybbit is a newer open source website analytics tool that helps you understand how visitors use your site. It uses the AGPL-3.0 license. At the time of writing (November 24, 2026), Rybbit Standard starts at $13 a month, billed annually, for 100,000 monthly pageviews. This covers up to five websites and three team members, with a seven-day free trial. You can self-host Rybbit using its GitHub repository. You'll need a server with at least 2GB of RAM, a domain with HTTPS, and Docker. Rybbit says "no cookies required". Its standout features include funnels and user journeys to help you see how visitors move through your site. You can also monitor web vitals and errors.

Suits: Teams that want detailed visitor journeys without cookies and are comfortable using a newer tool.

Open source tools for web and product analytics

The following tools track website traffic alongside activity inside software products and apps. That means you can see how people reach your website and what they do after signing in. We'll focus on their website analytics capabilities here, including the cloud pricing and what it takes to run each tool yourself.

PostHog

PostHog combines product analytics with a website analytics dashboard. Most of its code uses the MIT license, while the 'ee' directory has a separate enterprise license. At the time of writing (November 24, 2026), PostHog offers one million events a month free, with one project and one year of data retention. Beyond that, it charges based on usage. Cloud hosting is available in the US and EU. You can self-host using Docker Compose, although PostHog describes this as "officially unsupported". PostHog stores data in a first-party cookie by default, but its cookieless_mode setting lets you switch to cookieless tracking. Its session replay feature lets you watch recordings of how visitors interact with your website.

Suits: Teams that want website reporting and product analytics together.

OpenPanel

OpenPanel combines web and product analytics, including funnels and retention reports. It uses the AGPL-3.0 license. At the time of writing (November 24, 2026), OpenPanel Cloud starts at $2.50 a month for 5,000 events, with a 30-day free trial. Self-hosting is free with unlimited events. You'll need your own server with Docker Compose. OpenPanel describes its tracking as "cookieless". The $2.50 monthly starting plan gives smaller websites access to web and product analytics, including funnels and retention reporting.

Suits: Small teams that want website traffic reports alongside product analytics.

Countly

Countly provides analytics for websites, mobile apps and desktop software. Its free Countly Lite edition uses a modified AGPL-3.0 license that requires users to keep Countly's branding. At the time of writing (November 24, 2026), Countly Flex starts at $175 a month for managed private cloud hosting and includes a 14-day free trial. Enterprise offers self-hosting with custom annual pricing. Countly Lite is free to self-host on a Linux server, with Docker installation available. The company says its web tracking uses local storage by default, falling back to cookies when local storage is unavailable. Its SDKs support tracking across websites and mobile or desktop applications.

Suits: Teams that need website and application analytics in one tool.

Open source tools with no paid plan

The open source analytics tools in this section have no paid plans, so you can use them without buying a license. You'll need to run most of them on your own server, although GoatCounter also offers a free hosted service.

GoatCounter

GoatCounter is a small web analytics tool for tracking basic website traffic. It uses a slightly modified EUPL-1.2 license. At the time of writing (November 24, 2026), its hosted service is free for reasonable public usage, with no paid plan. You can also install it on your own server. GoatCounter says it counts visits "without cookies or persistently storing any personal data". Its tracking script is around 3.5KB, and it can also collect statistics from server logs or backend middleware.

Suits: Personal websites, documentation sites and small projects that need basic traffic counts.

Open Web Analytics

Open Web Analytics is an older web analytics framework built in PHP. It uses the GPL-2.0 license. At the time of writing (November 24, 2026), the official website offers a free download, with no paid cloud plan listed. You'll need to install it on your own PHP server. Open Web Analytics sets first-party cookies by default, including the 'owa_v' visitor ID cookie, which lasts 364 days. You can change these to session cookies using the cookiePersistence setting. No cookieless modes are documented. For WordPress website analytics, it offers a plugin. It also supports website heatmap analytics and 'Domstream' session recordings.

Suits: Teams using PHP or WordPress who want heatmaps and session recordings on their own server.

Ackee

Ackee is a minimal, self-hosted website analytics tool built on Node.js. It uses the MIT license. At the time of writing (November 24, 2026), Ackee is free to use, with no paid cloud service. You'll need your own server, Node.js, and a MongoDB database. The company describes its tracking as "cookie-free" and doesn't track unique users. Its GraphQL API lets developers pull website statistics into their own tools or build custom reports.

Suits: Developers who want a minimal analytics dashboard and access to their data through an API.

AWStats

AWStats analyzes website traffic using server log files. It uses the GPL v3 or later license. At the time of writing (November 24, 2026), AWStats is free to use, including for web hosting providers. You'll need access to your server logs and the ability to run Perl scripts. AWStats reads existing server logs, so there's no tracking script to add to your website. Version 8.0 was released on August 26, 2025. The author described it as his final release, leaving future maintenance to the community.

Suits: Teams with access to their server logs who want website traffic reports without adding a tracking script.

Self-hosted analytics: what it takes and what it costs

Self-hosted analytics runs on a server you control, and the data stays there. The software license is free, but you'll still pay for hosting and take responsibility for keeping everything running.

What you need to run it

First, you'll need a server you can manage and a database that works with your chosen tool. Give the installation its own domain or subdomain, secured with HTTPS. Then install the software from its code repository, often using a container to make setup easier. For tools that collect visits through a tracking script, add that script to your website and check that the reports start receiving data. You'll also need to configure which websites you're tracking and who can access the reports.

Once it's running, someone will need to install updates and security patches, back up the data, and investigate any problems. That ongoing work needs to be part of your decision, as the workload varies between self-hosted web analytics tools. Matomo On-Premise allows unlimited users and hits. Plausible releases its Community Edition twice a year, with community support only. PostHog describes self-hosting as "officially unsupported" and recommends it for installations handling fewer than around 300,000 events a month. Before choosing self-hosted website analytics, make sure someone on your team has the technical skills and enough time to maintain it.

What it costs

The software might be free, but running it still costs money. You'll need to pay for your server and storage, with more capacity required as your website traffic grows. Backups also cost money, and someone needs to spend time installing the software, keeping it updated, and fixing problems as they arise. Support is another consideration. Some free editions offer community support only, so your team may need to solve technical issues itself.

Then there are paid extras. At the time of writing (November 24, 2026), Matomo offers On-Premise plugin bundles starting at €275 a month. To work out the total cost of self-hosted analytics software, add up your hosting costs and the staff hours needed to manage it. Your final bill will depend on traffic volumes and who does the work. Compare that figure with the paid cloud starting prices in our table above, which include hosting and updates. Agencies running multiple client websites on one shared installation will have one server to maintain, including updates and outages. Check the tool's documentation to confirm it supports multiple sites.

What the free editions leave out

Some free self-hosted analytics tools have fewer features than their paid versions, while others offer different levels of support and hosting. Here's what the vendors' own documentation says, checked November 24, 2026.

Tool

Free self-hosted edition

What the paid version adds

Plausible

Community Edition, released twice a year with community support only

Funnels, user journeys, ecommerce revenue goals, single sign-on and the sites API

Matomo

On-Premise, with unlimited users and hits

Premium plugins, including funnels and heatmaps, with bundles starting at €275 a month

PostHog

Self-hosted edition, officially unsupported

Vendor-managed cloud hosting; code in the 'ee' directory has a separate enterprise license

Umami

Free self-hosted edition

Cloud plans include email reports and a streaming API

Countly

Countly Lite, free to self-host

Flex offers managed private cloud hosting with advanced analytics included. Enterprise offers paid self-hosting with custom pricing and all capabilities included.

Check each vendor's current feature comparison before choosing an edition, as the differences between free and paid versions can change.

Open source alternatives to Google Analytics

There is no open source edition of Google Analytics 4. Its code is proprietary. If you're looking for an open source alternative to Google Analytics, Matomo and Open Web Analytics offer a full set of reports, including traffic sources and visitor activity. Other open source Google Analytics alternatives, including Plausible, Umami and GoatCounter, take a lighter approach with simpler dashboards focused on key website statistics. You can also run a self-hosted alternative to Google Analytics alongside GA4. Many teams do exactly that. Set up your chosen tool alongside GA4 and check that both are collecting data correctly.

Just don't expect the numbers to match. Different tools count visits and users differently, especially when one uses cookies and another doesn't. Tracking settings can also affect the results, so make sure you understand what each tool measures before comparing reports. If you're happy with GA4 and want help getting started, our guide explains how to monitor website traffic.

How to choose

Start with who will run the software. Self-hosted analytics tools need someone to install updates, as well as manage backups and security. If your team doesn't have the skills or time, start with a vendor's cloud service. Choose a tool with a self-hosted edition if you want the option to move to your own server later.

Next, decide how much reporting you need. Matomo and Open Web Analytics offer detailed website reports. Plausible, Umami, and GoatCounter give you a simpler dashboard for tracking traffic. PostHog, OpenPanel and Countly also let you see what customers do inside your software or app. Pick the approach that matches what you want to measure.

Check how each tool collects data. Matomo, PostHog and Open Web Analytics set cookies by default, although some offer settings to change that behavior. And remember, avoiding cookies doesn't automatically settle your consent obligations. The data you collect and how you use it still matter. Our guide to cookieless website analytics explains why.

Your software license matters too, particularly if you plan to change the code or host analytics for clients. The earlier section, 'Open source is not the same as free', explains the different licenses. Ask your legal team to check the terms that apply to your setup before committing.

Finally, consider the cost. Compare the vendor's cloud price with the cost of your server, storage and ongoing maintenance. If you're an agency, calculate the cost per client website and decide who will handle updates and outages. Then narrow your list to two tools and try them on a test site. If you're considering proprietary software too, our guide to Google Analytics alternatives covers more options.

What open source analytics does not show

Open source analytics tools help you see how many visits your website receives, which pages people view, where traffic comes from, and which actions visitors complete. As we covered in 'How to choose', tools that don't use cookies may also have less information about visitors who return on another day.

For B2B teams, traffic numbers leave an important question open: which companies are showing interest in your business? Most of the tools above don't answer it on their own. At the time of writing (November 26, 2026), Matomo can show company names through a third-party plugin that needs a separate account with its maker. It looks up visitors' IP addresses, so it only names visits from company networks. PostHog can group activity by company, but only for signed-in users whose company you send it yourself, and group analytics is a paid add-on.

If you want to identify visiting companies, Leadfeeder's Web Visitors shows the companies it identifies by name and works alongside your chosen analytics tool.

Frequently asked questions

Is there an open source version of Google Analytics?

No. Google Analytics 4 is proprietary, and its source code isn't publicly available under an open source license. Matomo and Open Web Analytics are open source alternatives that offer a similar range of website reports, including traffic sources and visitor activity. You can also run either tool on your own server.

Is self-hosted analytics free?

The software license can be free, but running it still costs money. You'll need to pay for server hosting and storage, plus the staff time required for updates and maintenance. Some tools also charge for optional extras. See 'What it costs' above for more detail.

What is the difference between open source and self-hosted analytics?

Open source describes the software license and what you're allowed to do with the code. Self-hosted describes where the software runs. You can run open source software on your own server or pay the vendor to host it in the cloud, with the vendor handling maintenance.

Can I run an open source analytics tool alongside GA4?

Yes. You can add your chosen tool's tracking script alongside GA4's, where the tool requires one. Configure both correctly and check the consent requirements for each script. Expect differences in the numbers, as the tools may count visits and users differently.

Can an agency host an open source analytics tool for its clients?

Yes, but check the license first. Under AGPL-3.0, if you modify the software and let clients access it over a network, you must make the modified source code available to them. Countly Lite also requires its branding to remain in place. Ask your legal team to review the terms. This article is for informational purposes only and does not constitute legal advice. For guidance specific to your organization, consult a qualified legal professional.

Choose one or two tools from the comparison table that fit your hosting requirements, and test them on a separate site or alongside your current analytics for a month before committing.

Generate quality leads from website traffic

Hana-profile-pic

Head of Web & Creative @ Leadfeeder

Hana Banacka leads Web & Creative at Leadfeeder, where she focuses on improving website performance and optimizing the digital buyer journey. With more than 10 years of experience in B2B SaaS marketing, she specializes in conversion optimization, experimentation frameworks, and data-driven website strategy.

Hana has led global CRO programs, managed cross-functional web teams, and implemented testing strategies that significantly improve funnel performance. Her experience optimizing complex B2B websites informs her perspective on how companies can reduce friction in the buying journey and turn website visitors into qualified leads

Related articles