mirror of
https://github.com/aljazceru/goose.git
synced 2025-12-17 22:24:21 +01:00
Fix Google Analytics error for local dev (#3544)
This commit is contained in:
@@ -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,
|
||||
],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user