Skip to content

Commit 7159bda

Browse files
committed
added web analytics from vercel
1 parent 5728973 commit 7159bda

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

app/layout.tsx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,19 @@ export default function RootLayout({
3131
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
3232
>
3333
{children}
34-
<SpeedInsights/>
35-
<Analytics/>
34+
<SpeedInsights />
35+
<Analytics />
3636
</body>
37+
38+
<!-- Google tag (gtag.js) -->
39+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-76J0DNMDT5"></script>
40+
<script>
41+
window.dataLayer = window.dataLayer || [];
42+
function gtag(){dataLayer.push(arguments);}
43+
gtag('js', new Date());
44+
45+
gtag('config', 'G-76J0DNMDT5');
46+
</script>
3747
</html>
3848
);
3949
}

0 commit comments

Comments
 (0)