Noscript tag rendering with ampersand in src
VladimirMoroz95 opened this issue · 1 comments
VladimirMoroz95 commented
I copied settings from https://github.com/nuxt-community/gtm-module, but gtm not working.
misterorion commented
I had this problem too and analytics team was complaining at me.
My temporary solution was to manually remove that code from line 95 in the module.js file.
Before:
const renderIframe = id => `<iframe src="${options.noscriptURL + '?id=' + id + '&' + queryString}" height="0" width="0" style="display:none;visibility:hidden" title="gtm"></iframe>`
After:
const renderIframe = id => `<iframe src="${options.noscriptURL + '?id=' + id}" height="0" width="0" style="display:none;visibility:hidden" title="gtm"></iframe>`