Welcome to WebmasterWorld Guest from

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

How do you increase sample rate for page speed

2:22 am on Mar 18, 2014 (gmt 0)

Preferred Member from US 

10+ Year Member

joined:May 6, 2004
posts: 650
votes: 0

I changed over to the new 'universal' analytics for a site. I want to get a better handle on page speed. The way to do that that I found appears to be from the old version of analytics. When I look at the page timing reports, I see a lot of the days are zero. I think this is because the site doesn't get more than 300 visits a day on average.

My analytics tracking code looks something like

(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

ga('create', 'UA-________-_', 'mysite.com');
ga('send', 'pageview');


I was previously using the old code and just changed over today. I found something that said to add the following to the tracking code.

Added  _gaq.push(['_setSiteSpeedSampleRate', 100]); to the google tracking code

That was supposed to tell analytics to track the page speed of all pages as I understand it. 100 says sample speeds for 100 percent of the pages?


1) will changing the code to the universal analytics code change things so that I can see the complete page timings. ?
2) if the new universal analytics code won't show the page timings what code can I add to the tracting code?