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

Document "How do I create a custom opt-out form?" #12905

Closed
mattab opened this issue May 14, 2018 · 4 comments
Closed

Document "How do I create a custom opt-out form?" #12905

mattab opened this issue May 14, 2018 · 4 comments
Assignees
Labels
c: Website matomo.org For issues related to our matomo.org website.
Milestone

Comments

@mattab
Copy link
Member

mattab commented May 14, 2018

let's document the useful feature of "Creating a custom opt-out".

An example was provided in #12829 (comment)

We could add this doc next to the "Asking for consent" guide here: https://developer.matomo.org/guides/tracking-javascript-guide#asking-for-consent

follows up #12829, related to #8342

@mattab mattab added the c: Website matomo.org For issues related to our matomo.org website. label May 14, 2018
@mattab mattab added this to the 3.5.1 milestone May 14, 2018
@diosmosis diosmosis self-assigned this May 14, 2018
@diosmosis
Copy link
Member

@noniq
Copy link

noniq commented May 15, 2018

I just discovered this and already implemented it on one of our sites – works great!

One thing I noticed: When using the default opt-out iframe, it also handles the case of users having “Do Not Track” activated in their browser (“You are not being tracked since your browser is reporting that you do not want to. This is a setting of your browser so you won't be able to opt-in until you disable the 'Do Not Track' feature.”) Is there an (easy) way of replicating this behaviour with a custom opt-out form, too? If so, it might be useful to include this in the example.

@Findus23
Copy link
Member

@noniq you can use https://developer.mozilla.org/en-US/docs/Web/API/Navigator/doNotTrack for detecting it.
Just keep in mind that it is different in every browser.

@mattab
Copy link
Member Author

mattab commented May 17, 2018

@mattab mattab closed this as completed May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Website matomo.org For issues related to our matomo.org website.
Projects
None yet
Development

No branches or pull requests

4 participants