Adding 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.
Context
To access your tracking code:
Procedure
Basic Installation
Context
The steps for a basic installation are as follows:
Procedure
Database Driven Sites
Context
For database driven sites
Procedure
Pages with Frames
A web page containing frames will generate multiple pageviews: one for the framing page (containing either a FRAMESET or IFRAME tag within its HTML code), and one for each page shown in a frame. As a result, pageviews may be somewhat inflated. Even if a page on your site only appears as a frame for another page, we still recommend tagging it with the entire tracking code. If a visitor reaches the page through a search engine or a direct link from another site and the page doesn't contain the tracking code, the referral, keyword and/or campaign information from the source will be lost.
Please see How do I interpret the reports for a website that has frames
?
Linking with Your AdWords Account
For AdWords advertisers, Google Analytics can currently import cost data from AdWords campaigns. To link your AdWords and Analytics accounts, log in to your AdWords account and follow the steps provided under the Analytics tab.