Skip to content

Commit

Permalink
Merge pull request #9 from uddugteam/redesign
Browse files Browse the repository at this point in the history
  • Loading branch information
andskur authored Mar 4, 2024
2 parents befb8cc + caab120 commit 0829ff1
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,28 @@ export default function Document() {
strategy='lazyOnload'
src={`https://www.googletagmanager.com/gtag/js?id=XXXXXXXXXX`}
/>

<Script
strategy='lazyOnload'
src={`https://www.googletagmanager.com/gtag/js?id=G-1LQ0CQHBYY`}
/>
{/* eslint-disable-next-line @next/next/inline-script-id */}
<Script strategy='lazyOnload'>
{`
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-177155812-1');
`}
</Script>
{/* eslint-disable-next-line @next/next/inline-script-id */}
<Script strategy='lazyOnload'>
{`
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-1LQ0CQHBYY');
`}
</Script>
{/* eslint-disable-next-line @next/next/no-title-in-document-head */}
Expand Down Expand Up @@ -78,6 +91,14 @@ export default function Document() {
rel='stylesheet'
/>
<body>
<noscript>
<iframe
src='https://www.googletagmanager.com/ns.html?id=GTM-59SZ89GV'
height='0'
width='0'
style={{ display: 'none', visibility: 'hidden' }}
></iframe>
</noscript>
<Main />
<NextScript />
</body>
Expand Down

0 comments on commit 0829ff1

Please sign in to comment.