-
Does it work with Matomo Tracking code? |
Beta Was this translation helpful? Give feedback.
Answered by
orestbida
Mar 25, 2022
Replies: 1 comment 4 replies
-
Hi @mjegulla, yes, but you need to configure the tracking code appropriately. Check out matomo's docs. Here is one way you could implement it:
You'll need to define the 'analytics' category inside the plugin for this to work. Also note that the above code will fully disable matomo's tracking (and not just cookies) if the user doesn't accept the analytics category. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
orestbida
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @mjegulla,
yes, but you need to configure the tracking code appropriately. Check out matomo's docs.
Here is one way you could implement it:
_paq.push(['requireConsent'])
):