From 58e39ae3eae6315562ab9c7aec479e9da2737e7d Mon Sep 17 00:00:00 2001 From: Lars Trieloff Date: Thu, 19 Dec 2024 19:06:26 +0100 Subject: [PATCH] feat: remove (deprecated) FID ex-CWV --- modules/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/index.js b/modules/index.js index 880e3df..e3c4c93 100644 --- a/modules/index.js +++ b/modules/index.js @@ -90,7 +90,7 @@ function addCWVTracking() { // When loading `web-vitals` using a classic script, all the public // methods can be found on the `webVitals` global namespace. - ['FID', 'INP', 'TTFB', 'CLS', 'LCP'].forEach((metric) => { + ['INP', 'TTFB', 'CLS', 'LCP'].forEach((metric) => { const metricFn = window.webVitals[`on${metric}`]; if (typeof metricFn === 'function') { let opts = {};