add google tag manager

This commit is contained in:
drupaldev143
2024-12-15 09:23:44 +03:30
parent 33d9fdf52c
commit 5ea00294c5
3 changed files with 23577 additions and 2 deletions
+2
View File
@@ -2,6 +2,7 @@ import "./globals.css";
import ThemeRegistry from "./component/ThemeRegistry";
import "jalaali-react-date-picker/lib/styles/index.css";
import { Providers } from "./Providers";
import { GoogleTagManager } from "@next/third-parties/google";
// Toastify
import "react-toastify/dist/ReactToastify.css";
@@ -24,6 +25,7 @@ export default function RootLayout({ children }) {
content="width=device-width,initial-scale=1,maximum-scale=1"
/>
<ThemeRegistry>
<GoogleTagManager gtmId="G-HG3RZ1PJS5" />
<body className="bg-[#FAFAFA]">
<Providers>{children}</Providers>
<CustomToastify />