[Vuejs]-Use the Google Analytics Script in NUXT project

0👍

EDIT: here is a detailed post on how to configure it >> https://github.com/MatteoGabriele/vue-gtag/issues/87#issuecomment-594133548


If you’re using Nuxt, you should rather use the @nuxtjs/google-analytics plug-in directly: https://google-analytics.nuxtjs.org/setup/#installation

It will handle some edge cases related to SSR for you and is on top of that, super easy to configure.

Leave a comment