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
According to this: https://github.com/nuxt-community/google-gtag#to-make-sure-that-every-page-is-tracked-correctly
one can put the mounted() Code inside of the layout.vue file which does not work because the layout file has no this.$metaInfo information accessible.
If i am right the readme should be changed from
// make sure to set disableAutoPageTrack: true inside of nuxt.config.js // inside of your Page.vue/Layout.vue file
to
// make sure to set disableAutoPageTrack: true inside of nuxt.config.js // inside of your Page.vue files
BTW: Is there any way to globally import that code as a mixin into all page components only? (Not all components globally)
The text was updated successfully, but these errors were encountered:
I'm facing the same issue. For now I will be using the disableAutoPageTrack to false method
Sorry, something went wrong.
To track all pages, I need to put tracking code on every page. Is there any other way?
Bump ^^
No branches or pull requests
According to this: https://github.com/nuxt-community/google-gtag#to-make-sure-that-every-page-is-tracked-correctly
one can put the mounted() Code inside of the layout.vue file which does not work because the layout file has no this.$metaInfo information accessible.
If i am right the readme should be changed from
to
BTW: Is there any way to globally import that code as a mixin into all page components only? (Not all components globally)
The text was updated successfully, but these errors were encountered: