Step 4 - Add the tracking code to your pages Back to Top
Add the tracking code to your pages
Google Analytics only tracks pages that contain the Google Analytics tracking code. You'll need to add this code to each page of your site, either manually or through the use of includes or other methods.
To access your tracking code:
1. Sign in to Google Analytics.
2. From the Analytics Settings page, find the profile for which you would like to retrieve the tracking code. Please note that tracking code is profile-specific.
3. From that profile's Settings column, click Edit.
4. At the top right of the Main Website Profile Information box, click Check Status.
5. Your tracking code can be copied and pasted from the text box in the Instructions for adding tracking section.
Basic installation - Copy and paste the code segment into the bottom of your content,
immediately before the </body> tag of each page you are planning to track. If you use a common include or template, you can enter it there.