Google Analytics unblocks the Web w/ Async support
ajaxian.com
ajaxian.com
I usually use an adaptation of this, to take out the extra code that supports prototype and YUI (my choice is jQuery). This thing is super easy to use:
jQuery(document).ready(function() { ga().config({ id:'UA-xxxxxxx-x' }).track(); });
It queues up any track calls and pushes them onto GA as soon as it loads.
(function() { ... })();
What's that all about?
MyLongClassName = function() {};
function(_c) { _c.prototype.method1 = ...; _c.prototype.method2 = ...; }(MyLongClassName);
This allows something like YUI compressor to shorten _c local variable for every method definition, rather than store "MyLongClassName" for each one.
http://jshub.org/blog/2009/10/17/universal_tag_or_universal_...