Skip to content

Commit

Permalink
Merge pull request #340 from adobe/trieloff-patch-3
Browse files Browse the repository at this point in the history
feat: remove (deprecated) FID ex-CWV
  • Loading branch information
trieloff authored Jan 2, 2025
2 parents bce3e4c + 58e39ae commit 6f34169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {};
Expand Down

0 comments on commit 6f34169

Please sign in to comment.