File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import "./global.css"
22import { RootProvider } from "fumadocs-ui/provider"
33import { Metadata } from "next"
44import { Inter } from "next/font/google"
5+ import Script from "next/script"
56import type { ReactNode } from "react"
67
78const inter = Inter ( {
@@ -21,6 +22,13 @@ export default function Layout({ children }: { children: ReactNode }) {
2122 return (
2223 < html lang = "en" className = { inter . className } suppressHydrationWarning >
2324 < body className = "flex flex-col min-h-screen" >
25+ < Script
26+ src = { process . env . NEXT_PUBLIC_ANALYTICS_URL }
27+ data-site-id = { process . env . NEXT_PUBLIC_ANALYTICS_SITE_ID }
28+ data-web-vitals = "true"
29+ data-track-errors = "true"
30+ async
31+ />
2432 < RootProvider > { children } </ RootProvider >
2533 </ body >
2634 </ html >
You can’t perform that action at this time.
0 commit comments