Fix Google Analytics error for local dev (#3544)

This commit is contained in:
Rizel Scarlett
2025-07-20 23:30:13 -04:00
committed by GitHub
parent 47a7f9d380
commit a996227381

View File

@@ -65,10 +65,10 @@ const config: Config = {
"./src/css/tailwind.css",
],
},
gtag: {
gtag: process.env.NODE_ENV === 'production' ? {
trackingID: 'G-ZS5D6SB4ZJ',
anonymizeIP: true,
},
} : undefined,
} satisfies Preset.Options,
],
],