add tag manager
This commit is contained in:
+3
-1
@@ -2,7 +2,8 @@ import "./globals.css";
|
||||
import ThemeRegistry from "./component/ThemeRegistry";
|
||||
import "jalaali-react-date-picker/lib/styles/index.css";
|
||||
import { Providers } from "./Providers";
|
||||
import { GoogleAnalytics } from '@next/third-parties/google'
|
||||
import { GoogleAnalytics } from "@next/third-parties/google";
|
||||
import { GoogleTagManager } from "@next/third-parties/google";
|
||||
|
||||
// Toastify
|
||||
import "react-toastify/dist/ReactToastify.css";
|
||||
@@ -25,6 +26,7 @@ export default function RootLayout({ children }) {
|
||||
content="width=device-width,initial-scale=1,maximum-scale=1"
|
||||
/>
|
||||
<ThemeRegistry>
|
||||
<GoogleTagManager gtmId="GTM-NXBSV7GS" />
|
||||
<body className="bg-[#FAFAFA]">
|
||||
<Providers>{children}</Providers>
|
||||
<CustomToastify />
|
||||
|
||||
Reference in New Issue
Block a user