Google Analytics

Hello, I would like to add the tracking ID from Google Analytics to my html code. Does anyone have experience, what I exactly need to to in BSS? Cheers Holger

Thanks for starting this thread!

You can add the analytics code in a Custom Code component as the first element of the page. An alternative is to create a JS file for it and paste it there. It will be included automatically.

as per martins comments, simply create a new JS file and use the code that google provide and all is good :)

They will have some example to do it in my web that only I have index.html, and I would like to know when they enter to the link of the page

Can see www.aripagua.com/temple

Thanks in advance

Google tells us:

"This is the Global Site Tag (gtag.js) tracking code for this property. Copy and paste this code as the first item into the <HEAD> of every web page that you want to track."

Using Custom Code component I can't insert it as the first item after <HEAD>.

I'm a beginner at this!

Thanks, Alex

If you click on settings in the top tool bar - you will be able to add in your analytics code in the header section as custom code - hope this helps