Asynchronous Javascript is for Web the best thing since sliced bread

Video made from Identicons generated from Lat/Long from the bugGPS by Simon Lewis´ Big Labs Java programThis post was triggered by a recently announced asynchronous Google analytics tracking code, and then I thought to my self - it was about time it was brought to mainstream.

When something loads asynchronously on a web page, that means it does not block other content from loading and your browser can load other things.

This is especially important on today's sites where amount of Javascript code is becoming excessive. In other words, asynchronous loading = faster page loads = happier visitors (= more revenue).

Implementing new Google analytics asynchronous tracking code is as easy as removing the old one and placing the new one, and now you are safe to put it in the header as well. And because it will load now a bit sooner than the old one, it might catch few more visits that your old code missed as the visitors quit the page before it was fully loaded.

My baby startup Cleveritics will also use a full asynchronous tracking code.

Useful references:

http://www.artzstudio.com/2008/07/beating-blocking-javascript-asynchronous-js/

See also:


Posted in: SEO
TAGS:, , , , , , , , , , , , , , ,
leave a comment.

One Comment

  1. Omer Greenwald webtechwise.com
    Feb 26th, 2010

    Very nice feature indeed.
    However, by placing the old GA code at the very bottom, the entire page (almost) is loaded fast so the user barely feels any slow down by this code.
    I think that the great benefit of the new plugin, is its ability to track user gestures before the the entire page loads.

Have your say

Your email is never published nor shared. Required fields are marked *

*
*

Subscribe without commenting

About Vladimir

vladimir prelovac Hi! My name is Vladimir Prelovac. I am a computer engineer by profession and an adventurer by state of mind.

"I would love to change the world, I just don't have the source code yet."

Books by Vladimir

WordPress Plugin Devleopment Book WordPress Plugin Development: Beginner's Guide

Published by Packt Publishing, available online through Amazon. Click the image for more information.

Consulting Services

Professional WordPress Services, including custom developed plugins and themes

Expert on-site WordPress SEO consulting and an 'out-of-the-box thinking' approach to problems