diff --git a/app/layout.jsx b/app/layout.jsx index 6141895..c0abcba 100644 --- a/app/layout.jsx +++ b/app/layout.jsx @@ -1,3 +1,4 @@ +import Script from 'next/script'; import './globals.css'; export const metadata = { @@ -6,10 +7,25 @@ export const metadata = { }; export default function RootLayout({ children }) { + const GA_ID = 'G-PD2JWJHVEM'; // 请在此处替换您的 Google Analytics ID + return ( + {/* Google Analytics */} + {children}