views:

22

answers:

1

Hi,

I use google analytics which uses a file ga.js. This creates a hidden utm.gif file in which parameters are attached and sent to a server (to be included in the google analytics interface)

My understanding is that utm.gif uses a "304 not modified" header, to ensure that the file is always reloaded (rather than cached).

In this case, is it possible that ga.js will not always be loaded (sometimes cached) in my browser, but still the utm.gif works as normal (using the cached ga.js instead of the downloaded ga.js)? In other words, does the ga.js file always need to be downloaded (for every request) in order for utm.gif to have the right parameters?

Cheers

Ke

A: 

does the ga.js file always need to be downloaded (for every request) in order for utm.gif to have the right parameters?

No it doesn't. The script uses the parameters from the inline script you add to your site.

galambalazs
so it gets cached?
Ke
The file gets cached. The image request doesn't
Crayon Violent