diff --git a/app/layout.tsx b/app/layout.tsx index 3e23a56..c8d8f3b 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,5 +1,5 @@ -import { Analytics } from '@vercel/analytics/react' import type { Metadata } from 'next' +import Script from 'next/script' import { ButtonUp } from '@/components/button/button-up' import Navbar from '@/components/navbar/navbar' @@ -19,10 +19,24 @@ export default function RootLayout({ }: { children: React.ReactNode }) { + const UMAMI_ANALYTICS = process.env.NEXT_PUBLIC_ANALYTICS_ID + const environment = process.env.NODE_ENV + return ( -