We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7a1fdd commit 9e6f420Copy full SHA for 9e6f420
1 file changed
packages/javascript/src/addons/webVitals.ts
@@ -61,7 +61,7 @@ export class WebVitalsTracker {
61
const formatted = this.formatValue(name, value);
62
const thresholds = METRIC_THRESHOLDS[name];
63
const thresholdNote = thresholds
64
- ? `, threshold: ${this.formatValue(name, thresholds[1])}`
+ ? `, poor > ${this.formatValue(name, thresholds[1])}`
65
: '';
66
67
this.callbacks.sendEvent(
@@ -73,7 +73,7 @@ export class WebVitalsTracker {
73
delta,
74
id,
75
navigationType,
76
- url: location.href,
+ url: location.origin + location.pathname,
77
},
78
);
79
}
0 commit comments