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

This commit is contained in:
2026-01-22 18:33:05 +01:00
parent 479f02d843
commit ace0e5941c

View File

@@ -1,5 +1,6 @@
import type { Metadata } from 'next';
import { ReactNode } from 'react';
import Script from 'next/script';
export const metadata: Metadata = {
title: 'DiaryWhisper',
@@ -10,6 +11,11 @@ export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang='en'>
<body>{children}</body>
<Script
defer
src="https://analytics.frompixels.com/script.js"
data-website-id="af4f32d9-d524-44cc-ae9b-c88a0beec398"
/>
</html>
);
}