Site Performance Now Trackable Through Google Analytics

Introduction

The Site Speed report measures the page load time (latency) for a sample of pageviews on your website pages. It appears in the Content section of the Analytics reports. With this report, you can see which pages load the fastest and which ones are slower. You can also analyze your overall site speed along other important dimensions in order to learn how your site speed relates to a variety of factors. For example, you can view your site speed across the following categories:

  • Content—which landing pages are slowest?
  • Traffic sources—which campaigns correspond to faster page loads overall?
  • Visitor—how does latency compare by visitor type or geographic region?
  • Technology—does browser, operating system or screen resolution impact latency metrics?

Finally—and most importantly—you can take action to improve page load speed for slower pages and then track latency along these other dimensions to see if your actions resulted in desired improvements.

How to Set Up Site Speed

In order for the Site Speed reports to work, you must make a change to your tracking code. The change is a simple insertion of one additional method:

_trackPageLoadTime();

I've been waiting for this for a *long* time. If Google would just go realtime I'd be able to get down to a single script loading on my page. Having both analytics and chartbeat is the wrong answer.