這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Web Vitals Tracking

描述

Track core web vitals data and save history, powers a dashboard with 24h and one month of historic data, shows worsts pages.
Send also into Google Analytics (both gtag and ga supported) and can be extended to send also to Google Tag Manager and third parties

NOTE: This plugin does not send data to Google Tag Manager events, it only adds them to the dataLayer object but requires additional configuration on the Tag manager dashboard.

What is Core Web Vitals?

From the official page (https://web.dev/vitals/) Web Vitals is:
[…] an initiative by Google to provide […] quality signals that are essential to delivering a great user experience on the web.
[…]
Core Web Vitals are the subset of Web Vitals that apply to all web pages, should be measured by all site owners, and will be surfaced across all Google tools.
Each of the Core Web Vitals represents a distinct facet of the user experience, is measurable in the field, and reflects the real-world experience of a critical user-centric outcome.

Why are them important?

They are important not only to improve user experience on websites but also because since 2021 Core Web Vitals will become official ranking signals for Google (https://webmasters.googleblog.com/2020/05/evaluating-page-experience.html).

HOW TO track into Google Tag Manager

This plugin adds following data to the dataLayer object:
dataLayer.push({
event: “web-vitals”,
event_category: “Web Vitals”,
event_action: ,
event_value: ,
event_label: ,
});

You only need to create a custom event trigger in your Google Tag Manager (see https://support.google.com/tagmanager/answer/7679219?hl=en#), create Data Layer Variables and track those as Google Analytics Events on Tag Manager.

HOW TO track into third party tools or custom Google Tag Manager syntax

This plugins allows developers to listen for data captured and track them as their prefer. You only need to create a global Javascript function named
window.wpWebVitalTrack
and you’re done!
E.g.:
window.wpWebVitalTrack = function(event_id, event_name, event_value, event_delta) {
console.log(“Ready to do something amazing!”, event_id, event_name, event_value, event_delta);
// do something amazing!
}

NOTE: create this method as early as possible to avoid missing some event!

螢幕截圖

  • Last month metrics average and last 24h report
  • Last 24h table report
  • Last month report; graph will auto expand to 30 days based on collected data
  • Worst urls report

安裝

1) upload zip file to your server and extract it in your plugins directory.
2) go to your administration plugin dashboard and enable it

評價

There are no reviews for this plugin.

貢獻者及開發者

“Web Vitals Tracking” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Web Vitals Tracking 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.1

  • Fix warning

1.0.0

  • First release