Google Analytics – How many IE6 users do you really have?

By dirbalak

Don’t know if you ever noticed it but there is an annoying bug in IE6 related to javascript links (href=”javascript:alert(‘hello!’);”) and external files (such as images and scripts).
For some reason, whenever you click a javascript link before the page is fully loaded, IE6 will abort all open connections.

Usually, the outcome will be a page with broken images. The user can always hit the refresh button if he really wants to see the images. But what will happen with AJAX calls or essential external scripts (like urchin.js).

If you have Google Analytics installed (or any other event collector agent implemented using XSS) and you use javascript links (and not onclick) you should seriously check your IE6 users numbers.

It might sound like just few users will be fast enough to click links before the JS files are fully loaded but I can tell you that we had this issue with one of our clients two years ago (at that time our event collector was implemented using XSS like GA) and in his case, the gap was noticable.

Leave a Reply