Notes / Analytics / Privacy
Why I Chose Matomo Over GA4—and When It May Be Better for Your Website
I run self-hosted Matomo On-Premise instead of relying on GA4. Here is the actual reasoning—ownership, reporting I can follow, and privacy configuration I control—plus an honest look at when GA4 is still the better call.
A lot of website owners install analytics and still can't answer basic questions about their own site: which pages people actually read, where visitors came from, whether anyone downloaded the file or filled out the form, what happened right before someone left.
The analytics platform isn't always the reason for that gap—sometimes it's just that nobody ever looked. But in my own work, I got tired of software that told me a report existed without helping me understand what it meant. That's the real reason I installed Matomo On-Premise on infrastructure I control, instead of defaulting to Google Analytics 4 the way most sites do.
"I did not choose Matomo because GA4 is useless. I chose it because I wanted website analytics that I could understand, configure, host and control."
That's the whole position of this article. GA4 is a capable, widely used platform, and it's still a reasonable default for a lot of organizations—I say exactly where, later on. What follows is why Matomo fits how I build and operate systems, and a fair look at when it wouldn't fit yours.
What Matomo is
Matomo is an open-source web analytics platform. It measures the same general category of things GA4 does: traffic, acquisition channels, content performance, on-site events, and conversions. Where it differs from GA4 is ownership and deployment, not the basic job of the software.
Matomo ships in two forms. Matomo Cloud is hosted by Matomo—you get the software without managing a server, similar in spirit to how GA4 is hosted by Google. Matomo On-Premise is self-hosted: you install it on a server you control, and the application and database run on your own infrastructure. I run On-Premise.
Matomo's own positioning is direct about the trade this represents: once downloaded, "you have 100% data ownership as Matomo is hosted on your own servers," and the company states it has no way to access data hosted this way. That's a real distinction from a vendor-hosted platform—it's also not automatically a compliance or security guarantee, which I get into below.
Beyond core traffic reporting, Matomo covers a fully-featured analytics API, campaign and goal tracking, ecommerce reporting, server log import for sites where JavaScript tracking isn't ideal, and an open plugin marketplace with over 100 add-ons, according to Matomo's own feature documentation. That same page currently lists dedicated tracking for AI assistants—ChatGPT, Claude, Gemini, Copilot, and Perplexity—as an acquisition channel, plus separate AI agent and AI chatbot tracking. I haven't built anything around that feature yet, so I'm noting that it exists in current documentation rather than reporting on how it performs.
Why I chose Matomo
None of the reasons below are about GA4 being broken. They're about what I personally wanted control over.
I control where my analytics data lives
With On-Premise, the database and the application run on infrastructure I manage. That means I decide the server location, the retention window, the backup schedule, and what happens to the data if I ever want to move it. Matomo highlights this as a response to a 2020 EU court ruling that complicated using US-hosted cloud services under GDPR—being able to define where analytics data physically sits is genuinely useful for anyone working on privacy-sensitive or public-interest projects.
I want to be precise about what this does and doesn't mean: owning the server doesn't automatically make an installation secure, and self-hosting doesn't automatically satisfy GDPR, CCPA, or any other legal framework. It removes a specific dependency—a third party operating the infrastructure—and shifts the responsibility for securing and maintaining that infrastructure onto me. That's a trade I wanted to make deliberately, not a compliance shortcut.
It fits my preference for open systems
Matomo is open-source. I can read how it processes data, extend it through its API and plugin system, and I'm not routing my analytics through the same company that also runs the dominant advertising network, browser, and search engine. That's a preference about architecture and independence, not a claim that open-source software has zero dependencies—Matomo still relies on its own maintainers, its plugin ecosystem, and the server stack I run it on. There's no such thing as zero lock-in; there's only a choice about which dependencies you're comfortable carrying.
The reporting model is easier for me to follow
What I actually want from analytics, most weeks, are answers to plain questions: which pages are getting visited, where the traffic came from, what path people took through the site, which downloads or internal searches or forms got used, and whether the visit led to something that mattered. I find Matomo's report layout more direct for getting to those answers quickly. That's my experience and my workflow—plenty of people find GA4's event-based model just as clear, especially if they learned analytics on it. I'm not claiming Matomo is objectively easier to use; I'm saying it matches how I think about a site.
Matomo reports without data sampling
Matomo states that every report it generates is built from the complete dataset of collected events, and provides unsampled reporting across all plans rather than reserving it for an enterprise tier. I want to be careful with the word "unsampled" here, because it gets used loosely:
"Unsampled does not mean flawless. It means Matomo is not intentionally estimating a larger result from a sampled subset of the collected analytics data."
Consent choices, ad and tracker blockers, bots, and implementation mistakes can all affect what any analytics platform actually collects—Matomo included. Unsampled reporting means the numbers it does report aren't a statistical estimate stretched from a smaller slice of events. It doesn't mean every visitor was captured or that the count is flawless.
It's also fair to GA4 to be specific about where its sampling actually applies. Standard GA4 reports are not always sampled. Sampling shows up specifically in Explorations—Google's own documentation confirms that when an exploration's query needs to process more events than a property's quota allows, GA4 falls back to a representative sample rather than the complete dataset. Standard, published properties currently hit that threshold at 10 million events in a single exploration query. For a smaller or medium site that rarely runs exploration queries at that scale, this distinction may not matter much day to day. For a high-traffic site doing deep, ad-hoc analysis, it can.
I can configure it around privacy instead of treating privacy as an afterthought
On-Premise gives me direct control over IP anonymization, cookie use, what gets excluded from URLs and custom dimensions, data retention, and whether the installation honors an opt-out. I've set those controls deliberately rather than accepting whatever a vendor's default happens to be.
I want to be equally direct about the limits of that control. Matomo is not automatically compliant with any privacy law just because it's installed—compliance depends on how it's configured, what data is actually collected, and the legal requirements of the jurisdictions your visitors are in. Matomo's own guidance lists a specific set of technical steps—disabling cookies, anonymizing IPs and referrer data, excluding personal data from tracked fields, offering an opt-out, and disclosing the tool in a privacy policy—that it says are necessary before consent-free tracking may be defensible in some jurisdictions, and even then it's jurisdiction-dependent: several EU countries, per Matomo's own consent FAQ, require prior consent for analytics regardless of how privacy-friendly the configuration is. Cookieless tracking does not universally remove consent requirements. This is not legal advice, and I'm not a lawyer—anyone making this decision for a real business should confirm current requirements for their audience, ideally with someone qualified to advise on it.
It gives me room to build
The analytics API, custom events, campaign parameters, goal tracking, and the plugin architecture mean I can extend what gets measured instead of waiting on a vendor's roadmap. That's part of the same infrastructure-first approach behind the rest of my technical capabilities—I'd rather own and understand the systems a project depends on than treat them as black boxes.
How Matomo could make your website better
I want to be careful with this section, because it's easy to overstate. Installing any analytics platform doesn't improve a website by itself—plenty of sites have GA4 or Matomo running and still don't act on what the reports show.
"Analytics does not improve a website by itself. It shows you where to investigate, test and improve."
What Matomo can give you evidence for—not proof of, evidence toward—includes navigation problems, landing pages that quietly underperform, which content actually earns attention, where a conversion path breaks down, form-completion friction, download and internal-search behavior, which campaigns and channels actually drove a result, mobile-specific issues, and accessibility-related friction that shows up as unusual drop-off patterns.
A concrete example: a service page gets a reasonable amount of traffic but almost nobody reaches the contact page from it. Matomo's reporting lets you look at where that traffic came from, what devices people are using, where they tend to exit, and what events—if any—fire before they leave. That gives you a hypothesis, not an answer: maybe the call-to-action is below the fold on mobile, maybe the page ranks for the wrong intent, maybe the traffic is fine but the path to contact is unclear. You still have to make a change and measure whether behavior actually shifts. Analytics doesn't tell you what a visitor was thinking—it tells you what they did, and that's a narrower thing.
Matomo vs. GA4 at a glance
A practical comparison, not a scorecard—the right column for your site depends on your priorities, not a universal winner.
| Area | Matomo On-Premise | GA4 |
|---|---|---|
| Hosting | Runs on infrastructure the owner controls | Hosted by Google |
| Software cost | Core software is free; hosting and administration still cost money | Standard GA4 is available without a software fee |
| Maintenance | Owner manages updates, backups, security, and report archiving | Google manages the analytics platform itself |
| Data control | Direct control over the installation and database | Managed through Google's service and its export options |
| Sampling | Reports across all plans are built from the complete dataset | Standard reports are typically unsampled; Explorations can sample once a property's event-processing limit is exceeded |
| Raw-data access | Direct database and API access when self-hosted | BigQuery export is available (daily batch capped near 1M events/day on standard properties, or continuous streaming), subject to Google Cloud setup and possible cost |
| Privacy configuration | Extensive first-party controls: IP anonymization, cookie use, data exclusion, retention, opt-out | Privacy and consent controls are available, but data processing runs inside Google's platform |
| Advertising ecosystem | Integrations exist but are less native to any single ad platform | Direct linking to Google Ads for shared conversion and audience data |
| Advanced features | Funnels, heatmaps, session recordings, and similar features are paid add-ons | Many advanced capabilities are included, within property and processing limits |
| Best fit | Owners prioritizing control, privacy configuration, and independence | Organizations centered on Google Ads, Firebase, or the broader Google data ecosystem |
Where GA4 may still be the better choice
Choosing Matomo for my own infrastructure doesn't mean pretending GA4 has no value. GA4 is a reasonable, often the better, choice when:
- Google Ads optimization is central to how the business acquires customers—linking Analytics directly to Google Ads keeps conversion and audience data in the same ecosystem the ads run in
- Firebase app analytics is already the backbone of a mobile app's measurement
- The organization already runs deep in Google's marketing and data tools, and adding a separate platform would fragment reporting rather than clarify it
- BigQuery-based analysis is already part of the data architecture, and the team is set up to work with exported event data at that layer
- Nobody on the team has the time or inclination to maintain a self-hosted analytics server
- A client or agency already has a mature GA4 setup, established dashboards, and trained staff—rebuilding that in a new platform has a real cost of its own
If any of those describe your situation, GA4 is a legitimate default, not a compromise.
The real cost of self-hosting
"Free and open source" describes the software license, not the total cost of running it. This is the section I think matters most for anyone reading this as a recommendation rather than a personal account, because it's where a lot of self-hosting pitches go quiet.
Running Matomo On-Premise means owning: hosting and server costs, core and plugin updates, security patches, database backups, database growth as traffic accumulates, monitoring and uptime, access control, and privacy configuration that has to be revisited as laws and your own site change. Matomo's own guidance is candid that this adds up to real, recurring time—it estimates a few hours a week for a typical site, covering core releases every four to six weeks, security fixes, plugin updates, web server and SSL maintenance, and database upkeep. Larger or higher-traffic deployments need more than that.
One specific piece of that maintenance is report archiving. Without a scheduled job, Matomo processes report data on demand when someone opens a report—Matomo's own documentation says this can mean a noticeably slow experience once a site passes a few hundred visits a day. Setting up cron-based archiving—running Matomo's archive command on a schedule, typically hourly—is a real, one-time configuration task, not something that happens automatically out of the box.
It's also worth being upfront that Matomo isn't entirely free to operate at every capability level. A number of features—funnels, heatmaps, session recordings, form analytics, cohorts, and several others—are paid plugins or part of a commercial plan, not part of the free On-Premise download. I'm naming that plainly because presenting Matomo as free-and-unlimited while GA4 charges for advanced usage wouldn't be an honest comparison.
Who should consider Matomo?
Matomo tends to fit well for independent businesses, nonprofits, publishers, public-interest projects, and privacy-conscious organizations that want direct control of where their analytics data lives—along with agencies managing multiple client sites and technically capable owners who are comfortable maintaining a server, or who already have someone who is.
It's probably a poor fit for someone who wants analytics with zero ongoing maintenance and has no technical support to call on. Matomo Cloud narrows that gap somewhat by removing the server-management piece while keeping the reporting model, but On-Premise specifically assumes someone is willing to own the infrastructure.
My conclusion
Matomo is my default because it matches how I build things generally: own the infrastructure where that's practical, understand what the software is actually doing, collect what's useful and not much more, verify what the reports are telling me, and keep a human decision in the loop instead of accepting a vendor's defaults. That's not a claim that Matomo is the right analytics platform for every website—it clearly isn't, for the reasons laid out above. It's the platform that matches my priorities.
If you're trying to figure out whether your current analytics setup is actually measuring anything useful—or you're weighing a move to Matomo, a privacy-conscious measurement setup, or better conversion and content tracking on an existing GA4 install—I'm glad to talk through it.
Not sure what your analytics setup is actually telling you?
I can help with a Matomo installation, a migration plan from GA4, a privacy-conscious measurement setup, or a straight audit of what your current analytics is—and isn't—measuring. Get in touch to talk through your site.
Start a conversationSources and further reading
- Matomo: On-Premise vs. Cloud
- Matomo: 100% data ownership
- Matomo: No data sampling
- Matomo: Features overview
- Matomo FAQ: Using Matomo without a consent or cookie banner
- Matomo FAQ: Do I need consent to use web analytics?
- Matomo FAQ: Time required to maintain Matomo On-Premise
- Matomo FAQ: Setting up auto-archiving of reports
- Matomo: Premium features
- Google Analytics Help: About data sampling
- Google Analytics Help: Configuration limits
- Google Analytics Help: Set up Analytics
- Google Analytics Help: Link Google Ads and Analytics
- Google Analytics Help: Set up BigQuery Export
- Google Analytics Help: Universal Analytics to GA4 feature reference