homepage Welcome to WebmasterWorld Guest from 107.21.187.131
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: Receptional & mademetop

Website Analytics - Tracking and Logging Forum

    
ga.js - locally hosted vs. externally referenced?
which way is faster?
jersey_guy




msg:4273912
 4:02 pm on Feb 28, 2011 (gmt 0)

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.

Any thoughts?

 

jersey_guy




msg:4273915
 4:10 pm on Feb 28, 2011 (gmt 0)

I read this, which makes me think I should simply call out to ga.js externally [google.com...]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved