Matthew Steven Kelly

Google Analytics Tracking Code Snippet

January20

I just updated my web site pages with the new Google Analytics tracking code snippet. It fixes a rare javascript pop-up error message by using a try-catch snippet. If you are familiar with object oriented programming languages, try-catch statements are nothing new. If you aren’t familiar… well the Google article gives you everything you need to know.

For more on javascript try catch statements:
http://www.w3schools.com/jS/js_try_catch.asp

Have you updated your snippets?

posted under Random
One Comment to

“Google Analytics Tracking Code Snippet”

  1. On January 20th, 2009 at 10:22 pm Matthew Steven Kelly Says:

    And by the way… this is a perfect example of why reading relevant technology blogs keeps you up to date. I first found out about this issue on the Search Engine Watch blog: http://blog.searchenginewatch.com/blog/090119-113654

Email will not be published

Website example

Your Comment: