diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a94774ec..0d8c5d85 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -14,7 +14,7 @@ dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = - 'https://www.googletagmanager.com/gtm.js?id={{ .Site.Params.googleTagManagerID }}' + i + dl; + 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', '{{ .Site.Params.googleTagManagerID }}');