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
As I understand it, @nuxt/script should give better performance using the embedded third-party scripts.
However when I use GTM or GoogleAnalytics I see the same hit in PageSpeed reports as using the "vanilla" scripts:
I've done the simple implementation of adding this in my App.vue: GTM:
useScriptGoogleTagManager({ id: 'GTM-WHHKRNTJ', })
Google Analytics:
useScriptGoogleAnalytics({ id: 'G-0HXKBMGTW0', })
Have I misunderstood the concept of this package?
No response
The text was updated successfully, but these errors were encountered:
for me the same
$production: { scripts: { registry: { googleTagManager: { scriptOptions: { tagPosition: 'bodyClose', }, id: id, } } } }
Sorry, something went wrong.
No branches or pull requests
📚 What are you trying to do?
As I understand it, @nuxt/script should give better performance using the embedded third-party scripts.
However when I use GTM or GoogleAnalytics I see the same hit in PageSpeed reports as using the "vanilla" scripts:
I've done the simple implementation of adding this in my App.vue:
GTM:
Google Analytics:
Have I misunderstood the concept of this package?
🔍 What have you tried?
No response
ℹ️ Additional context
No response
The text was updated successfully, but these errors were encountered: