We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72141f5 commit 8293c77Copy full SHA for 8293c77
components/GoogleTagManager.tsx
@@ -3,11 +3,10 @@
3
import { GoogleTagManager } from '@next/third-parties/google';
4
5
export function GTM() {
6
- // Replace with your actual GTM ID
7
- const gtmId = 'GTM-XXXXXX';
+ const gtmId = 'GTM-PP9W77LK';
8
9
- // Return null in development or when GTM ID is placeholder
10
- if (process.env.NODE_ENV === 'development' || gtmId === 'GTM-XXXXXX') {
+ // Only disable in development
+ if (process.env.NODE_ENV === 'development') {
11
return null;
12
}
13
0 commit comments