pb-sxp-ui 1.15.17 → 1.15.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -984,7 +984,7 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
984
984
  return uri + separator + key + '=' + value;
985
985
  }
986
986
  }
987
- if ((pixelEventParamsJson === null || pixelEventParamsJson === void 0 ? void 0 : pixelEventParamsJson.event_name) === 'PageView') {
987
+ if (eventName === 'PageView') {
988
988
  const currentUrl = window.location.href;
989
989
  const newUrl = updateQueryStringParameter(currentUrl, 'timestamp', Date.now());
990
990
  history.pushState({ path: newUrl }, '', newUrl);