diff --git a/changelog.markdown b/changelog.markdown
--- a/changelog.markdown
+++ b/changelog.markdown
@@ -1,3 +1,8 @@
+2008.11.25
+-----------
+
+### Update analytics code
+
 2008.11.14
 ----------
 
diff --git a/hcheat.cabal b/hcheat.cabal
--- a/hcheat.cabal
+++ b/hcheat.cabal
@@ -1,5 +1,5 @@
 Name:                 hcheat
-Version:              2008.11.14
+Version:              2008.11.25
 Build-type:           Simple
 Synopsis:             A collection of code cheatsheet
 Description:          Starting with Google Analytics
diff --git a/src/HCheat.hs b/src/HCheat.hs
--- a/src/HCheat.hs
+++ b/src/HCheat.hs
@@ -10,9 +10,9 @@
   , "document.write(unescape(\"%3Cscript src='\" + gaJsHost + \"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E\")); "
   , "</script>                                                                                                                          "
   , "<script type=\"text/javascript\">                                                                                                  "
-  , "var pageTracker = _gat._getTracker(\"" ++ x ++ "\");                                                                               "
+  , "try { var pageTracker = _gat._getTracker(\"" ++ x ++ "\");                                                                               "
   , "pageTracker._trackPageview();                                                                                                      "
-  , "</script>                                                                                                                          "
+  , "} catch(err) {}</script>                                                                                                                          "
   ]
   .map strip
   .join "\n"
