的指标如何映射到

的指标如何映射到

本文介绍了Google Analytics Site Speed 的指标如何映射到 W3C Navigation Timing API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Dimensions & 上提供的网站速度指标的解释指标参考不清楚(至少对我而言).它们代表 Navigation Timing API 中的事件,但我无法弄清楚哪些事件是每个指标的起点和终点.

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.

推荐答案

GA 指标名称(左)到 Navigation Timing 标签(右):

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

这篇关于Google Analytics Site Speed 的指标如何映射到 W3C Navigation Timing API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-28 00:27