diff --git a/nuxt.config.ts b/nuxt.config.ts index 73c41c6..25b540f 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -182,11 +182,11 @@ export default defineNuxtConfig({ SHOW_REHYDRATION_FEATURE: process.env.SHOW_REHYDRATION_FEATURE || 'false', SHOW_DEVICE_TYPE: process.env.SHOW_DEVICE_TYPE || 'false', gtm: { - id: process.env.GOOGLE_TAG_MANAGER_ID || 'GTM-TPT2CVCS', + id: process.env.GOOGLE_TAG_MANAGER_ID || '', defer: true, compatibility: false, source: 'https://www.googletagmanager.com/gtm.js', - enabled: process.env.ROOT_URL == 'http://localhost:3000' ? false : true, + enabled: process.env.ROOT_URL == 'https://sparc.science' ? true : false, debug: true, loadScript: true, enableRouterSync: true,