Managed Matomo hosting
Pilae installs, patches, backs up and monitors Matomo for you, on your own servers or in any of 10+ Pilae Cloud regions, six of them in Switzerland and the EU.
From CHF 449EUR 479USD 559 a month on Starter, hosting and onboarding included.
- Workflow and data
- Open source
- Replaces Google Analytics
- Runs on
- Your own hardware, or a Pilae Cloud region
- Replaces
- Google Analytics, Adobe Analytics
- Licence
- GPL-3.0-or-later
Matomo among the workflow and data apps
The automations and dashboards a department builds for itself, running where the data already is instead of where a SaaS keeps it.
Matomo system requirements
Before anything is deployed, this is what has to exist. We size it with you in the first session, and we say so when your own hardware is already enough.
All 5 requirements, and why each is there
- CPU and memory4 vCPU · 8 GB · 250 GB SSDUpstream’s figure for up to a million page views a month, with the database on the same machine. Above that, the database moves to a machine of its own.
- DatabaseMariaDB or MySQLPostgreSQL is not supported, and upstream says it is unlikely to be. The raw visit tables grow with traffic, which is why retention is agreed on the first day.
- Archivingcore:archive, hourly cronReports are built ahead of time from the raw visits, not when someone opens them. A custom date range is the one report still computed on request.
- GeolocationDB-IP or MaxMind GeoIP2Without a GeoIP database Matomo guesses the country from the browser language and records no region or city. The free DB-IP database is refreshed monthly.
- Public endpoint/matomo.php, /matomo.jsBrowsers must reach the tracker, so these two paths and the opt-out are published through the Pilae gate on port 443.
Running Matomo in production: what it takes
Deploy on MariaDB
A Matomo image pinned to a version we have run, on its own MariaDB database in utf8mb4. The installer is switched off once set-up is done, and the config file lives in your repository.
Publish the tracker, keep the interface private
The gate on port 443 publishes the tracking endpoint, the script and the opt-out on a hostname you choose. The interface and the reporting API answer only on the private network, behind sign-on.
Archive by cron and watch it
core:archive runs every hour with browser-triggered archiving off. A failed run alerts an engineer, because with browser archiving off a stopped cron means reports that quietly stop filling.
Back up visits, config and plugins
Every day the database, config.ini.php and any marketplace plugins leave for an offsite location, encrypted. On the Enterprise plan, a monthly drill restores them into a scratch instance and opens a report there.
Upgrade without losing hits
A release can migrate the database, and on a large visit table that can take hours, so the Pilae Agent times it on a copy first and waits for your approval. During the window, tracking requests are held in a queue and replayed afterwards. For a major release they are replayed from the access log instead, following the procedure upstream documents for large instances.
From our runbook
Matomo configured for cron archiving and a private interface
; config/config.ini.php (excerpt) [database] host = "db.acme.internal" dbname = "matomo" username = "matomo" tables_prefix = "matomo_" charset = "utf8mb4" [General] ; the interface answers on this name, which resolves only inside acme's network trusted_hosts[] = "matomo.corp.acme.ch" force_ssl = 1 assume_secure_protocol = 1 ; the visitor's address, not the gate's proxy_client_headers[] = HTTP_X_FORWARDED_FOR ; reports come from cron, never from a browser enable_browser_archiving_triggering = 0 browser_archiving_disabled_enforce = 1 ; archiving, retention and update settings stay in this file enable_general_settings_admin = 0 enable_delete_old_data_settings_admin = 0 enable_auto_update = 0 enable_installer = 0 [Deletelogs] ; raw visits kept for 13 months, reports kept delete_logs_enable = 1 delete_logs_older_than = 395 # /etc/cron.d/matomo-archive 5 * * * * www-data php /var/www/html/console core:archive --url=https://matomo.corp.acme.ch/
Migrating from Google Analytics to Matomo
Google Analytics history comes across as reports, not as individual visits. Matomo's free Google Analytics Importer reads aggregated reports from a GA4 property through Google's API and writes them into a new site in Matomo. It cannot import into an existing site or be merged into one later, so the import starts before the tracker goes live and the tracker then reports into that same site. On imported months the visitor log, segments and custom reports do not work, weekly and monthly reports have no unique visitors, and GA4 goals arrive without names or revenue. Google's daily API quota spreads a large import over several days. The bigger job is elsewhere: replacing the Google tag on every site and app, rebuilding key events as Matomo goals, and agreeing with your data protection officer which consent setup applies.
- Migration guideHow to migrate from Google Analytics to MatomoImport GA4 history with the free importer, swap the Google tag for Matomo, rebuild key events as goals, settle consent and cut over after a parallel run.
- ServiceSaaS migrationA fixed-scope migration off Google Workspace, Microsoft 365, Zapier, Airtable and ChatGPT to open-source apps, with a parallel run and a cutover plan.
Moving from Google Analytics to Matomo, step by step
- Start the history import first: The Google Analytics Importer runs from the console against your GA4 property and creates the site Matomo then tracks into. Its end date is the day before Matomo starts tracking, so the two never overlap.
- Map key events to goals: Each GA4 key event and custom dimension in use is listed with its owner and rebuilt as a Matomo goal, event or custom dimension. Anything nobody claims is left behind.
- Tag both, compare for a month: The Matomo tracker goes on beside the Google tag, directly or through Matomo Tag Manager. The two tools define some metrics differently, so we agree which gaps are expected before anyone compares.
- Remove the Google tag: Once owners accept the figures, the Google tag comes off every site and app and the privacy notice is updated. The GA4 property is kept or deleted under your own retention policy.
What Matomo is, and who runs it
Web analytics for your websites and apps, run in Switzerland, the EU or your own datacentre, with every visit stored in a database you own.
Self-hosted Matomo for web analytics
Matomo is a web analytics platform: a JavaScript tracker on your sites and apps, a PHP application that receives the hits, and a MariaDB or MySQL database that keeps every visit. It covers the reports most teams open in Google Analytics, from traffic sources and pages to goals, events and ecommerce. What changes is where each hit lands: in a database you own, not in Google’s.
It gets a dedicated machine of its own, in your datacentre or in one of 10+ Pilae Cloud regions, six of them in Switzerland and the EU, and the visit data and the reports built from it stay in that jurisdiction.
Read the full briefFold the brief
Matomo in production: archiving, the public endpoint and retention
Matomo does not build reports when a visit arrives. It aggregates raw visits into reports in a
separate step called archiving, and by default a browser opening a report can start it. On real
traffic that turns a dashboard into a long query against the busiest tables in the database, so we
switch it off and run core:archive from cron every hour, with an alert when a run fails.
The tracker has to be reachable from every visitor’s browser, and the rest of Matomo does not. The gate publishes the tracking endpoint and script on a hostname you choose, and the interface stays on your private network, behind sign-on.
The raw visit tables are the part that grows. We agree a retention period with you, and raw visits older than that are deleted only once they have been archived. The reports built from them stay.
The database, config.ini.php and any marketplace plugins are backed up daily,
encrypted, to an offsite location in the country your contract names, and on the Enterprise plan restored every
month into a scratch instance. Probes check the tracker and the interface every 60 seconds and
alert an engineer. Upgrades go through the Pilae Agent: timed on a copy, approved by you, applied
in your window and recorded in the console.
Matomo licence and editions
Matomo has no fee per user or per page view. OpenID Connect for Keycloak or Entra ID comes from free community plugins: the best-known, LoginOIDC, is no longer maintained and points to a fork, RebelOIDC, under GPL-3.0-or-later. We check which one is maintained before relying on it. The proposal names the premium plugins your requirements need, so none of them turns up later as a surprise. Our operation follows the published plans. Talk to us about the sites you want to measure.
What Pilae is responsible for
The same commitments on every app we run, Matomo included, and what stays yours. How the platform does it.
Ours
- A pinned version: A version we have run, not whatever latest resolves to that day.
- A runbook: What it depends on, how it fails, what to do about it. In your repository.
- Daily backups: Encrypted and offsite, and on Enterprise restored every month. A backup nobody has restored is a file.
- A patch window: Security updates in a window you agreed, with a rollback ready.
- Someone watching: Every endpoint probed on the minute. An alert reaches a person, not a dashboard nobody opens.
Yours
- The credentials: You hold them. Ours are separate, named, logged and revocable with one command.
- The approval: We ask before anything changes outside an agreed window.
- The exit: The machine, the data, the compose files and the runbook are already yours. Nothing stops when our access does.
Who runs it
Engineers who answer for it
Our engineers review every plan the Pilae Agent prepares and answer for the result.
Your data stays where the contract says
On your own servers or in Pilae Cloud. On Business and Enterprise you choose the region, and your contract names each location.
A Swiss company, a Swiss contract
Pilae is a Swiss company, and your contract with it is governed by Swiss law.
Matomo runs on Starter from CHF 449EUR 479USD 559 a month in Pilae Cloud, or on Business with up to three apps on your own servers.
Compare the plansMatomo: common questions
Is Matomo open source?
Where does the visit data live?
Can we run Matomo without a cookie banner?
Does Matomo do everything GA4 does?
How do browsers reach Matomo if it sits on a private network?
Ask the engineers who would run your Matomo
Thirty minutes on the deployment you already have, or the one you are about to start.
- Go deeperReplace US SaaS with open-source apps, and keep your workflowsReplace a US SaaS with an open-source app you own: we migrate the data and workflows, then run it for you under an SLA.
- CompareSelf-hosting vs managed open source: doing it yourself, or PilaeSelf-hosting gives you the apps and the whole job of running them. Pilae gives you the same open-source apps, operated under a contract, on your premises or in Pilae Cloud.
- CheckSecurity for self-hosted open-source apps, run by PilaePrivate networking, hardened machines, named access, tracked advisories and a full audit log, built to ISO 27001 controls.
