I want to implement the Matomo Tag Manager and need to offer an option to the user to activate it.
For the “classic” integration there is the rememberConsentGiven (documentation method. But I couldn’t find an option for the Tag Manager API. Any help?
Short update: Looking at https://matomo.org/docs/tag-manager/#2-configure-when-a-tag-should-be-executed it turns out that you must control configured tags through triggers by yourself (f.e. create a cookie for the consent selection and use this value activate/disable the tag.
1 Like