-
Notifications
You must be signed in to change notification settings - Fork 45
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 to init matomo _after_ user has accepted terms? #91
Comments
I would start by adding |
Actually that didn't do the trick for me - I needed to track that state myself to get all working as expected. |
If you'd like to check the "standard" behavior, then:
You'll see that in this app, no tracking occurs before user consent is provided. If your use case required something different, I'm willing to have a look at it! |
Yeah, the main reason is that we need to use this plugin - https://plugins.matomo.org/AjaxOptOut - and if we do that So I just resolved this by storing this tracking status to local storage and if it's accepted then I do that query otherwise not - simple solution after some testing. |
Thanks for the information. |
We've an issue because we don't want to initialize Matomo, before user has accepted the terms of service. How would we do this?
For now it looks like that init is causing that matomo is loaded before user has accepted this.
The text was updated successfully, but these errors were encountered: