Skip to content
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

This plugin doesn't work for AW-* tags #15

Open
danieldanielecki opened this issue Oct 16, 2023 · 2 comments
Open

This plugin doesn't work for AW-* tags #15

danieldanielecki opened this issue Oct 16, 2023 · 2 comments

Comments

@danieldanielecki
Copy link

It creates an error [nuxt] error caught during app initialization Error: 'AW-*' is not a valid GTM-ID (/^GTM-[0-9A-Z]+$/). Did you mean 'GTM-*'?, which is issue one.

However, it also creates very unintuitive error when using Vuetify for a project, namely nuxt.js?v=49ff4004:96 [nuxt] error caught during app initialization Error: [Vuetify] Could not find defaults instance. Lots of functionalities don't work with that setup.

Repo to reproduce: https://github.com/Doyban/Doyban-Website/tree/cab0e05bd28d2e11241b88a72087c001dc2ba188

I tried Node 16/18/20, Vuetify with/out SSR, and the same issue.

@danieldanielecki
Copy link
Author

PS. What you need apart from yarn && yarn install is an environmental variable in .env file GTM_ID=AW-*, to reproduce.

@danieldanielecki
Copy link
Author

ahh, and tried with runtimeConfig.public and without as well!

danieldanielecki added a commit to Doyban/Doyban-Website that referenced this issue Oct 25, 2023
…-gtm' plugin to improve code readability and remove potential confusion

🔒 chore(nuxt.config.ts): temporarily disable GTM plugin due to unresolved issue (zadigetvoltaire/nuxt-gtm#15) and add a TODO comment for future reference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant