Google Tag Manager - dataLayer net::ERR_ABORTED

besnikh
0
besnikh
commented 7 months ago

Hi,
I just installed Google Tag Manager module, and managed to track GA Pageviews, when I disabled the Preview mode I am getting this error in my console:
GET http://www.googletagmanager.com/gtm.js?id=GTMxxxxx&l=dataLayer net::ERR_ABORTED

I tried to do the following nuxt.conf

['@nuxtjs/google-tag-manager', { id: 'GTM-xxxxx', layer: 'dataLayer' }],

Am I missing something or this is a bug.
Please note that when I am in preview mode, the error is not showing

Thnx in advance,

0
nicoladl
28
nicoladl
commented 7 months ago

@besnikh have you publish your container?

0
paulgv
3.1k
paulgv
commented 7 months ago

My first guess would be that you have some sort of ads blocker that cancels GTM's requests.

0
nicoladl
28
nicoladl
commented 7 months ago

@besnikh have you publish your container?

0
besnikh
0
besnikh
commented 7 months ago

@nicoladl I have to kill myself :(

0
nicoladl
28
nicoladl
commented 7 months ago

glad to help!

0
Informations
Question โ€ข Resolved
#c69 - Created 7 months ago