← All integrations
Matomo logo
Analytics ★ Native API

Matomo

Works with Matomo Cloud and self-hosted instances. Compatible with cookie-free tracking mode.

Matomo has a built-in Consent API that expects your CMP to call specific methods when consent state changes. Intastellar Consents calls _paq.push(['rememberConsentGiven']) and _paq.push(['forgetConsentGiven']) automatically based on the visitor's analytics consent decision.

How to set up

1

Enable consent mode in Matomo

In your Matomo instance, go to Administration → Privacy → Asking for consent and enable "Matomo Consent Manager". This puts Matomo into consent-required mode.

2

Install Intastellar Consents

Add the Intastellar Consents script to your site. The Matomo consent API calls are made automatically. No custom code required.

3

Verify

Visit your site in incognito mode. Matomo should not record the visit until analytics consent is accepted. Accept consent, reload: the session should now appear in your Matomo reports.

What you get

  • Calls rememberConsentGiven and forgetConsentGiven automatically
  • Compatible with Matomo Cloud and self-hosted instances
  • Works with Matomo's cookie-free tracking mode
  • Consent state updates in real time on preference change
  • Compatible with Matomo Tag Manager

Ready to connect Matomo?

Two script tags and this integration is live. No signup required.