Custom Matomo integration
Appfront sets up Matomo as a GDPR-compliant alternative to Google Analytics, either self-hosted on your infrastructure or via Matomo Cloud (EU). From installation and hardening through to server-side tracking, custom events, e-commerce reporting, GA4 migration and integration with your CRM or data warehouse. The result: visitor behaviour that you fully own, with no consent banner as long as you stay within GDPR guidelines.
What is a Matomo integration?
Matomo is an open-source web analytics platform built on privacy and data ownership. Originally known as Piwik, it has been developed since 2007 and is now used by the European Commission and thousands of government bodies worldwide, among others. Matomo offers the same features as commercial analytics tools (pageviews, events, funnels, heatmaps, e-commerce, attribution), but without your data ending up with American big tech.
In practice, a custom integration means: installing and hardening Matomo on your own infrastructure (or cloud), configuring the JavaScript tracker or server-side tracking, setting up relevant custom events and e-commerce metrics, building dashboards for your teams, migrating from GA3 or GA4 including historical data, and feeding the data into your CRM, data warehouse or BI tool for a 360-degree view of your customers.
Appfront builds in line with the official Matomo developer documentation and the OWASP ASVS security standard. We align tracking configuration, privacy settings and data flows with your actual measurement and compliance needs, so the integration grows with your product and remains reliable at high visitor volumes.
Data ownership by default
Self-hosted or Matomo Cloud (EU), your data stays yours. No unknown third party linking visitor behaviour to advertising profiles. Ideal for government, healthcare and organisations with strict data sovereignty requirements.
Cookieless tracking
With IP anonymisation and configuration-matched tracking, you can measure within GDPR guidelines without a mandatory consent banner. No drop-off from cookie refusers and no conversion loss from missing data, just reliable figures for your entire visitor base.
Rich analytics features
Pageviews, events, funnels, heatmaps, session recordings, A/B tests, e-commerce, attribution and form analytics, all in one open-source platform. Extend it with plugins from the Matomo Marketplace or have Appfront build a custom plugin.
Our development process for Matomo integrations
We follow a proven methodology that removes uncertainty early and delivers a stable Matomo setup. From an initial analysis of your measurement needs, privacy requirements and channels through to go-live and ongoing management, every step is aimed at a configuration your team can understand, trust and extend itself.
We map out which KPIs and events you want to measure, which channels (web, app, server-side) are relevant, which privacy requirements apply, and whether migration from GA3/GA4 with historical data is needed.
We design the integration architecture, choose the right authentication and draw up an error-handling strategy.
Implementation with automated tests, structured logging and monitoring. You see working builds along the way.
Controlled go-live with data validation and a safety net, followed by ongoing management and further development.
What a Matomo integration concretely delivers
Every Matomo integration is set up specifically for your measurement needs, privacy requirements and connected systems. Below are the features we most often deliver for organisations using Matomo as a GDPR-compliant analytics backbone.
Matomo Tag Manager and events
Tag Manager setup with Matomo-native triggers and variables, and custom event tracking for click behaviour, scroll depth, video engagement and form interactions. No more dependence on Google Tag Manager and no Google scripts on your site, everything runs within your own Matomo.
Server-side tracking
Tracking via server-side calls instead of (or alongside) the browser tracker: less impact from ad blockers, more consistent data, and greater control over which information leaves the browser. Ideal for GDPR-sensitive sectors and for organisations that also want to measure app or IoT data.
GA4 migration
Full migration from Google Analytics 3 or 4 to Matomo, including importing historical data where possible, rebuilding events and conversions, and running tracking in parallel during the transition, so you miss nothing and get directly comparable reporting straight away.
E-commerce & conversion tracking
Detailed e-commerce reporting: product views, add-to-cart, abandoned carts, orders with line items and revenue, attribution per marketing channel. Connect to Shopify, WooCommerce, Magento, Shopware or a custom web shop via the Ecommerce Tracking API.
Custom dashboards & reporting API
Built-in Matomo dashboards supplemented with custom views for your teams, or forwarded to Looker Studio, Metabase, Power BI or Grafana via the Reporting API. Scheduled reports by email, real-time alerts on traffic anomalies, and embedded widgets in your internal tools.
CRM and data warehouse integration
Forward web behaviour to HubSpot, Salesforce or a custom CRM for a complete customer picture. Or export to BigQuery, Snowflake or PostgreSQL for analysis in Looker, dbt or another BI tool. Via the Reporting API or direct database export, respecting your consent and retention settings.
Typical use cases in practice
A Matomo integration looks very different from one organisation to the next. We regularly see a number of recurring patterns, and for each we have a proven setup that pays careful attention to hosting choice, tracking strategy and the right privacy configuration.
Government & public sector
Municipalities, ministries, implementation bodies and agencies that require data sovereignty. The European Commission has itself been using Matomo for over a decade. Self-hosted on Dutch infrastructure, including transparent visitor statistics for citizens. See also our API integrations.
Healthcare & education
Hospitals, GP practices, patient portals, universities, schools and research institutes. Visitor data relating to healthcare or study information stays within your own infrastructure, without visitor behaviour being linked externally to commercial profiles. Important for audiences sensitive to GDPR and research ethics.
Publishers & media
News websites, magazines, blogs and content platforms that want to measure reader engagement without consent-banner drop-off. Article performance, scroll depth, recommendation clicks and subscription actions, all measurable cookielessly. For publishers who want to own their audience data rather than hand it to Google.
B2B SaaS & e-commerce
SaaS companies and web shops with European customers for whom GDPR compliance and user trust matter. Funnel analysis, e-commerce tracking with channel attribution, integration with HubSpot or a custom CRM, all on your own hosting or via Matomo Cloud (EU).
Technology we use
We build Matomo integrations with the official Tracking API, Reporting API and JavaScript tracker, combined with server-side tooling in the stack that suits you. The precise choice depends on self-hosted versus cloud, your measurement needs and your privacy requirements, so that your own team can manage or further develop the implementation.
Why choose Appfront for your Matomo integration?
Appfront has extensive experience building API integrations for a wide range of organisations in the Netherlands. We always start with a thorough analysis of your existing systems and processes. An integration should not only work technically, but also add practical value to the way you work.
For every integration, we write clear documentation and make sure your own team, or any future supplier, can understand and manage it. No black box, just transparent code and clear agreements on monitoring, alerting and maintenance.
You work with a dedicated point of contact who understands both the technical and the functional side. This keeps communication short, prevents misunderstandings and speeds up decisions when choices need to be made during development.
See also our wider services around API integrations, middleware, custom software development and web app development.
- Experience with the Matomo Tracking API, Reporting API and Tag Manager
- Specialist in server-side tracking and GA4 migrations
- Experienced in GDPR configuration, consent logic and cookieless tracking
- Secure by default: API key rotation, webhook signature validation, scoped permissions
- Structured error handling and retry mechanisms
- Comprehensive logging and monitoring from day one
- Clear documentation your team can read and manage
- A fixed point of contact, no account managers passed around
- Ongoing maintenance and proactive further development
- A way of working aligned with your existing IT landscape
Security and privacy in Matomo integrations
Visitor behaviour is personal data as soon as it can be linked to an individual, so Matomo measurement falls under the GDPR. Appfront builds according to the Matomo security best practices and the OWASP ASVS. That means, among other things: hardened PHP hosting, TLS everywhere, role-based access in Matomo, tokens kept in secure vaults and regular audits of tracking and export flows.
Matomo is designed with the GDPR in mind: IP anonymisation, cookieless tracking, Do Not Track support and retention settings are available by default. We document the tracking flows, privacy settings and data exports so your record of processing activities is complete and you can demonstrate compliance with the GDPR. Self-hosting means no third party ever sees your visitor data.
More on our security approach: information security policy and CVD policy.
- GDPR-compliant data processing and data minimisation
- Encryption in transit (TLS 1.2+) and at rest
- Role-based access and least-privilege principles
- Audit logs with traceable data flows
- Automatic retries and dead-letter queues
- Monitoring and alerting for anomalies
- Secrets management in line with best practice
- Documentation for your record of processing activities
Frequently asked questions about Matomo integrations
Answers to the questions we are asked most often about Matomo implementations.
A Matomo integration is the setup and connection of Matomo Analytics to your website, web app or other digital channels, including server-side tracking, custom events, e-commerce metrics and a bridge to your CRM, data warehouse or BI tool. Matomo can be self-hosted or used as a cloud service. Through the Tracking API, Reporting API and JavaScript tracker, you collect and export visitor behaviour on your own infrastructure or in an EU data centre, GDPR-compliant, without sharing data with American big tech.
Matomo suits organisations that consider data ownership essential or are looking for a GDPR-compliant alternative to Google Analytics. It is suitable for government, healthcare, education, publishers, e-commerce and SaaS: anywhere you want to keep customer data away from Google, or where you want to measure without a consent banner (within GDPR limits, through IP anonymisation and cookieless tracking). Self-hosting gives maximum control; Matomo Cloud (hosted in the EU) takes away operational concerns.
A basic setup, covering installation, the JavaScript tracker on your site, core events and a simple dashboard, can go live within a few weeks. More complex projects involving server-side tracking, GA4 migration with historical data, custom plugins, deep CRM integration or multi-site rollout take more time. After an intake conversation we will give you a realistic estimate.
We work with the official Matomo Tracking API, Reporting API and JavaScript tracker, combined with the backend stack that suits you: PHP (Matomo itself), Node.js, Python or Go for ETL scripts. Tracking runs via JS, server-side via the HTTP Tracking API or Tag Manager. For data export we set up integrations with BigQuery, Snowflake, PostgreSQL or Elasticsearch. Hosting in the EU, either self-hosted on your own infrastructure or Matomo Cloud.
The cost depends on whether you choose self-hosted or cloud, the number of systems to integrate (CRM, data warehouse, Tag Manager), your traffic volume, any GA4 migration including historical data, and the number of custom events, plugins or dashboards. Hosting and ongoing maintenance also affect the price. We always provide a clear quote after a no-obligation analysis of your situation.
Yes. Matomo is specifically designed with the GDPR in mind. With IP anonymisation, cookieless tracking, Do Not Track support and respect for consent signals, you can measure within GDPR limits without a consent banner (within the guidelines of the Dutch Data Protection Authority). Self-hosting keeps all data on your infrastructure; Matomo Cloud guarantees EU hosting. Appfront builds to the OWASP ASVS: hardened hosting, TLS, role-based access and documentation for your record of processing activities.
Yes. Appfront regularly takes over existing Matomo installations, even where they were originally set up by another party. We review tracking configuration, plugins, performance, updates, database tuning and GDPR compliance, document the current setup and propose improvements. From there, we can handle adjustments, extensions and monitoring, including version updates and security patches.
Matomo suits organisations that place importance on data sovereignty: government and public bodies (the European Commission has used Matomo for a long time), hospitals and healthcare providers, educational institutions, publishers, law firms and notaries, and B2B SaaS companies with European customers. Typical use cases include migrating from GA3/GA4 to a GDPR-compliant alternative, server-side tracking without a consent banner, combining web behaviour with CRM data for sales and marketing, and public dashboards with transparent visitor figures.
Ready to build your Matomo integration?
Tell us what you want to measure, which privacy requirements apply, and whether you are migrating from GA4 or starting fresh. We are happy to advise on self-hosted versus cloud, server-side tracking, custom events and data export. A no-obligation first conversation will give you a clear picture of the possibilities within half an hour.