tracking + web vitals

This commit is contained in:
2025-04-29 20:09:37 +02:00
parent 26ceef1740
commit 5888b46b25
4 changed files with 105 additions and 2 deletions

View File

@ -1,7 +1,8 @@
import "@/styles/globals.css";
import PlausibleProvider from "next-plausible";
import { type Metadata } from "next";
import { Geist } from "next/font/google";
import { WebVitals } from "./components/web-vitals";
export const metadata: Metadata = {
title:
@ -21,7 +22,16 @@ export default function RootLayout({
}: Readonly<{ children: React.ReactNode }>) {
return (
<html lang="en" className={geist.variable}>
<body>{children}</body>
<PlausibleProvider
domain="investingfire.com"
customDomain="https://analytics.schulze.network"
selfHosted={true}
enabled={true}
trackOutboundLinks={true}
>
<WebVitals />
<body>{children}</body>
</PlausibleProvider>
</html>
);
}