how to add a code
Posted: Thu Nov 12, 2020 12:44 pm
Google asks me to add code to the page, but I do not understand where to add it
Copy and paste this code as the first item into the <head> of every webpage you want to measure.
this is the code:
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/j ... "></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-M0G9T5QK5L');
</script>
Copy and paste this code as the first item into the <head> of every webpage you want to measure.
this is the code:
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/j ... "></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-M0G9T5QK5L');
</script>