Page 1 of 1
Adding Google Analytics
Posted: Thu May 30, 2019 12:03 pm
by 44MLB
Hi should I add the Google Analytics code to only the Home page or every page on the website via a master page?
Re: Adding Google Analytics
Posted: Thu May 30, 2019 1:17 pm
by Pablo
I think it should be added to all pages.
Re: Adding Google Analytics
Posted: Fri Mar 13, 2020 5:48 pm
by luishmpaulo
Is there a way to install the Google Analytics code on all pages of a website at once?
Re: Adding Google Analytics
Posted: Fri Mar 13, 2020 5:57 pm
by Pablo
This can be done via Site HTML.
Re: Adding Google Analytics
Posted: Fri Mar 13, 2020 6:02 pm
by luishmpaulo
Yes, I imagined, but it is not visible if you look at the HTML page / between head - head tags, right?
Re: Adding Google Analytics
Posted: Fri Mar 13, 2020 6:29 pm
by Pablo
between head - head tags, right?
Correct.
If you add code in Site HTML then it will be added to all pages in the project.
Re: Adding Google Analytics
Posted: Sat Mar 14, 2020 5:18 am
by ColinM
Hi 44MLB,
I add the code to each page I want to statistically asses/client report on. You can pull a lot out of GA - so it also depends on what you want to report on - for example people travelling through the website.
Re: Adding Google Analytics
Posted: Sat Mar 14, 2020 3:06 pm
by 44MLB
Looks to be working fine now
Many thanks.
Re: Adding Google Analytics
Posted: Tue May 19, 2020 7:02 pm
by dnlyko
Just wondering if there is any code that can be added so the Global Site Tag (gtag.js) can be added at the beginning.
Google states:
Copy and paste this code as the first item into the <HEAD>
Re: Adding Google Analytics
Posted: Tue May 19, 2020 8:09 pm
by Pablo
You can copy/paste the code in Page HTML