Google Analytics JS Code. Where does it go?

I have the Google Analytics JS code generated by Google Analytics. Where do I put the code in my RW project? I put it in Settings/Code/Javascript but does not see it. Here’s my site:

The best place is in the “head” part of the main “code” section.


Ok, I moved it to the Head section. That doesn’t make a lot of sense to me, but so be it! Thanks.

I just checked the SEO test results again, and now it says all is good with the Google Analytics code. Thanks again Neil.

Google actually specifically states it should go in the head section. I think they want it to load and count before anything else could stop it rendering correctly.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.