Skip to content

Commit d90ac53

Browse files
Fix/change googletag (#1471)
Co-authored-by: Amy Reeve <[email protected]>
1 parent 600d215 commit d90ac53

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

config/scripts.config.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ const headTags = [
1818

1919
{
2020
tagName: 'script',
21-
attributes: {
22-
src: 'https://www.googletagmanager.com/gtm.js?id=GTM-5V25JL6',
23-
async: "true",
24-
},
21+
attributes: {},
22+
innerHTML: "(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-5V25JL6');"
2523
}
2624
];
2725

0 commit comments

Comments
 (0)