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 seositecheckup.com does not see it. Here’s my site:

https://thriftycabinets.com

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. https://support.google.com/analytics/answer/1008080?hl=en