docs: integrate google analytics (#10526)

This commit is contained in:
Shahed Nasser
2024-12-10 13:16:12 +02:00
committed by GitHub
parent de81187929
commit 0c1bbbac2a
19 changed files with 156 additions and 93 deletions

View File

@@ -53,7 +53,10 @@ export default function RootLayout({
children: React.ReactNode
}) {
return (
<BareboneLayout htmlClassName={clsx(inter.variable, robotoMono.variable)}>
<BareboneLayout
htmlClassName={clsx(inter.variable, robotoMono.variable)}
gaId={process.env.NEXT_PUBLIC_GA_ID}
>
<WideLayout
sidebarProps={{
expandItems: false,