Google Blogoscoped

Forum

Google Analytics launches asynchronous tracking  (View post)

/pd [PersonRank 10]

Tuesday, December 1, 2009
10 years ago5,086 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 "

analytics.blogspot.com/2009/12 ...

Roger Browne [PersonRank 10]

10 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]

10 years ago #

nice

MyNer [PersonRank 0]

10 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:

askapache.com/javascript/serve ...

Julien G [PersonRank 0]

10 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 ?

This thread is locked as it's old... but you can create a new thread in the forum. 

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!