Google Analytics Asynchronous Tracking
I’m not sure how long ago Google Analytics unveiled it, but their Asynchronous Tracking code snippet was new to me.
Unlike a traditional installation, asynchronous tracking optimizes how browsers load ga.js so its impact on user experience is minimized. It also allows you to put your Analytics snippet higher in the page without delaying subsequent content from rendering. The Asynchronous Tracking requires a different Analytics snippet and a different syntax for making tracking API calls.
This should reduce page loading time (no waiting for their code to load), allowing you to put the snippet at the top of the page (right below the opening
body tag), and should even track visitors who leave the page before it’s completely loaded.
I’m trying it on Playgrounder … so far so good.