docs: integrate google analytics (#10526)
This commit is contained in:
@@ -8,4 +8,5 @@ NEXT_PUBLIC_ALGOLIA_APP_ID=
|
||||
NEXT_PUBLIC_SEGMENT_API_KEY=
|
||||
NEXT_PUBLIC_AI_ASSISTANT_URL=
|
||||
NEXT_PUBLIC_AI_WEBSITE_ID=
|
||||
NEXT_PUBLIC_AI_API_ASSISTANT_RECAPTCHA_SITE_KEY=
|
||||
NEXT_PUBLIC_AI_API_ASSISTANT_RECAPTCHA_SITE_KEY=
|
||||
NEXT_PUBLIC_GA_ID=
|
||||
@@ -25,7 +25,7 @@
|
||||
"date-fns": "^3.3.1",
|
||||
"docs-ui": "*",
|
||||
"mdast-util-toc": "^7.0.0",
|
||||
"next": "15.0.1",
|
||||
"next": "15.0.4",
|
||||
"next-contentlayer": "^0.3.4",
|
||||
"next-themes": "^0.2.1",
|
||||
"postcss": "8.4.27",
|
||||
|
||||
@@ -56,7 +56,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}
|
||||
>
|
||||
<TightLayout
|
||||
sidebarProps={{
|
||||
expandItems: true,
|
||||
|
||||
Reference in New Issue
Block a user