@yurizhang opened this Issue on August 6th 2020

Hi,
How do I disable cookies in Tag Manager?
I can find how to do it in regular Matomo (below code), but nothing in the Tag Manager API.
// Call disableCookies before calling trackPageView
_paq.push([‘disableCookies’]);
_paq.push([‘trackPageView’]);

so can i user it??

_mtm.push(['disableCookies']);

@tsteur commented on August 6th 2020 Member

@yurizhang you can do this by editing the Matomo configuration variable. There is a setting for this:
image

For future questions please ask in our forums where we answer questions: https://forum.matomo.org/

Here in GitHub we only manage bug reports and feature requests and usually don't answer questions. Thanks for understanding.

This Issue was closed on August 6th 2020
Powered by GitHub Issue Mirror