Errors in browsers after installing Google analytics Code

I am sure, those of you who use Google Analytics tool must have surely noticed the javascript error in browsers either in IE or Firefox or any,

The Error that is seen is "_gat undefined", And I am sure you must have noticed such error.

But no worries, you can find the answers from the

If browser is unable to access the javscript source, browser will display error as "_gat is undefined". And such happens due to firewalls, browser's extensions like AdBlock, No Script, filters not allowing the javascript source file to be loaded by browser.

So as a solution, You can see the following example,

<script type="text/javascript">,
var gaJsHost = (("https:" == document.location.protocol) ? "https://
ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-' type='text/javascript'%3E%3C/script%3E"));
<script type="text/javascript">
if (typeof(_gat) == 'object') // See this line, here is the use of typeof(_gat)
var pageTracker = _gat._getTracker("UA-abeen0-X"); // replace with your own tracking code

It should solve your problem of seeing error in your browsers.