Skip to main content

Matomo Web Analytics

Google Analytics knows everything about your visitors. The problem: that data is sent to the US, exploited by Google, and collecting it requires a consent banner that 40% of your visitors reject. Bunker hosts Matomo, an open source web analytics platform that keeps your data in Europe.

Why Matomo?

Matomo is the most widely deployed open source web analytics platform in the world. Over 1 million websites use it, including governments and Fortune 500 companies.

What sets it apart:

  • GDPR native: no third-party cookies, IP anonymization, no fingerprinting. With proper configuration, no consent banner needed
  • 100% your data: no sharing with third parties, no sampling
  • Complete features: dashboards, conversion funnels, heatmaps, session recording, A/B testing (via plugins)
  • Built-in Tag Manager: deploy your tags without depending on Google Tag Manager
  • Reporting API: every report is accessible via REST API

Comparison with Alternatives

CriteriaBunkerGoogle AnalyticsAdobe AnalyticsPlausibleUmami
Open sourceYes (GPLv3)NoNoYes (AGPLv3)Yes (MIT)
Sovereign hostingYes (Europe)No (USA)No (USA)No (Germany)Depends on you
No samplingYesNo (GA4 samples)NoYesYes
GDPR without consentPossibleNoNoYesPossible
Conversion funnelsYes (Funnel Plugin)YesYesNoNo
Tag ManagerYes (built-in)Yes (separate)Yes (separate)NoNo
Reporting APIYesYesYesYesYes
High availabilityGuaranteedYesYesYesYour responsibility
Ops costZeroZeroZeroSubscriptionTime + server

What Really Changes

The source code is auditable. GPLv3 license: no black box, no dependency on Google to understand how your data is processed.

Your audience data belongs to you. Export it in CSV, JSON, or query it via the Reporting API. No sampling: every visit is counted, even with millions of page views.

In "no consent" configuration, Matomo can be used without a cookie banner. Result: you measure 100% of your traffic instead of 60%.

You Keep Control

  • Complete export: CSV, JSON, or REST API for every report
  • Reporting API: integrate your analytics data into your own tools
  • Migration: if you leave Bunker, export your data and reinstall Matomo on your own server
  • GPLv3 license: the code stays free, the project cannot become proprietary

Why Bunker Instead of Self-Hosting?

You could install Matomo on your own server. But:

AspectSelf-hostingBunker
Automatic archivingCronJobs to configureCronJobs every 5 min included
DatabaseMariaDB to manageManaged MariaDB
Funnel PluginTo install and maintainPre-installed (v3)
High availabilityYour responsibilityGuaranteed
BackupsTo configureAutomatic
Security updatesTo monitorApplied
NetworkPoliciesTo configureApplied
24/7 monitoringTo set upIncluded

Report archiving is critical for Matomo performance. Without regular archiving CronJobs, dashboards become slow beyond a few thousand visits per day. At Bunker, archiving runs every 5 minutes.

Quick Start

1. Deploy from the Console

  1. Go to console.getbunker.net
  2. Create your account or log in
  3. Deploy Matomo from the service catalog
  4. Wait a few minutes for the instance to be ready

2. Install the Tracking Tag

Add the Matomo JavaScript tag to your website:

<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://your-instance.getbunker.net/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo -->

3. First Dashboards

Once the tag is installed, first visits appear in Matomo. Explore:

  • Dashboard: real-time traffic overview
  • Behaviour > Pages: most visited pages
  • Acquisition > Sources: where your visitors come from
  • Visitors > Geolocation: geographic distribution

Advanced Features

Funnel Plugin (Conversion Tracking)

The Funnel plugin (pre-installed) lets you define conversion funnels:

  1. Define your funnel steps (product page > cart > checkout > confirmation)
  2. Visualize where your visitors drop off
  3. Measure conversion rate at each step

Reporting API

Every Matomo report is accessible via REST API:

# Example: number of visits over the last 7 days
curl "https://your-instance.getbunker.net/index.php?\
module=API&method=VisitsSummary.get&\
idSite=1&period=day&date=last7&format=JSON&\
token_auth=YOUR_TOKEN"

Matomo Tag Manager

Deploy and manage your tags (analytics, marketing, consent) directly from Matomo, without third-party tools:

  1. Create a container in Tag Manager
  2. Add your tags (Matomo, custom events, marketing pixels)
  3. Define your triggers (page view, click, scroll)
  4. Publish

Best Practices

  • Enable IP anonymization for GDPR compliance
  • Configure goals to measure your conversions
  • Use segments to analyze visitor sub-populations
  • Schedule automatic email reports for your team
  • Use the Reporting API to feed your own dashboards

Next Steps