diff --git a/packages/sui-react-web-vitals/src/index.js b/packages/sui-react-web-vitals/src/index.js index a3b06d28f..e114122dd 100644 --- a/packages/sui-react-web-vitals/src/index.js +++ b/packages/sui-react-web-vitals/src/index.js @@ -102,7 +102,7 @@ export default function WebVitalsReporter({ const isAllowed = allowed.includes(pathname) || allowed.includes(routeid) const target = getTarget({name, attribution}) - if (!isAllowed || !logger?.cwv || rating === RATING.GOOD || !target) return + if (!isAllowed || !logger?.cwv || rating === RATING.GOOD) return const {loadState, eventType} = attribution