Skip to content

Commit 5385c62

Browse files
author
Sai Sridhar
committed
Add Google Analytics (G-KZRMDX3JN0)
1 parent 26fd841 commit 5385c62

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

frontend/pages/_document.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ export default function Document() {
1111
rel="stylesheet"
1212
/>
1313
<link rel="icon" href="/favicon.ico" />
14+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-KZRMDX3JN0" />
15+
<script dangerouslySetInnerHTML={{ __html: `
16+
window.dataLayer = window.dataLayer || [];
17+
function gtag(){dataLayer.push(arguments);}
18+
gtag('js', new Date());
19+
gtag('config', 'G-KZRMDX3JN0');
20+
`}} />
1421
<meta name="description" content="Mailair - AI-powered email thread management for service businesses" />
1522
<link rel="manifest" href="/manifest.json" />
1623
<meta name="theme-color" content="#7C3AED" />

0 commit comments

Comments
 (0)