Skip to content
AgentThread
Open Source#analytics#privacy#self-hosted#web-analytics#gdpr#heatmaps#google-analytics-alternative

Matomo: Full-Featured Web Analytics With Heatmaps, Funnels, and No Data Sharing

An open-source analytics platform that goes well beyond page views, offering heatmaps, session recordings, A/B testing, and e-commerce tracking, all on your own server.

AgentThread10 min read
Share

Most web analytics tools make you choose between power and privacy. Google Analytics 4 gives you funnels, e-commerce tracking, audience segments, and detailed reports, but every visitor to your site sends data to Google's servers and becomes subject to Google's terms. Lightweight alternatives like Plausible and Umami keep your data private but strip out most of the advanced features. Matomo sits in a third position: a full-featured analytics platform that you run on your own server, where your data stays, and where the feature set is comparable to what Google Analytics offers at no cost.

FactValue
What it isFull-featured, self-hosted web analytics platform
Built byMatomo (InnoCraft Ltd.)
LicenseGPL-3.0 (free to self-host)
PlatformsLinux, Docker, Matomo Cloud (managed)
RequiresPHP and MySQL/MariaDB web server, or Docker
Install methodDownload and run installer, or Docker
VerdictUse for sites that need advanced analytics (heatmaps, funnels, e-commerce); use Plausible or Umami if you just need visit counts

What Matomo actually is

Matomo is an open-source web analytics platform built by InnoCraft Ltd. and released under the GPL-3.0 license (a copyleft open-source license that lets you run and modify the software for free, with the requirement that any distributed modifications stay open-source). It has been in active development since 2007 (originally called Piwik) and today has 21,738 stars on GitHub.

The elevator version: Matomo does what Google Analytics does, but the data never leaves your server. You embed a small JavaScript tracking snippet (a few lines of code added to your website that record visitor activity in the background) on each page. When a visitor loads a page, the snippet sends analytics data to your own Matomo installation rather than to Google. From there you analyze everything through Matomo's dashboards.

What distinguishes Matomo from lightweight trackers is the depth of the feature set. Page views and unique visitor counts are the starting point, not the end. Matomo ships heatmaps (visual overlays that show where on a page visitors click and how far they scroll, color-coded from cold to hot), session recordings (anonymized video-style replays of individual visitor sessions, with cursor movement and clicks visible), funnel analysis (tracking what percentage of visitors complete each step in a sequence, such as landing page to signup form to confirmed account), A/B testing (showing two different versions of a page to different visitor groups to measure which one produces more sign-ups or sales), and full e-commerce tracking (revenue, products sold, average order value, and cart abandonment rates).

That is a feature set that normally requires a combination of Google Analytics, Hotjar (a paid heatmap and recording tool that starts at $39 per month), and a separate A/B testing platform. Matomo bundles all of it.

One important distinction: the core tracking features are free. The advanced features (heatmaps, session recordings, A/B testing, funnel analysis, form analytics) are available as plugins. On the self-hosted version, most of these plugins are paid, ranging from $99 to $299 per year per plugin. On Matomo Cloud (the managed hosting option starting at $19 per month), those plugins are included. The self-hosted cost calculus still favors Matomo over equivalent paid tools for most teams, but it is worth knowing the plugin pricing before planning your stack.

What you get after installing it

The core analytics dashboard covers everything you would expect from a modern analytics platform:

Standard traffic metrics include page views, unique visitors, sessions, bounce rate (the percentage of visitors who leave after viewing only one page, without clicking further), time on page, pages per session, and entry and exit pages. Geographic data shows visitor countries, regions, and cities. Device, browser, and operating system breakdowns tell you whether your audience is on mobile or desktop and what browsers to prioritize when testing.

Acquisition and traffic sources are broken down in detail: direct visits, organic search traffic with the actual search keywords that brought visitors (a significant gap versus Google Analytics 4, which hides most keyword data), referral sites, social networks, and campaigns tagged with UTM parameters (short tracking codes appended to URLs that tell analytics tools which marketing campaign sent a visitor).

Real-time reporting shows a live visitor map and a current-visitors count. If you run a product launch or a time-sensitive campaign, you can watch the dashboard in real time.

GDPR compliance is a first-class feature in Matomo. GDPR (the General Data Protection Regulation, the EU privacy law governing how personal data is collected and stored) requires that websites either get visitor consent before tracking or use a privacy-preserving configuration that does not collect personal data. Matomo supports both paths. It can anonymize IP addresses (cutting the last octet so no individual can be traced), respect the Do Not Track browser header, and operate in a cookieless mode that collects aggregate statistics without setting any browser cookies. In that configuration, Matomo can be deployed without a cookie consent banner in some EU markets. There is also a built-in data deletion tool that can remove all tracking records for a specific visitor if they submit a data erasure request under GDPR.

The plugin-based advanced features are where Matomo separates from simpler analytics tools:

Heatmaps show visual overlays on your actual web pages, highlighting which areas get the most clicks and how far visitors scroll. You can filter by device type to see whether mobile and desktop visitors interact differently with the same page.

Session recordings let you watch anonymized replays of real visitor sessions. Matomo masks form fields automatically to avoid capturing passwords or sensitive inputs. You can filter recordings by behavior (for example, sessions where a visitor visited the pricing page and then left without converting) to understand what is blocking purchases or sign-ups.

Funnel analysis lets you define a sequence of pages or events and then measure the drop-off rate at each step. If your sign-up flow has five steps and 60% of visitors abandon at step three, the funnel report shows you that directly.

