Piwik is an Open Source alternative to Google Analytics.
Tracking the user visit of our website can be done in a nice, simple, and easy way using Google Analytics.
1. Go to http://www.google.com/analytics/
2. You need a Google account to enter. Create one (sign up) if you do not have any Google account yet.
3. Click "Add Website Profile" and provide the url of your website (and the other necessary information, such as: timezone).
4. Choose the appropriate option in "What are you tracking"
5. Copy and paste the code in the box into every page that you would like to track. Paste the code immediately before the closing </head> tag.
6. Click "Save and Finish"
Usually you have to wait for 24 hours to see the report. Once your report appear, you can also create a customize report using the link in the left hand side (after you clicked "View report"). Location, time, source, how long the user visit the page, etc can be observed easily using Google Analytics.