File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import Header from '../components/header';
66import Footer from '../components/footer' ;
77import GlobalModal from '@/components/modal/globalModal' ;
88import QueryProvider from '@/components/providers/queryProvider' ;
9- import { GoogleAnalytics } from '@next/third-parties/google' ;
9+ import { GoogleAnalytics , GoogleTagManager } from '@next/third-parties/google' ;
1010
1111const pretendard = localFont ( {
1212 src : [
@@ -38,6 +38,7 @@ export default function RootLayout({
3838} > ) {
3939 return (
4040 < html lang = "ko" className = { pretendard . variable } >
41+ < GoogleTagManager gtmId = "GTM-MSQ45TJD" />
4142 < body className = "flex min-h-screen flex-col" >
4243 < QueryProvider >
4344 < Header />
@@ -50,7 +51,6 @@ export default function RootLayout({
5051 strategy = "beforeInteractive"
5152 />
5253 </ body >
53- < GoogleAnalytics gaId = "G-3FN93H79SZ" />
5454 </ html >
5555 ) ;
5656}
You can’t perform that action at this time.
0 commit comments