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

User Opt Out not correct #18595

Closed
marcelcz1 opened this issue Jan 10, 2022 · 2 comments
Closed

User Opt Out not correct #18595

marcelcz1 opened this issue Jan 10, 2022 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@marcelcz1
Copy link

Hi,
I wanted to implement the opt out button for matomo to our privacy page, but the text of the pre-built html code is not correct.
It marks that the visit is not tracked on matomo at the moment and by clicking on the checkbox it will activate the tracking. Normally the text should be the opposite (tracking is active, checkbox to opt out).
How can I change this?

html code:

<iframe style="border: 0; height: 200px; width: 600px;" src="https://iternity.com/analytics/index.php?module=CoreAdminHome&action=optOut&language=de&backgroundColor=&fontColor=&fontSize=&fontFamily=" ></iframe>

preview:
Deaktivierung durchgeführt! Ihre Besuche auf dieser Webseite werden von der Webanalyse nicht mehr erfasst. Bitte beachten Sie, dass auch der Matomo-Deaktivierungs-Cookie dieser Webseite gelöscht wird, wenn Sie die in Ihrem Browser abgelegten Cookies entfernen. Außerdem müssen Sie, wenn Sie einen anderen Computer oder einen anderen Webbrowser verwenden, die Deaktivierungsprozedur nochmals absolvieren.
Ihr Besuch dieser Webseite wird aktuell von der Matomo Webanalyse nicht erfasst. Diese Checkbox aktivieren für Opt-In.

@bx80
Copy link
Contributor

bx80 commented Jan 11, 2022

Hi @marcelcz1, thanks for contacting us. The opt out text will automatically change to opt in if Matomo detects that the user is not currently being tracked. Are you testing using a browser that is configured with the 'Do not track' preference? It's possible that this would cause tracking to be disabled and the opt in text would then be shown.

@marcelcz1
Copy link
Author

Hi @bx80 , thank you for the explanation. I've implemented the code again and tested it with several people and it works fine, so it was the "do not track" preference that caused this problem.

@sgiehl sgiehl added the answered For when a question was asked and we referred to forum or answered it. label Jan 19, 2022
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

3 participants