How to measure page load time with google analytics
blog.yottaa.com
How to measure page load time with google analytics
1–10 of 17 posts
Re: How to measure page load time with google analytics
#2Further, combing this with web timing API would be even more interesting.
Re: How to measure page load time with google analytics
#3There are a few small problems though:
- Page 'load' time is a bit ambiguous, I'd prefer page 'rendering' time, perhaps. (The author does note the limitation of this approach.)
- Time to window.onload may be a _very_ long time in some environments, especially when 3rd party scripts are present, especially (if memory serves) in IE.
- From eyeballing the "Bounce rate by page load time" the linear trend placed on top seems dubious -- if anything bounce rate seems to drop until the 3700ms mark. (The author notes in the text however that users seem tolerant up to the 5000ms mark).
Quibbles aside, having more page rendering time data correlated to bounce rate is an excellent idea, as I've seen some posts in web design land get pretty carried away with n-th degree optimization because they read speed matters for Google and Amazon.
In my experience, I optimized a site's page rendering time dramatically, expecting a bump in average pages per visit, and saw absolutely no change whatsoever. We need more data :)
Re: How to measure page load time with google analytics
#4Also, be careful with when different browsers fire the onLoad event. For example, Safari 3: http://www.howtocreate.co.uk/safaribenchmarks.html
Overall though, a cool hack even with the caveats above as it could give you actionable data.
Another good source of loading time metrics is Google Webmaster Tools. They have two metrics, one in the download time in the Crawl Stats section the Site Performance metric in the Labs section. Combined, they give you a really good insight into how your website is doing over time. A good game to play is spot the (very clear) inverse relationship between the number of pages crawled vs download time.
Re: How to measure page load time with google analytics
#5This is a nice idea, so points for ingenuity. There are a few small problems though: - Page 'load' time is a bit ambiguous, I'd prefer page 'rendering' time, perhaps. (The author does note the limitation of this approach.) - Time to window.onload may be a _very_ long time in some environments, especially when 3rd party scripts are present, especially (if memory serves) in IE. - From eyeballing the "Bounce rate by pag…
Re: How to measure page load time with google analytics
#6http://www.websiteoptimization.com/services/analyze/
It gives some pretty useful results when you're tuning your page because it breaks it down in to components.
Re: How to measure page load time with google analytics
#7This is a nice idea, so points for ingenuity. There are a few small problems though: - Page 'load' time is a bit ambiguous, I'd prefer page 'rendering' time, perhaps. (The author does note the limitation of this approach.) - Time to window.onload may be a _very_ long time in some environments, especially when 3rd party scripts are present, especially (if memory serves) in IE. - From eyeballing the "Bounce rate by pag…
A lot of things are being pushed into GA that aren't entirely appropriate for it, but I'm glad people are still curious in trying these things out.
Re: How to measure page load time with google analytics
#8This is a nice idea, so points for ingenuity. There are a few small problems though: - Page 'load' time is a bit ambiguous, I'd prefer page 'rendering' time, perhaps. (The author does note the limitation of this approach.) - Time to window.onload may be a _very_ long time in some environments, especially when 3rd party scripts are present, especially (if memory serves) in IE. - From eyeballing the "Bounce rate by pag…
You're correct about the issues with "page load" time. The approach in the post is really measuring the amount of time that the browser spends processing the page. However, for many modern web apps, most of the time is spent in these internal aspects of your page such as loading CSS, running javascripts, fetching images, etc...
The web timing API (there's another post about that here: http://blog.yottaa.com/2010/10/using-web-timing-api-to-measu...) we can get more detailed timers that count not just the browser time, but actually the full amount of time between typing in the URL into the browser (or clicking a link) and finishing the load of the page.
The linear trend line was created by excel automatically so I can't vouch for its accuracy other than my implicit trust of that feature.
Re: How to measure page load time with google analytics
#9Just a heads up, and the post notes this, that this way of timing is already well into the page load sequence: the server has received the request, built the HTML and has started sending it, and the browser is already parsing it. Also, be careful with when different browsers fire the onLoad event. For example, Safari 3: http://www.howtocreate.co.uk/safaribenchmarks.html Overall though, a cool hack even with the cavea…
Google Webmaster Tools does indeed give you a good perspective on performance. I believe this data comes from the google toolbar (can someone confirm this?). My problem with the data reported by webmaster tools is that it's an average. It doesn't tell me what the _worst_ page load time of the _best_ page load time my users are experiencing.
As a shameless plug, you can also check out our own tools from yottaa: http://www.yottaa.com that give you a bunch of detailed information about your websites performance. I think tools like these complement the approach detailed in the post.
Re: How to measure page load time with google analytics
#10If after timing your page you want to get some external confirmation I use this site frequently: http://www.websiteoptimization.com/services/analyze/ It gives some pretty useful results when you're tuning your page because it breaks it down in to components.
- http://www.yottaa.com (shameless plug for my own company) - http://www.webpagetest.org - http://www.zoompf.com - http://www.showslow.com