From d53efc0355780ec51b540cb8aaf0c3071dd5fee9 Mon Sep 17 00:00:00 2001 From: Sh Raj Date: Sat, 23 Mar 2024 13:01:14 +0000 Subject: [PATCH] ga_id --- src/app/layout.js | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/app/layout.js b/src/app/layout.js index c551428..50992d7 100644 --- a/src/app/layout.js +++ b/src/app/layout.js @@ -1,6 +1,9 @@ import "./globals.css"; +import Script from "next/script"; + export default function RootLayout({ children }) { + let ga_id = "G-CWL59Y4TR7"; return ( @@ -18,7 +21,7 @@ export default function RootLayout({ children }) { src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1828915420581549" crossorigin="anonymous" > - @@ -26,7 +29,24 @@ export default function RootLayout({ children }) { {`window.dataLayer = window.dataLayer || []; function gtag() {dataLayer.push(arguments)} gtag('js', new Date()); gtag('config', 'G-CWL59Y4TR7');`} - + */} + +