Note to AdWords users: Google Analytics is able to import and track cost data from Google AdWords if your AdWords and Analytics accounts are linked. Please log in to your AdWords account and follow the instructions on the Analytics tab.
To create an Analytics account:- Visit http://www.google.com/analytic
s . - Enter your Google Account email and password and click Sign In. If you don't have a Google Account, click Sign up now to create one.
- Click Sign Up.
- Enter your Website's URL, making sure to select either http:// or https:// from the drop-down list. Enter a nickname for this account in the Account Name field, then click Continue.
- Enter your contact information and click Continue.
- Read the Google Analytics Terms of Service. If you agree to these terms, select the Yes checkbox and click Create New Account to continue.
The Tracking Instructions page that appears contains the tracking code that you'll need to paste into each page of your site. We recommend completing some additional steps before pasting this code, however, to ensure that the data you collect is relevant.
Otherwise, click Continue on the Tracking Instructions page to access your new account.
It's important to configure your profile in order to get the most out of your reports. To access your profile settings:
- In the Website Profiles table, find the profile to edit.
- Click Edit. The Profile Settings page appears.
- Click Edit on the Main Website Profile Information table.
Default page
Setting this to the default (or index) page of your site allows Google Analytics to reconcile log entries for www.example.com and www.example.com/index.html,
for example. These are in fact the same page, but are reported as two
distinct pages until the Default Page setting has been configured.
Exclude URL Query Parameters
Does your site use dynamic
session or user identifiers? You can tell Analytics to ignore these
variables and not count them as unique pages. Enter any query
parameters to exclude, separated with commas.
To enable e-commerce reporting and the E-Commerce Analysis report set, select Yes.
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:
- Sign in to Google Analytics.
- 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.
- From that profile's Settings column, click Edit.
- At the top right of the Main Website Profile Information box, click Check Status.
- Your tracking code can be copied and pasted from the text box in the Instructions for adding tracking section.

3. Then click on 'Edit Site Header and Footer' as shown below.

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-xxxxxx-x");
pageTracker._initData();
pageTracker._trackPageview();
</script>
