File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
apps/web-roo-code/src/app Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 11import React from "react"
22import type { Metadata } from "next"
33import { Inter } from "next/font/google"
4+ import Script from "next/script"
45
56import { Providers } from "@/components/providers"
67
@@ -52,6 +53,16 @@ export default function RootLayout({ children }: { children: React.ReactNode })
5253 />
5354 </ head >
5455 < body className = { inter . className } >
56+ { /* Google tag (gtag.js) */ }
57+ < Script src = "https://www.googletagmanager.com/gtag/js?id=AW-17391954825" strategy = "afterInteractive" />
58+ < Script id = "google-analytics" strategy = "afterInteractive" >
59+ { `
60+ window.dataLayer = window.dataLayer || [];
61+ function gtag(){dataLayer.push(arguments);}
62+ gtag('js', new Date());
63+ gtag('config', 'AW-17391954825');
64+ ` }
65+ </ Script >
5566 < div itemScope itemType = "https://schema.org/WebSite" >
5667 < link itemProp = "url" href = "https://roocode.com" />
5768 < meta itemProp = "name" content = "Roo Code" />
You can’t perform that action at this time.
0 commit comments