保誠-保戶業務員媒合平台
Tomas
2022-07-26 4ecd05df63641e193e620612620916c6f4f2765a
PAMapp/nuxt.config.js
@@ -60,7 +60,40 @@
  // Modules: https://go.nuxtjs.dev/config-modules
  modules: [
    '@nuxtjs/gtm',
  ],
  plugins: [
    '~/plugins/gtm'
   ],
  gtm: {
    enabled: true, /* see below */
    debug: false,
    id: 'GTM-W2XMVJZ',
    layer: 'dataLayer',
    variables: {},
    pageTracking: true,
    pageViewEventName: 'nuxtRoute',
    autoInit: true,
    respectDoNotTrack: true,
    scriptId: 'gtm-script',
    scriptDefer: false,
    scriptURL: 'https://www.googletagmanager.com/gtm.js',
    crossOrigin: false,
    noscript: true,
    noscriptId: 'gtm-noscript',
    noscriptURL: 'https://www.googletagmanager.com/ns.html'
  },
  publicRuntimeConfig: {
    gtm: {
      id: process.env.GOOGLE_TAG_MANAGER_ID
    }
  },
  // Build Configuration: https://go.nuxtjs.dev/config-build
  build: {