Closed nachogarcia closed 4 years ago
I think GTM does not need jQuery, it's just that they also included a jQuery license because part of their code is very similar to it. Looks like my client is injecting some code in the tag that needs jQuery and that is the cause of the issue. Will look into it, and if the problem continues I would reopen the issue.
I have the same issue: https://blabstudiostighidi.netlify.com/
Don't have jquery installed and not planning to do it. Any help?
thanks!
Version
latest
Steps to reproduce
Install the module, add the ID and start the app.
What is expected ?
The module works properly
What is actually happening?
It breaks because it needs Jquery
Looks like GTM needs jQuery to work. Maybe we should put it as a peer dependency.
Additional comments?
I'm also using https://github.com/nuxt-community/analytics-module and it works flawlessly.