3

The explanations of the site speed metrics provided on Dimensions & Metrics Reference are unclear (at least to me). They represent events in the Navigation Timing API but I cannot figure out which events are the start and end points of each metric.

igrigorik
  • 9,433
  • 2
  • 29
  • 30
vcurd
  • 173
  • 10

1 Answers1

9

GA metric names (left) to Navigation Timing labels (right):

        pageLoadTime = loadEventStart - navigationStart
    domainLookupTime = domainLookupEnd - domainLookupStart
serverConnectionTime = connectEnd - connectStart
  serverResponseTime = responseStart - requestStart
    pageDownloadTime = responseEnd - responseStart
     redirectionTime = fetchStart - navigationStart
  domInteractiveTime = domInteractive - navigationStart
domContentLoadedTime = domContentLoadedEventStart - navigationStart
igrigorik
  • 9,433
  • 2
  • 29
  • 30
  • pageDownloadTime doesn't look right. Should that be responseEnd - responseStart – vcurd Sep 25 '13 at 23:22
  • domContentLoadedTime does not look right. According to [the official docs](https://developers.google.com/analytics/devguides/reporting/core/dimsmets#view=detail&group=site_speed&jump=ga_domcontentloadedtime) "... parsing of the document is finished, the Document Object Model is ready, but referenced style sheets, images, and subframes may not be finished loading. So I would say: **domContentLoadedTime = _domContentLoadedEventEnd_ - navigationStart** – vgrinko Apr 28 '15 at 14:29
  • @igrigorik some of these events (`navigationStart`) are not valid as of today. Appreciate if you could update it :) – Shyju Jun 23 '18 at 18:06