joined:Feb 16, 2011
Does anyone have experience hosting the Analytics script locally? Is it faster than calling out to Google?
For me, it seems to be slightly faster to call out externally as opposed to hosting ga.js locally.
In theory, one would think it could be faster hosting locally by reducing the external call, but perhaps my setup is incorrect. As of now, the ga.js and UA declaration are combined with the rest of my JS files and outputted just before the closing </head> tag.
Analytics is still tracking everything in my reports. I also have it setup to compare ga.js on Google's servers, if it's new, I have a script that downloads it and replaces my local copy.