<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=763991110377089&amp;ev=PageView&amp;noscript=1">

New: How to Track Page Load Speed in Google Analytics

May 6, 2011 / by Claye Stokes

[Update 12/5/2011] Thanks to Roy (see comments) for reminding me to follow up with this post - as of two weeks ago, the Site Speed report is available by default in the new (v5) version of Google Analytics. No code snippets or special settings are necessary to view the report - just log in and take a look!

I’m excited about the new Google Analytics interface, and not just because it is faster and looks shiny.

The latest significant feature to be announced is the Site Speed Report (officially announced Wednesday), which gives us the ability to track page load time for every page on a website, and then analyze load speed in great detail.

Why Track Page Load Speed?

Site Speed in Google Analytics

First of all, having a fast website can improve rankings, so improving slow pages can have an impact on your organic success. Site speed is an increasingly important ranking factor as Google continues to improve search results with websites that are more useful and user-friendly.

Second, page load speed metrics (in sweet detailed, decimal form) can also be used to improve conversion rates and usability.

Here are questions that Site Speed Reports will help you answer:

  • Of your top 10 highest converting landing pages, which takes the most time to load?
  • Is a certain browser or device experiencing page load problems?
  • What is the relationship between your slowest or fastest loading pages and high or low bounce rates?
  • What pages take the most time to load?
  • Is a certain country or region experiencing speeds that are out of the norm?

How to Turn on Site Speed Reports to Track Page Load Speed with Google Analytics:

It's really simple. Just locate the Google Analytics JavaScript snippet embedded in your HTML, and add this method just after the line containing the _trackPageview method:

_trackPageLoadTime();

Here is an example in context (default asynchronous snippet):

<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackPageLoadTime']);
(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>

For more implementation instructions, or if you’re using a different snippet version than the example above, go ahead and refer to Google’s official Site Speed implementation guidelines.

More Screenshots:

Here are some more examples of the new Site Speed report in the wild. Go implement it on your site and have fun!

 

Site Speed Dashboard

 

Page Load Speed by Country

 

Page Load Speed in Google Analytics

Topics: Blog Analytics

Claye Stokes

Written by Claye Stokes

Claye has always been passionate about business, web technologies, and marketing. Professionally, he has worked for both SEO agencies and full service ad agencies. As a result, his experience ranges from managing the online presence and SEO for small- to enterprise-level companies, to working side by side with business owners to fulfill their entire marketing and advertising campaigns, both on and off the web. When he isn't working or spending time with his beautiful wife and two children, you will probably find him researching and practicing online marketing techniques, or outdoors practicing his golf swing. Check out Claye Stokes on Google+.

Let us improve your online marketing results

We have increased traffic, leads, and sales for well-known companies—including Dell, Mrs Fields Cookies, Hotels.com and H&R Block.

Plus for hundreds of local smaller companies like dentists, plumbers, dermatologists, etc.

Find out how to work with us  

Subscribe to Email Updates