From 552c0dd15d8e780913b44ffb57e8e877783c7f31 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Sat, 21 Sep 2024 15:05:06 +0200 Subject: Add google analytics component --- app/layout.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'app') diff --git a/app/layout.tsx b/app/layout.tsx index b41b50f..f693908 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,4 +1,6 @@ import type { Metadata } from "next"; +import { GoogleAnalytics } from '@next/third-parties/google' + import localFont from "next/font/local"; import "./globals.css"; @@ -25,11 +27,10 @@ export default function RootLayout({ }>) { return ( -
+ {children} +