gtm-module: GTM is not detected by Google Tag Assistant
Hi, i’m using the latest version of @nuxtjs/gtm, 2.4.0. The issue is the GTM is not detected by the Tag Assistant. I can see that GTM code is on the website. However, it doesn’t look like it is working as Google Analytics is not receiving any data meaning the tag did not fire.
//nuxt.config.js
ssr: false,
target: 'static',
....
modules: [
'@nuxtjs/axios',
'@nuxtjs/auth-next',
'bootstrap-vue/nuxt',
'@nuxtjs/pwa',
'@nuxtjs/gtm'
],
gtm: {
enabled: true,
id: 'GTM-NBL87DW',
pageTracking: true,
pageViewEventName: 'routerView',
},
....
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 1
- Comments: 26
I got the same problem. I solved this by updating nuxt to 2.15.0, then I added this fields to gtm property
Also I had published the container in GTM (I think that’s what fixed it)
Solved it:
you must PUBLISH the container in Google Tag Manager
Downgrading to v 2.3.2 solved the issue