Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I disable cookies in Tag Manager? #16266

Closed
yurizhang opened this issue Aug 6, 2020 · 1 comment
Closed

How do I disable cookies in Tag Manager? #16266

yurizhang opened this issue Aug 6, 2020 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@yurizhang
Copy link

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
Copy link
Member

tsteur commented Aug 6, 2020

@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.

@tsteur tsteur closed this as completed Aug 6, 2020
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants