Integrations

Matomo integrations: connecting Matomo to intranets, shops and CMS

Matomo measures any website, but every platform has its quirks: an intranet with strict security rules, a shop whose checkout only allows limited third-party code, a CMS with dozens of plugins. Here are the ways to connect Matomo and how to choose the right one.

Matomo needs a piece of JavaScript on every page that reports views and interactions. How it gets there is decided by the platform: some allow your own code anywhere, others only in certain places or only from approved sources. On top of that comes data that only the platform knows, such as the contents of a cart or the area of an intranet.

Four ways to connect Matomo

Way How Matomo gets in Later changes Good for
Tracking code directly in the page template with a platform release simple websites that only need page views
Matomo Tag Manager one container, built in once in Matomo, without a release almost every platform, as soon as you measure more
Platform plugin or app installed from the platform’s store with plugin updates shops and CMS, if the plugin is maintained
Server the platform reports to Matomo’s Tracking API in the platform’s code orders, apps and systems without a browser
Four ways to Matomo: the tracking code in the template, a Tag Manager container, a platform plugin or a report from the server to the Tracking API.

The ways do not exclude each other. Often the Tag Manager brings tracking to the pages, and a plugin or the server delivers the data only the platform knows.

Choosing the right way

  • What does the platform allow? SharePoint Online only runs scripts from approved sources, a shop restricts code in the checkout, a CMS allows almost anything. That decides which ways are possible at all.
  • Which data do you need? Any way works for page views. Search, forms, cart and orders need data from the platform, via a data layer, a plugin or the server.
  • Who maintains the tracking? If every change sits with IT and its releases, changes rarely happen. With the Tag Manager, an analytics team can adjust things itself.
  • How does consent arrive? Every platform has its own way of reporting the visitor’s decision, and the tracking has to know it. More on this in Matomo and privacy.
  • Is the plugin maintained? The last update, supported versions of platform and Matomo and who develops it say more than the feature list.

What the Tag Manager can do and how a container is built is covered in Matomo Tag Manager. How to name events so they fit together across all platforms is in Event tracking.

Platforms

  • Intranet with SharePoint and AEM: tracking via an SPFx extension despite the Content Security Policy, in AEM via the page component or a client library, with search and without personal data.
  • Shopify: a custom pixel instead of theme code, consent via the Customer Privacy API and what to test in the shop.
  • Shopware 6: plugins from the store, e-commerce via the Tag Manager, orders from the server and Shopware’s cookie consent.
  • WordPress and WooCommerce: Matomo for WordPress or Connect Matomo, orders from the server and the Complianz trap.

Data back into your systems

Integration also means bringing Matomo data to where your team works. The Reporting API delivers every report as JSON, CSV or XML for BI tools and your own applications. Dashboards can be embedded, reports sent by email. More on this in Dashboards, Email reports and the service Integrations and APIs.

Sources

As of 12 November 2026

FAQ

Frequently asked questions

Do I need a separate Matomo plugin for every platform?

No. The tracking code or a Matomo Tag Manager container runs on any platform that allows your own JavaScript. A platform plugin helps above all when it brings data that is otherwise hard to get, such as the cart and orders in a shop.

Tag Manager or tracking code?

As soon as you measure more than page views, the Tag Manager. You then maintain events, goals and variables in Matomo, and a change needs no new release of the platform.

Can I measure several platforms in one Matomo instance?

Yes. Each platform becomes its own website in Matomo with its own reports, or several properties share one website if they are to be analysed together. That belongs in the tracking concept.

How does Matomo data get into other systems?

Through the Reporting API, exports as CSV or Excel, embedded dashboards and email reports. For BI tools and your own applications, the API is the usual way.

Questions about your setup?

In an intro call we'll look at your situation together.

Book an intro call

Newsletter

Matomo know-how, once a month.

Practical tips on tracking, privacy settings and performance, plus notes on important Matomo updates. No spam, unsubscribe any time.