diff --git a/nuxt.config.js b/nuxt.config.js index 0d7c720451b662d0c1ece1e1978ddb14cdcd53a1..a9f38801eccb34e5dec47710d787a1f1af1b83ba 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -80,13 +80,14 @@ export default { '@nuxtjs/eslint-module', // https://go.nuxtjs.dev/vuetify '@nuxtjs/vuetify', - '@nuxtjs/google-analytics', + [ + '@nuxtjs/google-analytics', + { + id: process.env.GOOGLE_ANALYTICS_ID, + }, + ], ], - googleAnalytics: { - id: process.env.GOOGLE_ANALYTICS_ID, - }, - // Modules: https://go.nuxtjs.dev/config-modules modules: [ // https://go.nuxtjs.dev/axios