_setSiteSpeedSampleRate usage

If you’re doing a low number of pageviews (<5M / month), you can crank your GA SiteSpeed up to 100%, I think. This is a bit of a theory, need to look into it more. I'm going to crank up mine to 100% and see what I can glean from it. Note this line: _gaq.push(['_setSiteSpeedSampleRate',100]); [code] <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-YOURNUMBER-1']); _gaq.push(['_setSiteSpeedSampleRate',100]); _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); })(); </script> [/code] There is a lot you can do with Google Tracking API. Can hardly wait to start playing with this.


Comments are closed.