From 2beba53d0b2edbf7e4f26478986bfd28882363fd Mon Sep 17 00:00:00 2001 From: David Mendez <dmendez@ebi.ac.uk> Date: Thu, 4 Nov 2021 12:07:41 +0000 Subject: [PATCH] Debug GA --- nuxt.config.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/nuxt.config.js b/nuxt.config.js index 0d7c720..a9f3880 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 -- GitLab