When Matomo Requires Consent
Matomo can operate in different modes. Consent may be required if you enable:
- Tracking cookies
- Cross-page user identification
- Campaign attribution
- Heatmaps
- Session recordings
- Any feature that stores or accesses non-essential identifiers
Even when self-hosted or configured for reduced data collection, certain setups may still fall within consent requirements.
IP anonymization and first-party hosting reduce risk, but they do not automatically remove the need for consent.
What Happens Before Consent
Until the required consent category (e.g. “Statistics”) is granted:
- Matomo tracking scripts do not execute
- No analytics cookies are set
- No tracking requests are sent
The Matomo runtime is completely blocked.
How the Integration Works
Intastellar Consents controls Matomo execution through:
- Script blocking at initialization
- Category-based activation logic
- Fetch, XHR, and beacon interception
- Vendor-specific enforcement rules
Execution Flow
- Matomo tracking script is blocked by default
- User selects cookie preferences
- If “Statistics” consent is granted → Matomo initializes
- If declined → tracking remains disabled
- If consent is updated later → state changes apply dynamically
Consent Withdrawal Handling
If a user withdraws consent:
- Further tracking requests are prevented
- Matomo execution is halted
- Existing cookies can be cleared (depending on configuration)
No additional analytics data is processed after withdrawal.
Compatible with Cookie and Cookieless Setups
The integration supports:
- Cookie-based Matomo configurations
- Cookieless tracking setups
- Self-hosted deployments
- Cloud-hosted Matomo instances
Consent enforcement remains consistent regardless of hosting model.