feat: add analytics
Some checks failed
Deploy / lint-build-deploy (push) Failing after 1m16s

This commit is contained in:
2026-01-22 18:34:35 +01:00
parent 1fa12c6c63
commit d6934e8f90

View File

@@ -1,4 +1,5 @@
import type { Metadata } from 'next'; import type { Metadata } from 'next';
import Script from 'next/script';
export const metadata: Metadata = { export const metadata: Metadata = {
title: 'DiaryWhisper', title: 'DiaryWhisper',
@@ -13,6 +14,11 @@ export default function RootLayout({
return ( return (
<html lang='en'> <html lang='en'>
<body>{children}</body> <body>{children}</body>
<Script
defer
src="https://analytics.frompixels.com/script.js"
data-website-id="922dfc50-84ea-4e4e-a421-a03a00a4421c"
/>
</html> </html>
); );
} }