diff --git a/src/app/layout.tsx b/src/app/layout.tsx index f51f549..1d99686 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -2,6 +2,7 @@ import "./globals.css"; import "reactflow/dist/base.css"; import "reactflow/dist/style.css"; import type { Metadata, Viewport } from "next"; +import Metrics from "@/metrics"; export const metadata: Metadata = { title: "Sync-D", @@ -25,6 +26,7 @@ export default function RootLayout({ return ( {children} + ); } diff --git a/src/metrics/GoogleAnalytics.tsx b/src/metrics/GoogleAnalytics.tsx new file mode 100644 index 0000000..f69b69f --- /dev/null +++ b/src/metrics/GoogleAnalytics.tsx @@ -0,0 +1,29 @@ +"use client"; + +import Script from "next/script"; + +const GoogleAnalytics = () => { + return ( + <> +