Privacy-first analytics GDPR-compliant Self-hosted or EU cloud

Custom Matomo integration

Appfront sets up Matomo as a GDPR-compliant alternative to Google Analytics, self-hosted on your infrastructure or via Matomo Cloud (EU). From installation and hardening to server-side tracking, custom events, e-commerce reporting, GA4 migration and integration with your CRM or data warehouse. The result: visitor behaviour data that you fully own, without a consent banner if you stay within GDPR guidelines.

What is a Matomo integration?

Matomo is an open-source web analytics platform built around privacy and data ownership. Originally known as Piwik, it has been in development since 2007 and is now used by organisations such as the European Commission and thousands of government bodies worldwide. 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 GA3 or GA4 including historical data, and passing the data on to 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 tailor tracking configuration, privacy settings and data flows to your actual measurement and compliance needs, so the integration grows with your product and stays 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 config-matched tracking, you measure within GDPR guidelines without a mandatory consent banner. No drop-off from visitors who decline cookies, no conversion loss from missing data: just reliable figures for your entire audience.

€

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 work with 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.

1
Analysis & scope

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.

2
Architecture

We design the integration architecture, choose the right authentication and draw up an error-handling strategy.

3
Development

Implementation with automated tests, structured logging and monitoring. You see working builds along the way.

4
Go-live & maintenance

A controlled go-live with data validation and a safety net, followed by ongoing maintenance and further development.

What a Matomo integration delivers in practice

Every Matomo integration is set up specifically for your measurement needs, privacy requirements and adjacent systems. Below are the features we deliver most often for organisations using Matomo as their GDPR-compliant analytics backbone.

Matomo Tag Manager & events

Tag Manager setup with Matomo-native triggers and variables, plus 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 stays 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 more control over what information leaves the browser. Ideal for GDPR-critical sectors and for organisations that also want to measure app or IoT data.

GA4 migration

A full migration from Google Analytics 3 or 4 to Matomo, including importing historical data where possible, rebuilding events and conversions, and running parallel tracking during the transition, so you miss nothing and have directly comparable reports.

E-commerce & conversion tracking

Detailed e-commerce reporting: product views, add-to-cart, abandoned carts, orders with line items and revenue, and attribution per marketing channel. Integrates with Shopify, WooCommerce, Magento, Shopware or a custom webshop via the Ecommerce Tracking API.

Custom dashboards & reporting API

Built-in Matomo dashboards supplemented with custom views for your teams, or pushed on to Looker Studio, Metabase, Power BI or Grafana via the Reporting API. Scheduled email reports, real-time alerting on traffic anomalies, and embedded widgets in your internal tools.

CRM & data warehouse integration

Send web behaviour to HubSpot, Salesforce or a custom CRM for a complete customer view. Or export to BigQuery, Snowflake or PostgreSQL for analysis in Looker, dbt or a BI tool. Via the Reporting API or direct database export, respecting consent and retention settings.

Typical use cases in practice

A Matomo integration turns out very differently for each organisation. We see a number of patterns come up again and again, and for each of them we have a working setup with attention to hosting choice, tracking strategy and the right privacy configuration.

CRM

Government & public sector

Municipalities, ministries, implementing organisations and agencies that require data sovereignty. The European Commission has been using Matomo itself for more than a decade. Self-hosted on Dutch infrastructure, including transparent visitor statistics for citizens. See also our API integrations.

Healthcare & education

Hospitals, private clinics, patient portals, universities, schools and research institutes. Visitor data on healthcare or study-related information stays within your own infrastructure, without visitor behaviour being linked externally to commercial profiles. Important for GDPR-sensitive audiences and research ethics.

Publishers & media

News websites, magazines, blogs and content platforms that want to measure reading engagement without consent-banner drop-off. Article performance, scroll depth, recommendation clicks and subscription responses are all measurable without cookies. For publishers who want to own their audience data rather than hand it to Google.

B2B SaaS & e-commerce

SaaS companies and online shops with European customers for whom GDPR compliance and user trust matter. Funnel analysis, e-commerce tracking with attribution per channel, 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 exact choice depends on self-hosted vs cloud, your measurement needs and your privacy requirements, so that your own team can manage or further develop the implementation.

