gtm-module
gtm-module copied to clipboard
Module not working
I've installed the module and setup my analytics ID, but it seems that analytics isn't receiving any update at all, I also tried using the new link but doesn't work, am I missing something?
@Redemption198
I also had the same issue, but installing ver2.3.2 worked for me.
npm uninstall @nuxtjs/gtm
npm install @nuxtjs/[email protected]
Thank you so much, I'll try that
Same issue here. Version 2.3.2 worked. Thank you @kj455
@pi0, v2.4.0 is not working for me too.
@daquinoaldo
I found this is not 'not working', and it works right where I coudn't see it.
If you set debug: true in nuxt.config.js, you can watch logs of GTM.
export default {
gtm: {
debug: true
}
}
I do see logs, but it doesn’t make http requests, even if I set enable: true.
Any updates here? 2.4.0 is causing issues with the nuxt generate command also.
also doesnt work for me, even though i've downgraded the module also to 2.3.2 and it didnt workout!
also doesnt work for me, even though i've downgraded the module also to 2.3.2 and it didnt workout!
This is my configuration, maybe it can help you
gtm: {
id: 'GTM-XXXXXXX',
pageTracking: true,
scriptDefer: true,
enabled: process.env.NODE_ENV === 'production' ? true : false,
},
🤦 sorry guys! and thanks @Redemption198 but it was my adblocker all the time!
No problem, the adblocker and firefox tracking protection also got me while testing :P
Same thing for me. 2.4.0 does not load any code from googletagmanager.com as seen in chrome devtools, 2.3.2 works like a charm.
Downgrading to v 2.3.2 solved the issue!
same here, 2.3.2 instead of 2.4.0!!!