Matomo is a free, open-source web analytics platform — a self-hosted alternative to Google Analytics that you run on your own server, where the visitor data belongs to you and stays with you. It answers the same questions Google Analytics does (who visits, from where, doing what) without sending your audience's browsing data to an advertising company, and without the sampling and data-retention limits of the free hosted tools. This guide covers why teams switch to Matomo and how to deploy it as a one-click Docker stack.
Why self-host your analytics?
Two reasons drive most Matomo adoptions, and they reinforce each other:
- Data ownership and privacy. With hosted analytics from an ad company, your visitor data is their asset too. With Matomo, the data lives in your database on your server. That is a cleaner story for GDPR and similar regulations — you control retention, you can anonymize IPs, and in many configurations you can avoid the consent-banner friction that comes with third-party trackers.
- Accuracy and completeness. Self-hosted Matomo does not sample your data or silently cap it. You see all of it. And because the tracker is first-party, it is blocked far less often than the well-known third-party analytics scripts that ad-blockers target by default — so your numbers are closer to reality.
You get the familiar reports — visitors, acquisition channels, popular pages, goals and conversions, real-time view — plus privacy features built in rather than bolted on.
Deploying Matomo on Panelica
Matomo is a PHP application backed by a database, so the template brings up the stack together — the Matomo container and its database — with the connection wired automatically and the database password generated for you.
- Deploy the Matomo template from the Docker app catalog.
- Let the database credentials auto-generate, and note them from the success screen for the first-run setup.
- Give it room: Matomo is comfortable on a modest allocation for a small-to-medium site, but analytics processing grows with traffic — budget more RAM and CPU if you track high-volume sites.
- Open the web UI and complete Matomo's installation wizard: confirm the database connection, create your admin account, and register your first website.
- Copy the tracking code Matomo generates and add it to your site — or, for supported platforms, use the corresponding plugin.
Put it on your own domain
Because Matomo's tracker is first-party, running it on a subdomain of your own site is exactly what you want — it makes the tracking script part of your domain rather than an obvious third party. Link a subdomain like analytics.example.com or stats.example.com through Panelica's reverse proxy for automatic HTTPS, and point your tracking code at it. This single choice — first-party subdomain over a shared third-party host — is why self-hosted Matomo captures visitors that ad-blockers hide from hosted analytics.
Privacy configuration worth doing on day one
- Anonymize IP addresses in Matomo's privacy settings — it keeps the geographic insight while reducing the personal-data footprint.
- Set a data-retention policy that matches your obligations; you control it, so choose deliberately rather than keeping everything forever.
- Review the consent requirements for your jurisdiction — privacy-respecting Matomo configurations can qualify for lighter consent handling than third-party trackers, but confirm against your local rules.
Frequently asked questions
Is Matomo hard to migrate to from Google Analytics?
Starting fresh is trivial — add the tracking code and data flows in. Matomo also offers ways to import historical data from Google Analytics, though going forward the cleanest approach is to run both briefly in parallel and compare, then switch.
Will my numbers match Google Analytics?
They will usually be higher, because Matomo's first-party tracker is blocked less often. That gap is the visitors hosted analytics was missing, not an error in Matomo.
How much server does it need?
A small site runs fine on a modest container. The load scales with traffic and with the report processing Matomo does — high-traffic sites benefit from more CPU and RAM, and Matomo supports archiving via a scheduled task to keep the dashboard responsive.
How do I keep the data safe?
All your analytics history lives in Matomo's database. Back it up with an application-aware stack backup that dumps the database consistently — losing it means losing your historical trends.
The takeaway
Matomo gives you the analytics you actually need — accurate, complete, and yours — without handing your visitors' data to an advertising company. The privacy story is real, and the first-party tracking means your numbers are closer to the truth than any blockable third-party script. On Panelica it deploys as a one-click app-plus-database stack; put it on an analytics. subdomain of your own site, turn on IP anonymization from the start, and back up the database that holds your history.