Page 1 of 1

how to add a code

Posted: Thu Nov 12, 2020 12:44 pm
by SergeFog
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>

Re: how to add a code

Posted: Thu Nov 12, 2020 12:52 pm
by Pablo
There is a dedicated option for this:
Menu -> Page -> Google Analytics