Step 1: Open Google Analytics Website -- http://www.google.com/analytics/
Step 2: Login Using Gmail or any Corporate Email id
Step 3: Start Using Google Analytics – To Proceed Sign Up

Step 4: Choose Type of Tracking Website or Mobile App

Step 5: Choose Tracking Method – Account Name, Website Name and URL

Step 6: Click on Get Tracking Id

Step 7: Accept Term & Conditions

Step 8: Copy the Code and Paste under Header Section (For HTML Pages: Under </head> Section; For PHP Pages: Paste on Master File)

Step 8: Copy the Code and Paste under Header Section (For HTML Pages: Under </head> Section; For PHP Pages: Paste on Master File)