add tag manager
This commit is contained in:
+3
-1
@@ -2,7 +2,8 @@ import "./globals.css";
|
|||||||
import ThemeRegistry from "./component/ThemeRegistry";
|
import ThemeRegistry from "./component/ThemeRegistry";
|
||||||
import "jalaali-react-date-picker/lib/styles/index.css";
|
import "jalaali-react-date-picker/lib/styles/index.css";
|
||||||
import { Providers } from "./Providers";
|
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
|
// Toastify
|
||||||
import "react-toastify/dist/ReactToastify.css";
|
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"
|
content="width=device-width,initial-scale=1,maximum-scale=1"
|
||||||
/>
|
/>
|
||||||
<ThemeRegistry>
|
<ThemeRegistry>
|
||||||
|
<GoogleTagManager gtmId="GTM-NXBSV7GS" />
|
||||||
<body className="bg-[#FAFAFA]">
|
<body className="bg-[#FAFAFA]">
|
||||||
<Providers>{children}</Providers>
|
<Providers>{children}</Providers>
|
||||||
<CustomToastify />
|
<CustomToastify />
|
||||||
|
|||||||
Reference in New Issue
Block a user