explaingit

matomo-org/matomo

Analysis updated 2026-06-21

21,475PHPAudience · pm founderComplexity · 3/5LicenseSetup · moderate

TLDR

Self-hosted open-source web analytics platform, like Google Analytics but installed on your own server, so visitor data never leaves your control.

Mindmap

mindmap
  root((Matomo))
    What it does
      Web analytics
      Self-hosted
      GDPR-friendly
    Features
      Page view tracking
      E-commerce tracking
      Goals and funnels
      Email reports
    Tech
      PHP backend
      MySQL database
      JavaScript snippet
    Audience
      Website owners
      Marketing teams
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Track page views and visitor sessions on your website without sending any data to Google or third parties.

USE CASE 2

Monitor e-commerce purchases and conversion goals from a self-hosted analytics dashboard.

USE CASE 3

Segment your audience by country, device, or campaign source to understand where visitors come from.

USE CASE 4

Generate scheduled email reports on website traffic for your team or clients.

What is it built with?

PHPMySQLMariaDBJavaScript

How does it compare?

matomo-org/matomoseldaek/monologwordpress/wordpress
Stars21,47521,39621,093
LanguagePHPPHPPHP
Setup difficultymoderateeasymoderate
Complexity3/52/53/5
Audiencepm founderdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a PHP-capable web host and a MySQL or MariaDB database before you can run the installer.

Free to use and modify, but any changes you distribute must also be released under the same GPL v3 open-source terms.

In plain English

Matomo (formerly called Piwik) is an open-source web analytics platform, a tool that tracks visitor activity on your website and presents it in charts and reports, much like Google Analytics does. The key difference is that you install Matomo on your own server, which means all visitor data stays in your own database and never goes to a third-party company. The setup process is designed to be quick: download and upload the software to your web host, run a brief browser-based installer, and then copy a small snippet of JavaScript code onto each page you want to track. After that, Matomo collects data in real time and displays it in a customizable dashboard where you can drag and rearrange widgets to suit your needs. Beyond basic page view counts, Matomo supports more advanced features such as tracking e-commerce transactions (when someone completes a purchase), setting goals (measuring conversions like newsletter sign-ups), campaign tracking, custom visitor segments (filtering your audience by specific criteria), geolocation (where in the world visitors come from), and email reports delivered on a schedule. The platform is built with a plugin architecture, so you can add or remove features as needed, and the analytics data is accessible via a programming interface (API) if you want to pull it into other systems. Matomo is written in PHP and requires MySQL or MariaDB as its database. A cloud-hosted version is also available if you prefer not to manage your own server. The software is released under the GPL v3 open-source license.

Copy-paste prompts

Prompt 1
Walk me through installing Matomo on a shared PHP web host with MySQL and adding the tracking JavaScript snippet to a WordPress site.
Prompt 2
How do I set up a Goal in Matomo to track newsletter sign-ups and measure the conversion rate over time?
Prompt 3
Show me how to use the Matomo API to pull last week's page view counts into a Google Sheet using a simple script.
Prompt 4
Set up Matomo e-commerce tracking so I can see which products are generating the most revenue and which checkout steps lose the most visitors.
Prompt 5
How do I create a custom visitor segment in Matomo that shows only users who came from a specific country and visited more than two pages?

Frequently asked questions

What is matomo?

Self-hosted open-source web analytics platform, like Google Analytics but installed on your own server, so visitor data never leaves your control.

What language is matomo written in?

Mainly PHP. The stack also includes PHP, MySQL, MariaDB.

What license does matomo use?

Free to use and modify, but any changes you distribute must also be released under the same GPL v3 open-source terms.

How hard is matomo to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is matomo for?

Mainly pm founder.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub matomo-org on gitmyhub

Verify against the repo before relying on details.