Dec 15 2009

Add Google Analytics to your website

First Stategy:

Second Strategy:

STEP 1

Create a Google Analytics account. This is a very easy process if you already have a Gmail account. After you fill out a few fields copy your tracking code from Google Analytics account profile by doing this:

To access your tracking code from within your Google Analytics account:

  • Log in to Google Analytics at http://www.google.com/analytics
  • From the Overview page, select the account that has the profile for the tracking code you're looking for, as the code is profile-specific.
  • Select the profile from the accounts Overview page.
  • From that profile's Actions 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

STEP 2

Copy your tracking code into your asp.net master page if you have one at the bottom of the page right before tag. If you do not have a master page you must add this code to every page at the bottom before the closing body tag.

Tags: , , , ,