Google Analytics - Adding info inside

User 2778933 Photo


Registered User
16 posts

Hello there,

I would like to add Google Analytics to my web page. Google says "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/js?id=G-1PG3EQTR9W"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-1PG3EQTR9W');
</script>

My question is: How do I do this? How do I access the <head></head> section while using Site Designer 4.0
I need to insert this code into the <head></head> section of my web page.

Thank you very much!
Andrea
User 187934 Photo


Senior Advisor
20,192 posts

Hi Andrea,
Hit ctrl +Shift + I and that will open the Manage Project tab.
On there you can paste code to the head section.
You can make it global by checking the box so it's inserted on every page.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2778933 Photo


Registered User
16 posts

That worked, thank you!

Have a great day!


Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.