Matomo Tracking API Matomo Reporting API JavaScript tracker (matomo.js) Server-side tracking (HTTP) Matomo Tag Manager PHP & MariaDB / MySQL Self-hosted or Matomo Cloud (EU) IP anonymisation & cookieless mode GA3 / GA4 import Heatmaps & Session Recordings A/B Testing & Form Analytics Ecommerce Tracking API Custom plugins (PHP) BigQuery / Snowflake / PostgreSQL Looker Studio / Metabase / Grafana GitHub Actions / GitLab CI

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, because an integration must not only be technically sound but also add practical value to the way you work.

For every integration we write clear documentation and make sure your own team, or a future supplier, can understand and manage the integration. No black box, but 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. That keeps communication lines short, prevents miscommunication and speeds up decisions when choices have to be made during the build.

Also take a look at our broader services around API integrations, middleware, custom software and web app development.

  • Experience with the Matomo Tracking API, Reporting API and Tag Manager
  • Specialist in server-side tracking and GA4 migrations
  • Familiar with GDPR configuration, consent logic and cookieless tracking
  • Secure by default — API key rotation, webhook signature validation, scoped permissions
  • Structured error handling and retry mechanisms
  • Extensive logging and monitoring from day one
  • Clear documentation that your team can read and maintain
  • A single point of contact, no passing you between account managers
  • Ongoing maintenance and proactive further development
  • An approach tailored to your existing IT landscape

Security and privacy in Matomo integrations

Visitor behaviour counts as personal data as soon as it can be linked to an individual, so Matomo measurement falls under the GDPR. Appfront builds in line with the Matomo security best practices and the OWASP ASVS. Among other things, that means hardened PHP hosting, TLS everywhere, role-based access in Matomo, tokens in secure vaults and regular audits of tracking and export flows.

Matomo was designed with the GDPR in mind: IP anonymisation, cookieless tracking, DoNotTrack support and retention settings are available as standard. We document the tracking flows, privacy settings and data exports so that your record of processing activities is complete and you can demonstrably comply with the GDPR. Self-hosted means no third party ever sees your visitor data.

More about our approach to security: information security policy and CVD policy.

  • GDPR-compliant data processing and minimisation
  • Encryption in transit (TLS 1.2+) and at rest
  • Role-based access and least-privilege principles
  • Audit logs with traceable data flows
  • Automatic retry and dead-letter queues
  • Monitoring and alerting for anomalies
  • Secrets management following best practices
  • Documentation for your record of processing activities

Frequently asked questions about Matomo integrations

Answers to the questions we get 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 see data ownership as essential or that are looking for a GDPR-compliant alternative to Google Analytics. It is suitable for government, healthcare, education, publishers, e-commerce and SaaS, wherever you want to avoid customer data ending up with Google or want to measure without a consent banner (within GDPR limits, via IP anonymisation and cookieless tracking). Self-hosted gives maximum control; Matomo Cloud (hosted in the EU) saves you the operational worries.

A basic setup — installation, the JavaScript tracker on your site, core events and a simple dashboard — can be live within a few weeks. More complex projects with server-side tracking, GA4 migration with historical data, custom plugins, deep CRM integration and multi-site rollout take more time. After an intake conversation, we'll 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, or server-side via the HTTP Tracking API or Tag Manager. For onward export, we set up integrations with BigQuery, Snowflake, PostgreSQL or Elasticsearch. Hosting is within the EU (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 with historical data, and the number of custom events, plugins or dashboards. Hosting and ongoing maintenance also play a part. After a no-obligation analysis of your situation, we always provide a clear quote.

Yes — Matomo was designed with GDPR in mind. With IP anonymisation, cookieless tracking, DoNotTrack 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-hosted keeps all data on your own infrastructure; Matomo Cloud guarantees EU hosting. Appfront builds in line with OWASP ASVS: hardened hosting, TLS, role-based access and processing-register documentation.

Yes. Appfront regularly takes over the management of existing Matomo installations, even if they were originally set up by another party. We review the tracking configuration, plugins, performance, updates, database tuning and GDPR compliance, document the current setup and draw up improvement proposals. From that point on, we can handle changes, extensions and monitoring — including version updates and security patches.

Matomo is a good fit for organisations that value data sovereignty: governments 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: 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're migrating from GA4 or starting fresh — we're happy to advise on self-hosted vs cloud, server-side tracking, custom events and data export. A no-obligation first conversation gives you a clear picture of the possibilities within half an hour.

Edit content