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/pb-ui.js CHANGED
@@ -1001,11 +1001,12 @@
1001
1001
  if (eventName === 'PageView' && (pixelEventParamsJson === null || pixelEventParamsJson === void 0 ? void 0 : pixelEventParamsJson.event_name) === 'PageView') {
1002
1002
  if (!pixelPvStatusRef.current) {
1003
1003
  pixelPvStatusRef.current = true;
1004
- return;
1005
1004
  }
1006
- const currentUrl = window.location.href;
1007
- const newUrl = updateQueryStringParameter(currentUrl, 'timestamp', Date.now());
1008
- history.pushState({ path: newUrl }, '', newUrl);
1005
+ else {
1006
+ const currentUrl = window.location.href;
1007
+ const newUrl = updateQueryStringParameter(currentUrl, 'timestamp', Date.now());
1008
+ history.pushState({ path: newUrl }, '', newUrl);
1009
+ }
1009
1010
  }
1010
1011
  else {
1011
1012
  const body = getEventParamsByJson(pixelEventParamsJson);