Skip to content

Commit

Permalink
Update _document.js
Browse files Browse the repository at this point in the history
  • Loading branch information
stiemsdev committed Jul 16, 2024
1 parent d2d34ac commit 8b9fb6b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,17 @@ class MyDocument extends Document {
<script
async
src='https://www.googletagmanager.com/gtag/js?id=G-MF9PZPR17H'
/>
/>
<script
dangerouslySetInnerHTML={{
__html: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-MF9PZPR17H');
`,
}}
/>

{/* Google Fonts */}
<link
Expand Down

0 comments on commit 8b9fb6b

Please sign in to comment.