Skip to content

Commit

Permalink
fix(google-tag-manager): fixed noscript content sanitization (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
zsavajji authored and pi0 committed Nov 1, 2019
1 parent 4d61053 commit 7531faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/google-tag-manager/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module.exports = async function nuxtTagManager(_options) {

// prepend google tag manager <noscript> fallback to <body>
this.options.head.noscript.push({
vmid: 'gtm-noscript',
hid: 'gtm-noscript',
innerHTML: `<iframe src="${(options.noscriptURL || '//www.googletagmanager.com/ns.html')}?${queryString}" height="0" width="0" style="display:none;visibility:hidden"></iframe>`,
pbody: true
})
Expand Down

0 comments on commit 7531faf

Please sign in to comment.