We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Calling this.$gtag.optOut() has no effect.
After this.$gtag.optOut() tracking should be inactive.
Tracking continues.
When using optOut(), which is a wrapper of disable(false), the value of config.id is null. So the window property is not set correctly:
optOut()
disable(false)
config.id
window[ga-disable-null]: true
npm ls vue-gtag: [email protected]
npm ls vue-gtag
The text was updated successfully, but these errors were encountered:
Can confirm. Also not working for me. npm ls vue-gtag: [email protected]
EDIT: Since I have a Vue3 project I refactored to vue-gtag-next works like a charm.
vue-gtag-next
Sorry, something went wrong.
No branches or pull requests
Description
Calling this.$gtag.optOut() has no effect.
Expected behavior
After this.$gtag.optOut() tracking should be inactive.
Actual behavior
Tracking continues.
When using
optOut()
, which is a wrapper ofdisable(false)
, the value ofconfig.id
is null.So the window property is not set correctly:
window[ga-disable-null]: true
Environment
npm ls vue-gtag
: [email protected]The text was updated successfully, but these errors were encountered: