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
| Criteria | Bunker | Google Analytics | Adobe Analytics | Plausible | Umami |
|---|---|---|---|---|---|
| Open source | Yes (GPLv3) | No | No | Yes (AGPLv3) | Yes (MIT) |
| Sovereign hosting | Yes (Europe) | No (USA) | No (USA) | No (Germany) | Depends on you |
| No sampling | Yes | No (GA4 samples) | No | Yes | Yes |
| GDPR without consent | Possible | No | No | Yes | Possible |
| Conversion funnels | Yes (Funnel Plugin) | Yes | Yes | No | No |
| Tag Manager | Yes (built-in) | Yes (separate) | Yes (separate) | No | No |
| Reporting API | Yes | Yes | Yes | Yes | Yes |
| High availability | Guaranteed | Yes | Yes | Yes | Your responsibility |
| Ops cost | Zero | Zero | Zero | Subscription | Time + 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:
| Aspect | Self-hosting | Bunker |
|---|---|---|
| Automatic archiving | CronJobs to configure | CronJobs every 5 min included |
| Database | MariaDB to manage | Managed MariaDB |
| Funnel Plugin | To install and maintain | Pre-installed (v3) |
| High availability | Your responsibility | Guaranteed |
| Backups | To configure | Automatic |
| Security updates | To monitor | Applied |
| NetworkPolicies | To configure | Applied |
| 24/7 monitoring | To set up | Included |
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
- Go to console.getbunker.net
- Create your account or log in
- Deploy Matomo from the service catalog
- 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:
- Define your funnel steps (product page > cart > checkout > confirmation)
- Visualize where your visitors drop off
- 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:
- Create a container in Tag Manager
- Add your tags (Matomo, custom events, marketing pixels)
- Define your triggers (page view, click, scroll)
- 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
- Matomo Documentation for advanced features
- External Backups for complete protection