For a plain traffic dashboard to replace Google Analytics, a lightweight cookie-free web analytics tool is the pick; for funnels, session replay and feature tests you'll want an open-source product analytics suite instead. Run it on the vendor's managed cloud unless you've got a server and someone to patch it, and treat the open code as your exit route.
The bottom line on open-source analytics
Two quite different kinds of software share this label. A traffic dashboard tells you how many people came, where they came from and what they read. A product analytics suite follows signed-in users through an app: where they drop out of a sign-up flow, what a session looked like on screen, whether a new feature changed anything. They collect very different amounts of data, they cost very different amounts of effort, and picking the wrong camp is the expensive error here, far more than picking the wrong vendor inside a camp.
So here's where I'd land. A blog, shop, agency site or brochure site should start with a cookie-free dashboard on the vendor's own cloud and stop there. A software team with an engineer who can spare a few hours a month should run a product suite, and look at hosting it themselves once event volume makes the cloud plan sting. A team that mostly wants to watch sessions to reproduce bugs should consider a dedicated replay tool rather than a whole suite. And whichever you choose, the point of open source here isn't a free licence. It's that you can read the tracking code, and you can leave with your data and keep the same tool on your own server.
Open-source analytics tools to shortlist
Plausible Analytics
A lightweight, privacy-friendly traffic dashboard on a single screen, run in its EU cloud or on your own server, with public code you can audit.
Umami
For sites wanting cookie-free web and product analytics without much setup, either on its hosted cloud or as a copy you host yourself.
Matomo
The full-featured Google Analytics stand-in of the group, built around owning your data and offered as a managed cloud or free on your own server.
PostHog
Product teams get analytics, session replay, feature flags, experiments and surveys in one suite, with its source code on GitHub.
Rybbit
Cookieless analytics that goes past pageviews into funnels and session replay, with an EU-hosted cloud for anyone who'd rather not run servers.
OpenPanel
Pitched as the open-source answer to Mixpanel, covering web analytics, product analytics and AI observability, in an EU cloud or on your servers.
OpenReplay
Developers chasing hard-to-reproduce bugs will like this self-hostable session replay and cobrowsing tool, which layers product analytics on top.
Pirsch
Server-side, no-cookie analytics written in Go, with its code public on GitHub and a paid hosted service sold alongside.
Litlyx
A newer project with an AI-powered dashboard, an Apache licence on its GitHub repository, a European cloud and the option to run it all yourself.
Traffic dashboard or product suite
A dashboard is a small script on every page and one screen of numbers: visitors, pageviews, referrers, countries, devices, campaign tags and a handful of goals such as a newsletter sign-up or a checkout. Anyone in the business can read it without training, and it doesn't need a plan before you install it. That's its whole appeal.
A product suite works on events and identities. You decide which actions matter (created a project, invited a teammate, upgraded), name them, send them from your code, and tie them to a user once that person logs in. In return you get funnels, retention curves, cohorts and, in the bigger suites, recordings of real sessions and switches for testing features on a slice of users. The cost is discipline: if nobody writes the event plan before shipping, you'll end up with three names for the same click and a chart nobody trusts.
The line between the two camps has blurred. Cookie-free tools on this list now describe themselves as web and product analytics, and a few add funnels and replay. Read that as a useful middle ground for a small product, not a replacement for a full suite once you need cohorts and experiments. If product analytics is the real need and open source is a nice-to-have, my wider guide to product analytics tools covers the closed-source options too.
Want AI doing the heavy lifting in your marketing?
I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.
Self-hosting against the managed cloud
Open source doesn't mean free to run. The licence costs nothing; the server, the database, the backups, the upgrades and the person who gets paged when the collector falls over all cost something. A traffic dashboard runs happily on a small virtual server. A product suite with session replay stores far more, and that storage grows with every recorded visit, so plan disk space and retention before you switch replay on.
There's also a security angle people skip. A self-hosted analytics server is a public endpoint that accepts data from every visitor's browser. If nobody on the team will apply updates within a week of a release, pay for the cloud version and sleep better.
The managed cloud is the vendor running that same code for you on a monthly plan, and EU hosting is on offer among these tools, which helps if your legal team cares where visitor data sits. The open code still matters on the cloud: you can audit what the tracker sends, and you can move to your own server later without retraining anyone. Check the licence before you modify anything. Some projects use a copyleft licence that expects you to publish your changes if you run a modified version as a network service; others use a permissive licence that doesn't. That only bites if you're planning to fork the tracker into a product you sell, but it's worth five minutes with the licence file first.
Cookies, consent and how much you track
Cookie-free tools avoid storing an identifier in the visitor's browser, and some vendors say that means you won't need a consent banner for their analytics. Whether that holds for your site depends on the law where your visitors live and on everything else your pages load. Dropping cookies from analytics won't remove the banner if your chat widget, video embeds and ad pixels still set their own.
Product suites usually identify people by account so they can follow a journey across devices and weeks. That's the point of them, and it means updating your privacy notice and, in many places, asking for consent. Decide which question you need answered before deciding how much to collect. If the question is which blog posts bring in sign-ups, a dashboard with one goal answers it, and you don't need to record anyone's screen.
What drives the bill
Hosted plans scale with traffic. Dashboards usually meter monthly pageviews or events; product suites meter events and often count replays or flag requests separately, so read how each product line is measured. Some tools start with a free tier, others with a free trial, and some headline rates assume you'll pay for the year up front. In broad terms the hosted plans run from nothing on a hobby tier, through a few dollars a month for a small site, up to the low hundreds a month for busy business plans. Exact figures sit on each vendor's pricing page and they move, so price the tier at the traffic you'll have in a year, not the traffic you have at launch.
Self-hosting swaps the subscription for a server bill, storage that grows with retention, and your team's time for installs, upgrades and the occasional rescue. For a small dashboard that's cheap. For a replay-heavy suite at scale it can cost more than the cloud plan you were trying to avoid, so do that sum honestly.
Do you make open-source analytics tools? Tool makers can ask to be considered for a featured place on this list.
An hour-long trial before you commit
Pick two tools from the same camp and add both scripts to one real page, or to a staging copy that gets some traffic. Then visit that page from a phone on mobile data, from a desktop with a popular ad blocker switched on, and from a private window. Note which visits appear, how quickly, and whether the ad blocker hid you from either tool. If the script gets blocked, check whether the tool documents a way to serve it from your own domain.
Next, set up one goal you care about, such as a contact form submission, and trigger it twice. Export the last day's data to a CSV or pull it through the API, because you'll want to know the way out before you're locked in. If you're self-hosting, time the install from a fresh server to the first recorded pageview. Under an hour is a decent sign that upgrades won't eat your weekends; a full afternoon of fighting containers tells you the cloud plan is the cheaper option.
Where Google Analytics switches go sideways
The first trap teams fall into is comparing the new numbers with Google's and assuming one of them is broken. Cookie-free tools count unique visitors differently, ad blockers affect each script differently, and bot filtering varies, so the totals won't match. Run both side by side for a few weeks, learn the size and direction of the gap, then stop comparing.
Next, people forget the history. Export the reports you'll want for year-on-year comparisons before you switch the old account off, and carry your campaign tagging habits across, or your referral data falls apart overnight. Teams also turn on session replay everywhere without checking what's masked, then find recordings of people typing into forms. Set masking on input fields before you go live, not after. If your site runs on WordPress and you're staying with Google for now, a Google Analytics plugin for WordPress is the lighter route. And if what you're after is a single report across sales, ad spend and site data, that's a reporting job rather than an analytics one, and open-source BI tools fit it better.
Want your tool on this list? Featured spots and reviews here are paid partnerships. Here's how to partner with me.


