- Issue created by @sandrazoocha
- 🇪🇸Spain sandrazoocha
I have raised a merge request with a possible solution.
Thanks
The console is showing an error related with config related. After debug it seems that the issue remains on this piece of code, as the tagId is null:
if (additionalConfigInfo.length === 0) {
gtag('config', config.tagId);
} else {
gtag('config', config.tagId, additionalConfigInfo);
}
Install this extension https://chromewebstore.google.com/detail/google-analytics-debugger/jnkmf... to see the debug on your console
Open DevTools to see the issue on your console
Add a condition to check the tagId has a value
if (additionalConfigInfo.length === 0) {
if (config.tagId) {
gtag('config', config.tagId);
}
} else {
if (config.tagId) {
gtag('config', config.tagId, additionalConfigInfo);
}
}
Active
2.0
Code
I have raised a merge request with a possible solution.
Thanks