-
Notifications
You must be signed in to change notification settings - Fork 27
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 can I set window['ga-disable-UA-XXXX-XX'] to true initially #20
Comments
try with |
The problem is that even with disableAutoPageTrack set to true the gtag cookie is still set. Is there a way to avoid that? |
This is the most important functionality, otherwise no one can use this module on their website without being sued (in worst case). Even, if you ask people for their consent, you are not allowed to enable any analytics or tracking before the user has actually clicked yes. Otherwise it would be a violation of EU ePrivacy directive, GDPR or both. This applies to all websites, no matter where they are hosted, as long as european citizens are part of the target group of that website. |
This is the only (not quite good) solution working for me at the moment. This is the code within my cookie component...
|
Any update? |
I'd like to implement an Opt-In component in my nuxt app to actively opt into Google Analytics Tracking (due to European DSGVO regulation). Is there a way to set
window['ga-disable-UA-XXXX-XX'] = true
initially to preventgtag()
to start tracking?Only when the user hits an agree-button the i'd like to set
window['ga-disable-UA-XXXX-XX'] = false
programmatically in my Nuxt-component. Is that possible, too?Thanks for helping out.
The text was updated successfully, but these errors were encountered: