feat(website): add Plausible analytics to all pages

This commit is contained in:
Mohamed Boudra
2026-04-08 11:18:03 +07:00
parent bf7d3c2775
commit ac5e6df6c9
+6
View File
@@ -53,6 +53,12 @@ function RootDocument({ children }: Readonly<{ children: ReactNode }>) {
<html lang="en">
<head>
<HeadContent />
<script async src="https://plausible.io/js/pa-cKNUoWbeH_Iksb2fh82s3.js" />
<script
dangerouslySetInnerHTML={{
__html: `window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};plausible.init()`,
}}
/>
</head>
<body className="antialiased bg-background text-foreground">
{children}