我們都知道 Google 已經將網站的載入速度納入搜尋引擎排名 以及 Google Adwords 網頁品質的計算因素裡面。我們又如何得知 Google 那邊對我們的網站測出了什麼樣的速度?
Google 上個禮拜在 Google Analytics 發布了一個新的功能 – Site Speed (網站速度)。網站管理者需要在原有的 tracking code 上面加入 _gaq.push([‘_trackPageLoadTime’]); 這段程式碼,數個小時後,進入 Google Analytics 的新 Beta 版本就可以看到網頁載入時間的統計資訊。
這段程式碼目前並沒有預設在 tracking code 裡面,就算你是 Google Analytics 的新用家,還是需要在Google Analytics介面提供的tracking code 上面額外再加上 _gaq.push([‘_trackPageLoadTime’]); 這一段。
Reference from: http://seo.list.tw/google-analytics-site-speed/