Google Analytics 4 properties
Opened this issue · 2 comments
Deleted user commented
The new Google Analytics 4 properties seems not to be supported by gooogle-analytics-module.
The new Google Analytics tracking Id looks like this: G-XXXXXXX
When trying to add it i get the following error:
"analytics_debug.js:25 The tracking Id should only be of the format UA-NNNNNN-N."
How can we fix this?
MatteoGabriele commented
You need to switch to a module that supports gtag.js
You can read more here nuxt-community/gtm-module#82
Deleted user commented
Thank you.