Google Analytics now supports Asyncronous loads, which allow the browser to continue loading content while ga.js is being loaded. Now it's safe to put the script tag in the <head>
for you XHTML STRICT junkies.
Here's the new code to do so:
var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA-XXXXX-X']);_gaq.push(['_trackPageview']);
(function() {var ga = document.createElement('script');ga.src = ('https:' == document.location.protocol ?'https://ssl' : 'http://www') +'.google-analytics.com/ga.js';ga.setAttribute('async', 'true');document.documentElement.firstChild.appendChild(ga);})();
## WordPress Plugin UpdateI love this new code clip so much, I decided to write a WordpPress Plugin for it. Enjoy!
[GitHub Project Page](http://github.com/kennethreitz/async-google-analytics-wordpress-plugin)
[Direct WordPress Plugin](http://github.com/kennethreitz/async-google-analytics-wordpress-plugin/zipball/master)
Related Reading
Google Analytics + Intellegence
Google's super-star flagship cloud-based visitor tracking software, Google Analytics, released a new feature recently. It's called Intelligence.##What They Have To Say
Your new hardworking assistant, Analytics Intelligence, can't replace you or a professional analyst. But, it can find key informatio...
Google Docs Now Supports All Filetypes
For an extra $5 a month, [Evernote](http://evernote.com) lets you upload a file of any extension to their servers. This is a fantastic feature for developers who like to keep their random psd and 3ds files in sync with the cloud.Looks like Google finally took the hint. Within the next few weeks, the...
uNetBootin: The Utility Belt for OS's
If you're in the mood to try a new operating system or two, I highly reccommend you try this little utility: uNetBootin. It is an image downloader that lets you easily select which Linux distro you'd like to install and it instantly starts fetching it from the cloud for you. Once the download is com...