diff --git a/app/layout.tsx b/app/layout.tsx index cef3b19b..12edf941 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -4,7 +4,7 @@ import "./styles/markdown.scss"; import "./styles/highlight.scss"; import { getClientConfig } from "./config/client"; import { type Metadata } from "next"; -import { GoogleTagManager } from "@next/third-parties/google"; +import { GoogleAnalytics } from "@next/third-parties/google"; export const metadata: Metadata = { title: "WebLLM Chat", @@ -61,10 +61,8 @@ export default function RootLayout({ {children} - {process.env.GTM_ID && ( - <> - - + {process.env.GOOGLE_ANALYTICS_ID && ( + )}