You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ik heb de instructies van deze pagina gevolgd: essential migration steps
In GA4 krijg ik dan de melding dat ik op iedere pagina een nieuwe tag moet installeren.
In Visual Studio heb ik gezocht naar de "oude UA" code.
Die vind ik terug in de pagina nuxt.config.js
[
'@nuxtjs/google-analytics',
{
id: 'UA-119311133-2',
},
],
Mijn vraag is: mag ik gewoon hierboven de id vervangen door de nieuwe GA4 of voeg ik een nieuwe instructie toe zodat beiden beschikbaar blijven?
<script async src="https://www.googletagmanager.com/gtag/js?id=G-0YK35XJ4H1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-0YK35XJ4H1');
</script>
The text was updated successfully, but these errors were encountered:
Ik heb de instructies van deze pagina gevolgd: essential migration steps
In GA4 krijg ik dan de melding dat ik op iedere pagina een nieuwe tag moet installeren.
In Visual Studio heb ik gezocht naar de "oude UA" code.
Die vind ik terug in de pagina nuxt.config.js
[
'@nuxtjs/google-analytics',
{
id: 'UA-119311133-2',
},
],
Mijn vraag is: mag ik gewoon hierboven de id vervangen door de nieuwe GA4 of voeg ik een nieuwe instructie toe zodat beiden beschikbaar blijven?
<script async src="https://www.googletagmanager.com/gtag/js?id=G-0YK35XJ4H1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-0YK35XJ4H1'); </script>The text was updated successfully, but these errors were encountered: