From 052c29a515f9d41f1c60aceb01437cba0c04c111 Mon Sep 17 00:00:00 2001 From: KMKoushik Date: Tue, 21 May 2024 06:41:15 +1000 Subject: [PATCH] Add simple analytic --- apps/marketing/src/app/layout.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/marketing/src/app/layout.tsx b/apps/marketing/src/app/layout.tsx index 112612f..0b2fb20 100644 --- a/apps/marketing/src/app/layout.tsx +++ b/apps/marketing/src/app/layout.tsx @@ -2,6 +2,7 @@ import "@unsend/ui/styles/globals.css"; import type { Metadata } from "next"; import { Inter } from "next/font/google"; import { ThemeProvider } from "@unsend/ui"; +import Script from "next/script"; const inter = Inter({ subsets: ["latin"] }); @@ -34,6 +35,9 @@ export default function RootLayout({ }>) { return ( + {process.env.NODE_ENV === "production" && ( +