This is the New Faster Loading Tracking Code for Google Analytics and it can be Placed in the Head of your Site unlike the Older Urchin and the Current Google Analytics Code which are Placed in the Body this causes a slight Delay meaning other objects may not load so quickly.

By using the Asynchronous Tracking codeĀ  means it gives Higher Priority to other Objects on your Page to Load. To use this new Asynchronous Tracking code all you Have to Do is Remove your Old Tracking Code from the and Place the New Asynchronous Code somewhere in the <head> section and Replace the UA xxxxxx with your User Account Numbers.

<script type=”text/javascript”>

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) ‘.google-analytics.com/ga.js’;
(document.getElementsByTagName(‘head’)[0] || document.getElementsByTagName(‘body’)[0]).appendChild(ga);
})();

</script>

This will Provide you with Basic Tracking features in GA and Some of the Advanced Features will be Unavailable but you Can Add the Advanced Features of Google Analytics in a Later Step Should you Need them.

Just Change the Numbers to Install the new Code on your Site and Remember to Delete the Old Code otherwise it Will Give False traffic reports in Google Analytics.

Further Google Analytics Tracking Code Tweaks