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.cjs CHANGED
@@ -1006,7 +1006,7 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
1006
1006
  return uri + separator + key + '=' + value;
1007
1007
  }
1008
1008
  }
1009
- if ((pixelEventParamsJson === null || pixelEventParamsJson === void 0 ? void 0 : pixelEventParamsJson.event_name) === 'PageView') {
1009
+ if (eventName === 'PageView') {
1010
1010
  const currentUrl = window.location.href;
1011
1011
  const newUrl = updateQueryStringParameter(currentUrl, 'timestamp', Date.now());
1012
1012
  history.pushState({ path: newUrl }, '', newUrl);