diff --git a/packages/sui-react-web-vitals/src/index.js b/packages/sui-react-web-vitals/src/index.js index dc930c480..78705b0d7 100644 --- a/packages/sui-react-web-vitals/src/index.js +++ b/packages/sui-react-web-vitals/src/index.js @@ -112,7 +112,8 @@ export default function WebVitalsReporter({ amount, path: hasPathOnRoute ? pathname : getNormalizedPathname(pathname), target, - loadState: attribution.loadState + loadState: attribution.loadState, + ...(attribution.eventType && {eventType: attribution.eventType}) }) }