GA code for keeping a copy of your data beyond 25 months

Tuesday, June 30, 2009 | Published in | 0 comments

I have added an extra space in the < script > tags at the start and the end.

I have set pageTracker in BOLD to include your remote server.

< script type="text/javascript" >
var gaJsHost = (("https:" ==

document.location.protocol) ? "https://ssl." :

"http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost

+ "google-analytics.com/ga.js'

type='text/javascript'%3E%3C/script%3E"));
< / script >
< script type="text/javascript" >
var pageTracker =_gat._getTracker("UA-xxxxxx-2")
pageTracker._setLocalRemoteServerMode();
pageTracker._initData();
pageTracker._trackPageview();
< /script >

Thanks! and do leave me a comment if you found this useful!

Responses

Leave a Response