From 688432cff171a420898733f071ab8df1b3dd0916 Mon Sep 17 00:00:00 2001 From: Mohamed Gado Date: Mon, 23 Sep 2024 19:59:34 +0300 Subject: [PATCH] feat: Add Google Tag Manager for tracking page views --- app/layout.tsx | 2 ++ bun.lockb | Bin 218601 -> 219450 bytes package.json | 1 + 3 files changed, 3 insertions(+) diff --git a/app/layout.tsx b/app/layout.tsx index a84e9bc..5c7c203 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -3,6 +3,7 @@ import '@/styles/globals.css' import type { Metadata } from 'next' import { QueryProvider } from '@/providers/query-provider' import { ToastProvider } from '@/providers/toast-provider' +import { GoogleTagManager } from '@next/third-parties/google' import { Analytics } from '@vercel/analytics/react' import { siteConfig } from '@/config/site' @@ -96,6 +97,7 @@ export default function RootLayout({ children, modal }: RootLayoutProps) {