Can you be more specific in how it should look. I am not a developer.
right now I have it as <UA CODE #>. It is not working that way either.
Before I was just able to insert the number. I’m confused as to why I can’t anymore or why in the pop up help box it doesn’t say how to do it.
Thank you
You just need to insert <script> at the start of the code and </script> at the end of the code.
here is an example of how to use the script tag
https://www.w3schools.com/tags/tag_script.asp
Thank you!
Check your page source to see if the code is actually there (‘view source’ in your web browser). If it’s there, theme can’t do anything more with it. You have to wait awhile for GA to work. Theme just helps you put the code on the page — nothing else related to GA.
Your code might be like this, I think:
<!– Global Site Tag (gtag.js) – Google Analytics –>
<script async src=”https://www.googletagmanager.com/gtag/js?id=YOUR CODE”></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());
gtag(‘config’, ‘ENTER YOUR CODE’);
</script>