google Analytics

This commit is contained in:
vidhya 2026-06-24 10:29:54 +05:30
parent c8a5572dfd
commit ce4effba47

View File

@ -265,7 +265,7 @@ export default function RootLayout({ children }) {
</Script> </Script>
{/* Google Analytics */} {/* Google Analytics */}
<Script {/* <Script
async async
src="https://www.googletagmanager.com/gtag/js?id=G-KM1KJW539N" src="https://www.googletagmanager.com/gtag/js?id=G-KM1KJW539N"
/> />
@ -276,6 +276,21 @@ export default function RootLayout({ children }) {
gtag('js', new Date()); gtag('js', new Date());
gtag('config', 'G-KM1KJW539N'); gtag('config', 'G-KM1KJW539N');
`} `}
</Script> */}
{/* Google Analytics */}
<Script
async
src="https://www.googletagmanager.com/gtag/js?id=G-DJWSZZ9G24"
/>
<Script id="google-analytics" strategy="afterInteractive">
{`
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-DJWSZZ9G24');
`}
</Script> </Script>