Website traffic analysis, SEO, and hit tracking with Google Analytics

How to track your website visitors and do website hit tracking and analysis using Google’s services.

Google acquired Urchin a great website tracking tool, which embeds code on your website’s server, then google analyses it on their end. You use your google account to check your website traffic (you have to create a login if you don’t already have one)

The results are very detailed and once you set this up you will be able to receive charts and graphs of traffic patterns including some really helpful detailed information beside “Page Views” and “Unique Views” such as “Keywords“, and “Top Traffic Sources“.

So, login to google, then go to “My Account”, then (click) “Analytics” (it’s currently their top link on the right side for “My Products”), then “Add Website Profile” then past your URL in (copy it from your URL bar so you don’t have any problems with syntax or typos) and (click) “Continue”, then copy the Tracking Code (the new tracking code ga.js had a syntax error missing a “>” that the google engineers missed which made faulty code in the era of My-Jul 2008, but works now), then when you click “Finish” you’ll get a list of your websites that google is currently tracking using the Urchin engine.

Your new addition will be there, but it will read “Tracking Unknown” under the column “Status”, you can then click “Check Status” where you can force feed it your website index page (the first one to load and the page that should have your google tracking code in it)

Next you’ll need to download your index.php or index.html, or index.htm or index.etc and add the javascript tracking code that you copied in to your clipboard to your webpage (you haven’t replaced your clipboard contents by copying something else since the google tracking code, new or Legacy, have you?). It should be right in front of your </body> tag so that most of your page can load before the user’s browser must get the rest of the page from analytics.google.com! If you run WordPress or another dynamic page creation engine or blog generator, then you must put it into a template that loads into the page, like footer.php.

When your tracking code is in place do the “Check Status” then “Finish” (button) routine and google will instantly re read your website index page and look for the tracking code it issued to your website domain.

From now on, then you can login in to analytics.google.com and you will get the detailed website traffic reports on that website and have them downloadable as a beautifully formatted pdf so you can email them to your customers.

Go start collecting!

1 Comment

  1. Jackson Tars says:

    I really like the pie chart of the countries that give me traffic.

    Cool tip!

Leave a comment