Google Blogoscoped

Forum

Google Analytics launches asynchronous tracking  (View post)

/pd [PersonRank 10]

Tuesday, December 1, 2009
14 years ago5,765 views

"Think of the asynchronous tracking code snippet as a script that uses a "separate lane" to handle part of the processing of your webpage. As the number of cars (or in this case, scripts on your webpage) increases, the asynchronous tracker uses this lane to reduce webpage load time. Websites that use many scripts or rely on rich media content "

http://analytics.blogspot.com/2009/12/google-analytics-launches-asynchronous.html

Roger Browne [PersonRank 10]

14 years ago #

I don't understand why it hasn't always been asynchronous. Our webpages don't need to get any information back from Analytics at the time of the call.

Above 2 comments were made in the forum before this was blogged,

imitrex [PersonRank 0]

14 years ago #

nice

MyNer [PersonRank 0]

14 years ago #

Just implemented in [www.todojuegos.com]. It seems a great improvement to the people that don't host ga.js in their servers.
If you want to cache it I recommend this great script:

http://www.askapache.com/javascript/serve-external-javascript-files-locally-for-increased-speed.html

Julien G [PersonRank 0]

14 years ago #

Hi,

First, this tracking hasn't been part of the code before, because it uses the 'async' attribute, which takes advantage of the HTML 5, so only by Firefox 3.6.

Can anyone give here a technical feedback about the new tracking code ?

I want to install it on my pages, but I saw it's using the 'appendChild' function, which normally drives to a page error on all IE versions. Is it the case here ?

If your are using a browser without HTML 5, what ga.js do ? Does it work asynchronous anyway ? How ?

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!