Speed Up Analytics +

async google analytics for faster load times

Here’s another way to shave some milliseconds off of the load times of your pages. Not sure exactly what setting the async attribute to true does but according to David Walsh it will help speed up the javascript used when loading Google Analytics to your pages. The other change with this code is that it gets put at the top of the BODY rather than at the bottom of your code.

(thanks david walsh)

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>