When you include tags to your site, you send a pageview for every page your viewers browse. Google Analytics processes this info and can infer a lot of information such as:
You can also see the IP address, user agent string, and initial page. You can use this info to find out things like:
Now that you’ve figured out the answer to where is the Google Analytics code, it’s time to start using it.