Skip to content

Blog

Digitalisation4 min read

Matomo Instead of Google Analytics: What It Does and When It Needs Consent

Matomo keeps visitor data on your own server. In Germany that still does not automatically remove the need for a consent banner, except with log analytics. Versions, costs and setup at a glance.

  • #digitalisierung
  • #web
  • #datenschutz
  • #organisation
Updated

AI-assisted · editorially reviewed Details

Text size
Also asMarkdownJSON

Matomo is known as the privacy-friendly alternative to Google Analytics, and on one important point that is true: if you run Matomo on your own server, you pass visitor data to nobody. One point is easy to get wrong, though. In Germany, Matomo does not automatically let you do without a consent banner, and Matomo says so itself.

What Matomo is

Matomo is an open-source web analytics program that was called Piwik until 2018. It shows what you would expect from an analytics tool: visits, pages viewed, where visitors came from, search terms, and goals such as a submitted contact form.

There are two versions:

  • On-Premise: You install Matomo yourself on a web server with PHP and MySQL or MariaDB. The software is free. In return, someone has to install updates and look after the server.
  • Matomo Cloud: Matomo runs the installation, and according to the provider the data is stored in Frankfurt. In mid-2026 the entry plan cost around €29 a month for up to 50,000 page views (price overview on ki-syndikat.de; current prices on matomo.org).

Some features that comparisons like to mention, such as heatmaps or session recordings, are paid add-ons and not part of the basic version.

How it differs from Google Analytics

With Google Analytics, the data ends up with Google, a US company. That is the main reason for the long-running debate about data transfers to the United States. With your own Matomo installation, the data stays on your server and no third party analyses it for its own purposes.

For a small business, this has a very practical benefit: the privacy policy gets shorter and simpler, because there is no external service to describe that transfers data to other countries.

Many articles claim Matomo works "without a cookie banner". For Germany, that is too simple.

The deciding rule is Section 25 of the German Telecommunications Digital Services Data Protection Act (TDDDG, called TTDSG until 2024). It requires consent before information is stored on, or read from, a visitor's device, unless this is strictly necessary for the service. Web analytics is generally not considered strictly necessary.

Matomo can run without cookies. Even then, though, the tracking script reads information from the browser. That is why Matomo's own guide for Germany recommends asking for consent before tracking, with or without cookies (Matomo FAQ on the TDDDG). Some supervisory authorities, such as the one in Baden-Württemberg, consider pure audience measurement possible without consent under certain conditions. There is no single position.

One variant does work without consent: Matomo Log Analytics. Here Matomo only analyses the web server's log files, which are created anyway. No script runs in the browser. The drawback is a much coarser picture: screen size, time on page and button clicks are missing.

If you are unsure which variant suits your website, check with your data protection officer or a lawyer. This article is not legal advice.

Setting it up, step by step

  1. Choose a version: Cloud if nobody in the business wants to look after a server. On-Premise if you already have web hosting with PHP and a database. Many hosts offer Matomo as a one-click install.
  2. Add the tracking code: Matomo generates a short script for the website. For WordPress there is an official plugin that does this for you.
  3. Configure privacy: In the settings, anonymise IP addresses (at least two bytes), have data deleted after a fixed period, and add the visitor opt-out to the privacy policy.
  4. Connect consent: Configure Matomo so that it only counts after the visitor agrees in the banner. The common consent tools have a template for this.
  5. Create goals: One or two goals that genuinely matter to the business, such as a submitted contact form or a click on the phone number.

What to look for in the numbers

A small company website needs only a few figures: which pages do visitors land on? Where do they come from: a search engine, typing the address directly, or a link from another site? And how many reach the goal?

One caveat: with a consent banner, Matomo only sees the visitors who agreed. How large that share is depends heavily on how the banner is designed. The numbers are therefore good for comparing trends, this month against last month, but not as an absolute visitor count.

If you run a ten-page website with a few hundred visitors a month, consider before installing whether the numbers will actually help you make a decision. If so, Matomo is a good choice. If the statistics are only meant to run in the background, the reports your web host already provides are often enough.

Responsible: Yusuf Senel. Written with AI assistance and editorially reviewed after publication. How wischtig.de works

Read next