add google tag manager
This commit is contained in:
@@ -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 />
|
||||
|
||||
Generated
+23572
File diff suppressed because it is too large
Load Diff
+3
-2
@@ -5,7 +5,7 @@
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"start": "next start -p 8002",
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -18,6 +18,7 @@
|
||||
"@mui/styled-engine-sc": "^6.0.0-alpha.18",
|
||||
"@mui/x-charts": "^7.16.0",
|
||||
"@mui/x-date-pickers": "^7.17.0",
|
||||
"@next/third-parties": "^15.1.0",
|
||||
"aos": "^2.3.4",
|
||||
"axios": "^1.7.7",
|
||||
"date-fns": "^3.6.0",
|
||||
@@ -25,7 +26,7 @@
|
||||
"i": "^0.3.7",
|
||||
"jalaali-react-date-picker": "^1.0.18",
|
||||
"jalali-moment": "^3.3.11",
|
||||
"next": "^14.2.20",
|
||||
"next": "^15.1.0",
|
||||
"next-themes": "^0.3.0",
|
||||
"npm": "^10.8.2",
|
||||
"react": "^18.0.0",
|
||||
|
||||
Reference in New Issue
Block a user