feat: google analytics

This commit is contained in:
2026-09-27 12:18:31 +02:00
parent 60dd92e4b0
commit 8e502b4a01
+12
View File
@@ -203,6 +203,18 @@ export function Layout({ children }: { children: ReactNode }) {
))}
<Meta />
<Links />
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-TJT6NM2DMT"
/>
<script
dangerouslySetInnerHTML={{
__html: `window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-TJT6NM2DMT');`,
}}
/>
</head>
<body className="flex min-h-dvh flex-col">
<a