Open jssouders opened 4 years ago
same !
2021 updated question
There are 3 libraries https://github.com/nuxt-community/google-gtag-module/ https://github.com/nuxt-community/gtm-module https://github.com/nuxt-community/google-analytics-module
I see google-analytics-modules is using vue-analytics which is deprecated, that leaves with 2 more which one to use if
I have a new NUXT application that needs to have Google Analytics integrated within the application. It appears that there is a very stable analytics-module (https://www.npmjs.com/package/@nuxtjs/google-analytics), but it is utilizing the analytics.js script that Google no longer recommends. Google currently recommends using gtag.js script for integrating with Google Analytics. The only package in the NUXTJS community is the google-gtag (https://www.npmjs.com/package/@nuxtjs/google-gtag) module. Is this the currently recommended module to use when integrating with Google Analytics? It appears that this package is not downloaded that frequently or released that often compared to analytics-module. Any help in the right direction would be appreciated.