pb-sxp-ui 1.15.34 → 1.15.35

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
@@ -1008,11 +1008,12 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
1008
1008
  if (eventName === 'PageView' && (pixelEventParamsJson === null || pixelEventParamsJson === void 0 ? void 0 : pixelEventParamsJson.event_name) === 'PageView') {
1009
1009
  if (!pixelPvStatusRef.current) {
1010
1010
  pixelPvStatusRef.current = true;
1011
- return;
1012
1011
  }
1013
- const currentUrl = window.location.href;
1014
- const newUrl = updateQueryStringParameter(currentUrl, 'timestamp', Date.now());
1015
- history.pushState({ path: newUrl }, '', newUrl);
1012
+ else {
1013
+ const currentUrl = window.location.href;
1014
+ const newUrl = updateQueryStringParameter(currentUrl, 'timestamp', Date.now());
1015
+ history.pushState({ path: newUrl }, '', newUrl);
1016
+ }
1016
1017
  }
1017
1018
  else {
1018
1019
  const body = getEventParamsByJson(pixelEventParamsJson);