Installation problem

aureliendebord
10
aureliendebord
commented 10 months ago

Hello,
I can not install the analytics-module. I do not see the analytics code in the source code.
Can you tell what I am doing wrong?

I did npm i @nuxtjs/google-analytics --save
Then in my nuxt.config.js file, I set the module:

  modules: [
    ['@nuxtjs/pwa', {
      options: {
        icon: {
          sizes: [512, 192, 380]
        }
      }
    }],
    ['@nuxtjs/axios'],
    ['@nuxtjs/google-analytics', {
      id: 'UA-12345678-9'
    }]
  ],
  /* etc...
0
aureliendebord
10
aureliendebord
commented 9 months ago

Yes, it's solved.

0
nicoladl
28
nicoladl
commented 10 months ago

What your means with 'in the source code'?
Probably you will find it in app.js

0
aureliendebord
10
aureliendebord
commented 9 months ago

Yes, it's solved.

0
Informations
Question โ€ข Resolved
#c23 - Created 10 months ago