05/23 /// 8 Apps Every Writer Should Have
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
Out of my Gord - By Gord Hotchkiss
GrokDotCom - By Brian Eisenberg
Link Building Best Practices Blog
SEM Hints: Search Engine Marketing Hints, Tips & Tools For Online Businesses
Search Engine Land - by Danny Sullivan
Virtual Marketing Blog: Internet Marketing News, Reviews and Insights
SEMPO Global Search Marketing Blog
SEMPO Canada Search Marketing Blog
![]()
![]()
/// Posted by Alexandre Brabant on Saturday, January 31, 2009
Rare Javascript Message Fixed by Google
From: feedburner.com
Google Analytics has come up with an update on the code snippet that is placed on websites. The update is done to fix the rare display of a JavaScript message that was usually noticed by the users to sites using Google Analytics.
But why was it changed?
Adding the try and catch to the snippet removes the possibility that your visitor sees a JavaScript message that doesn’t apply to her. It’s a fairly rare occurrence because messages like these (frequently in the form of an alert box) can only appear if JavaScript messaging has been enabled on the browser. Most browsers have JavaScript messaging turned off by default, but sometimes people unintentionally turn it on. For those visitors who have enabled messaging, the try and catch will have the effect of halting any messages from the Google Analytics tracking code snippet.
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? “https://ssl.” : “http://www.");
[removed](unescape("[removed][removed]"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-50020-1");
pageTracker._trackPageview();
} catch(err) {}
</script>
You just need to log into your Google Analytics account to access your account-specific code snippet.
CommentsTag: Google, Javascript, SEO
Add to
Del.icio.us |
Digg |
Reddit |
Furl Have a bookmark! -

Read Original: http://feeds.feedburner.com/~r/searchnewzlatestnews/~3/517791506/sn-4-20090120RareJavascriptMessageFixedbyGoogle.html







