Google Analytics (GA) is a free service offered by Google that generates detailed statistics about the visitors to a website. I have to admit that I was guilty of this as well but you will often see some code that looks like the code below. Basically, if were are not in development then enable Google Analytics tracking.
The problem with this is you never get to actually test if GA is working correctly. Just like any other code you write in a development environment it needs to be tested. Even if all your using it for is basic page tracking like we are here, you still want to make sure it works. This becomes even more important when you start doing things like event tracking. My friend Matt Aster wrote a nice post on what you should be doing.
