update DEV_MODE condition for Google Tag Manager and Google Analytics rendering
This commit is contained in:
+2
-2
@@ -67,7 +67,7 @@ export default function RootLayout({ children }) {
|
|||||||
/>
|
/>
|
||||||
</head>
|
</head>
|
||||||
<ThemeRegistry>
|
<ThemeRegistry>
|
||||||
{process.env.NODE_ENV !== 'development' && (
|
{process.env.DEV_MODE === 'FALSE' && (
|
||||||
<GoogleTagManager gtmId="GTM-NXBSV7GS" />
|
<GoogleTagManager gtmId="GTM-NXBSV7GS" />
|
||||||
)}
|
)}
|
||||||
<body className="bg-[#FAFAFA]">
|
<body className="bg-[#FAFAFA]">
|
||||||
@@ -76,7 +76,7 @@ export default function RootLayout({ children }) {
|
|||||||
</ProvinceProvider>
|
</ProvinceProvider>
|
||||||
<CustomToastify />
|
<CustomToastify />
|
||||||
</body>
|
</body>
|
||||||
{process.env.NODE_ENV !== 'development' && (
|
{process.env.DEV_MODE === 'FALSE' && (
|
||||||
<GoogleAnalytics gaId="G-HG3RZ1PJS5" />
|
<GoogleAnalytics gaId="G-HG3RZ1PJS5" />
|
||||||
)}
|
)}
|
||||||
</ThemeRegistry>
|
</ThemeRegistry>
|
||||||
|
|||||||
Reference in New Issue
Block a user