Thread:Skin talk:Chameleon/Google Analytics/reply (5)

I was still not getting behavior information I modified the Google Analytics integration extension that I was using. Modified to look like /*	return << 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"));  try { var pageTracker = _gat._getTracker("{$wgGoogleAnalyticsAccount}"); pageTracker._trackPageview; } catch(err) {} HTML; return <<

var _gaq = _gaq || []; _gaq.push(['_setAccount', "$wgGoogleAnalyticsAccount"]); _gaq.push(['_setDomainName', 'xxxxxxx']); _gaq.push(['_setAllowLinker', true]); _gaq.push(['_setSiteSpeedSampleRate', 50]); _gaq.push(['_trackPageview']);

(function {   var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';   var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);  });

HTML; }