Google Consent Mode allows websites to adjust how Google tags behave based on the user’s consent status. It helps ensure compliance with privacy regulations by allowing sites to use Google services while respecting user preferences.

Integrating Google Consent Mode into Matomo Tag Manager ensures that your tracking is compliant with privacy regulations such as GDPR and e-Privacy Directive. It allows you to manage user consent centrally and control how data is collected and processed based on user preferences.

Allowed consent types are:
ad_storage
ad_user_data
ad_personalization
analytics_storage
functionality_storage
personalization_storage
security_storage

Allowed consent states are denied or granted.

  1. In Matomo Tag Manager, navigate to Tags and click Create New Tag.
  2. Select the Google Consent Mode tag and provide a descriptive name.
  3. By default, the consent mode action is “update”, set it to default with denied as the consent state, if you do not have any consent from the user.
  4. Set the appropriate state for each consent type.
  5. Set an appropriate trigger for this tag
  6. Save the new tag.
  7. Use Preview and Debug mode to test your setup before publishing.
Previous FAQ: How to add Google Ads Remarketing Tags in Matomo Tag Manager