A/B testing (sometimes called split testing) creates two variants of a page, routes different visitor segments to each, and reports which version produces more of whatever outcome you define (a click, a form submission, a purchase). This is the same capability offered by standalone tools like Optimizely or VWO, both of which charge hundreds of dollars per month.

Form analytics instruments your HTML forms and shows you which fields cause visitors to stop filling out the form, which fields get corrected most often, and how long users spend on each field. This is particularly useful for long sign-up or checkout forms.

E-commerce tracking records orders, revenue, products sold, and cart abandonment. If you run an online store and want to know which marketing campaign drove the most actual revenue (not just visits), this is the reporting layer that connects those dots.

The install experience

There are two practical installation paths: a traditional server install, and a Docker-based install.

The traditional path requires a web server running PHP (a server-side programming language used by most shared hosting environments) and a MySQL or MariaDB database (MySQL and MariaDB are open-source database systems that store all your analytics data). This setup is standard on shared hosting accounts (services like Bluehost, SiteGround, or any host with a cPanel control panel) and on any Linux VPS (a virtual private server, a rented slice of a remote computer you control) running Apache or Nginx (two web server programs that handle HTTP requests). The install process is: download the Matomo zip file from matomo.org, upload it to your web server's public folder, open the install URL in a browser, and follow the five-step wizard. The wizard checks your environment, creates the database tables, and adds your first website. The process takes about 15 minutes on a server that is already configured.

The Docker path suits teams comfortable with container-based deployments. Matomo maintains an official Docker Compose file (a configuration file that spins up Matomo and a MySQL database together as linked containers, where Docker is software that packages apps so they run identically on any server). If you have Docker installed, bring the Compose file up and Matomo starts at the port you configure.

The tracking snippet goes on every page you want to monitor. Matomo generates it automatically during setup. For the most common website platforms (WordPress, Squarespace, Webflow, Shopify) there are official or community Matomo plugins that insert the snippet without requiring you to edit code.

One honest note on complexity: Matomo's interface is dense. The reporting is deep, the segmentation options are many, and the configuration decisions reward some analytics experience. If you are migrating from Google Analytics, the mental model transfers cleanly. If this is your first analytics tool, budget extra time to learn the interface before relying on the data.

Where it fits and what to compare it to

The useful comparisons are Google Analytics 4, Plausible, Umami, and Hotjar.

Google Analytics 4 is free, extremely powerful, and deeply integrated with the rest of the Google advertising ecosystem. The fundamental objection is data sharing: every visitor to your site becomes a data point in Google's advertising graph. For teams with European visitors, GDPR compliance with Google Analytics 4 is a recurring legal question. For teams that have internal policies against sharing visitor data with third parties, GA4 is not an option. Matomo gives you equivalent reporting without that tradeoff.

Plausible (reviewed separately on this site) is a privacy-first analytics tool that collects aggregate data only, requires no cookie consent banner, and is extremely lightweight. It covers traffic volume, referrers, and top pages, but it does not do heatmaps, recordings, funnel analysis, or e-commerce tracking. If those advanced features are not on your list, Plausible is a simpler and cheaper path. If they are, Matomo is the right tool and Plausible is not a substitute.

Umami is another lightweight, self-hosted analytics tool with a clean interface and a smaller feature footprint than Matomo. Similar to Plausible in scope. Choose Umami if you want visit counts and referrer data on your own server with minimal configuration; choose Matomo if you need the analytics depth.

Hotjar (hotjar.com) charges $39 per month for heatmaps and session recordings alone, without any traffic analytics. Matomo includes both capabilities as plugins (paid, but priced per year rather than per month and substantially cheaper at scale) plus the full traffic analytics layer. For a team that is paying Hotjar for behavioral data and a separate analytics tool for traffic data, consolidating to Matomo is a straightforward cost reduction.

Adobe Analytics is the enterprise tier above all of these: extremely powerful, deeply customizable, and priced accordingly (five-figure annual contracts). Not a realistic comparison for most teams reading this.

The positioning is clear: Matomo is for teams that need the full analytics stack (traffic, behavior, experiments, e-commerce) and either cannot or will not send that data to Google. For teams that just need visit counts with no advanced features, the lighter tools are better choices.

Verdict

Install Matomo if your site needs advanced analytics beyond visit counts: heatmaps, session recordings, funnel analysis, A/B testing, or e-commerce revenue tracking. The self-hosted GPL-3.0 version means no monthly subscription for the core platform, your visitor data stays on infrastructure you control, and GDPR compliance is built in rather than bolted on.

Hold off if your site is a simple content site where knowing which pages get the most traffic is sufficient. In that case, Plausible or Umami gives you what you need with far less setup. Matomo is a full analytics suite, and a full analytics suite only earns its operational overhead if you are going to use the advanced features.

One practical note on plugin cost: the advanced features that distinguish Matomo from lighter tools are paid add-ons on the self-hosted version, running a few hundred dollars per year for a full set. That is still less than Hotjar ($39 per month for behavioral data only) plus a separate analytics tool, but it is not zero. Matomo Cloud at $19 per month includes those plugins and removes the infrastructure work, which is often the cleaner trade for teams without a server administrator.

For any site running active marketing campaigns or selling anything, the case is direct: Matomo is the only open-source tool that shows you what visitors do, where they drop off, and which page variants convert better, without sending that data to an advertising platform.

Related posts