_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]);

<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>

There is a lot you can do with Google Tracking API. Can hardly wait to start playing with this.

Dave

About Dave Koopman

Started with Go Daddy in 2002 as a software developer in Email. In a team environment, we built Web-Based Email and Online Group Calendar. Since, positions include: Manager of Dedicated Hosting Development, Systems Architect, Manager of Mysql Operations, Email Architect, Chief Technology Officer, VP Product Development and most recently Chief Scientist. This is a personal blog and opinions are of my own and not necessarily that of my employer. I also author on Inside.GoDaddy.com. Connect with me on Google.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

HTML tags are not allowed.