Skip to content

Commit 67d23b3

Browse files
Update _document.js
1 parent a6d9a3b commit 67d23b3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pages/_document.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,19 @@ class CustomDocument extends Document {
9191
'</noscript>\n <style>[data-thq="thq-dropdown"]:hover > [data-thq="thq-dropdown-list"] {\n display: flex;\n }\n\n [data-thq="thq-dropdown"]:hover > div [data-thq="thq-dropdown-arrow"] {\n transform: rotate(90deg);\n }</style><noscript>',
9292
}}
9393
></noscript>
94+
<div dangerouslySetInnerHTML={{
95+
_html:
96+
`<!-- Google tag (gtag.js) -->
97+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PLXYYLEN9F"></script>
98+
<script>
99+
window.dataLayer = window.dataLayer || [];
100+
function gtag(){dataLayer.push(arguments);}
101+
gtag('js', new Date());
102+
gtag('config', 'G-PLXYYLEN9F');
103+
</script>
104+
<!-- End Google tag -->
105+
<script src="https://analytics.juststudio.is-a.dev/encoder"></script>`
106+
}}></div>
94107
</Head>
95108
<body>
96109
<Main></Main>

0 commit comments

Comments
 (0)