docs: integrate google analytics (#10526)
This commit is contained in:
@@ -16,4 +16,5 @@ ALGOLIA_WRITE_API_KEY=
|
||||
ANALYZE_BUNDLE=
|
||||
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=
|
||||
@@ -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,
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"@mdx-js/react": "^3.1.0",
|
||||
"@medusajs/icons": "^2.0.0",
|
||||
"@medusajs/ui": "^3.0.0",
|
||||
"@next/mdx": "15.0.1",
|
||||
"@next/mdx": "15.0.4",
|
||||
"@react-hook/resize-observer": "^2.0.2",
|
||||
"@readme/openapi-parser": "^2.5.0",
|
||||
"algoliasearch": "4",
|
||||
@@ -27,7 +27,7 @@
|
||||
"jsdom": "^22.1.0",
|
||||
"json-schema": "^0.4.0",
|
||||
"json-stringify-pretty-compact": "^4.0.0",
|
||||
"next": "15.0.1",
|
||||
"next": "15.0.4",
|
||||
"next-mdx-remote": "5.0.0",
|
||||
"openapi-sampler": "^1.3.1",
|
||||
"openapi-types": "^12.1.3",
|
||||
@@ -50,7 +50,7 @@
|
||||
"yaml": "^2.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@next/bundle-analyzer": "15.0.1",
|
||||
"@next/bundle-analyzer": "15.0.4",
|
||||
"@types/jsdom": "^21.1.1",
|
||||
"@types/mapbox__rehype-prism": "^0.8.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
|
||||
Reference in New Issue
Block a user