add google tag manager
This commit is contained in:
@@ -2,6 +2,7 @@ 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 { GoogleTagManager } from "@next/third-parties/google";
|
||||||
|
|
||||||
// Toastify
|
// Toastify
|
||||||
import "react-toastify/dist/ReactToastify.css";
|
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"
|
content="width=device-width,initial-scale=1,maximum-scale=1"
|
||||||
/>
|
/>
|
||||||
<ThemeRegistry>
|
<ThemeRegistry>
|
||||||
|
<GoogleTagManager gtmId="G-HG3RZ1PJS5" />
|
||||||
<body className="bg-[#FAFAFA]">
|
<body className="bg-[#FAFAFA]">
|
||||||
<Providers>{children}</Providers>
|
<Providers>{children}</Providers>
|
||||||
<CustomToastify />
|
<CustomToastify />
|
||||||
|
|||||||
Generated
+23572
File diff suppressed because it is too large
Load Diff
+3
-2
@@ -5,7 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start -p 8002",
|
||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -18,6 +18,7 @@
|
|||||||
"@mui/styled-engine-sc": "^6.0.0-alpha.18",
|
"@mui/styled-engine-sc": "^6.0.0-alpha.18",
|
||||||
"@mui/x-charts": "^7.16.0",
|
"@mui/x-charts": "^7.16.0",
|
||||||
"@mui/x-date-pickers": "^7.17.0",
|
"@mui/x-date-pickers": "^7.17.0",
|
||||||
|
"@next/third-parties": "^15.1.0",
|
||||||
"aos": "^2.3.4",
|
"aos": "^2.3.4",
|
||||||
"axios": "^1.7.7",
|
"axios": "^1.7.7",
|
||||||
"date-fns": "^3.6.0",
|
"date-fns": "^3.6.0",
|
||||||
@@ -25,7 +26,7 @@
|
|||||||
"i": "^0.3.7",
|
"i": "^0.3.7",
|
||||||
"jalaali-react-date-picker": "^1.0.18",
|
"jalaali-react-date-picker": "^1.0.18",
|
||||||
"jalali-moment": "^3.3.11",
|
"jalali-moment": "^3.3.11",
|
||||||
"next": "^14.2.20",
|
"next": "^15.1.0",
|
||||||
"next-themes": "^0.3.0",
|
"next-themes": "^0.3.0",
|
||||||
"npm": "^10.8.2",
|
"npm": "^10.8.2",
|
||||||
"react": "^18.0.0",
|
"react": "^18.0.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user