gtm-module icon indicating copy to clipboard operation
gtm-module copied to clipboard

Module not working

Open Redemption198 opened this issue 4 years ago • 14 comments

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 avatar Apr 13 '21 06:04 Redemption198

@Redemption198 I also had the same issue, but installing ver2.3.2 worked for me.

npm uninstall @nuxtjs/gtm npm install @nuxtjs/[email protected]

kj455 avatar Apr 13 '21 08:04 kj455

Thank you so much, I'll try that

Redemption198 avatar Apr 13 '21 08:04 Redemption198

Same issue here. Version 2.3.2 worked. Thank you @kj455

retroriff avatar Apr 15 '21 14:04 retroriff

@pi0, v2.4.0 is not working for me too.

daquinoaldo avatar Apr 18 '21 14:04 daquinoaldo

@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
  }
}

kj455 avatar Apr 20 '21 05:04 kj455

I do see logs, but it doesn’t make http requests, even if I set enable: true.

daquinoaldo avatar Apr 20 '21 06:04 daquinoaldo

Any updates here? 2.4.0 is causing issues with the nuxt generate command also.

kirtan403 avatar Jun 17 '21 17:06 kirtan403

also doesnt work for me, even though i've downgraded the module also to 2.3.2 and it didnt workout!

danielgroen avatar Jul 14 '21 21:07 danielgroen

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,
},

Redemption198 avatar Jul 15 '21 06:07 Redemption198

🤦 sorry guys! and thanks @Redemption198 but it was my adblocker all the time!

danielgroen avatar Jul 20 '21 07:07 danielgroen

No problem, the adblocker and firefox tracking protection also got me while testing :P

Redemption198 avatar Jul 20 '21 07:07 Redemption198

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.

f213 avatar Dec 24 '21 16:12 f213

Downgrading to v 2.3.2 solved the issue!

GabrielHangor avatar Nov 02 '22 08:11 GabrielHangor

same here, 2.3.2 instead of 2.4.0!!!

donni106 avatar Feb 03 '23 13:02 donni106