@devskin/browser-sdk 1.0.38 → 1.0.39
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/devskin.cjs.js +5 -6
- package/dist/devskin.cjs.js.map +1 -1
- package/dist/devskin.esm.js +5 -6
- package/dist/devskin.esm.js.map +1 -1
- package/dist/devskin.umd.js +5 -6
- package/dist/devskin.umd.js.map +1 -1
- package/dist/devskin.umd.min.js +2 -2
- package/dist/devskin.umd.min.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/devskin.umd.js
CHANGED
|
@@ -930,7 +930,7 @@
|
|
|
930
930
|
element: this.getElementSelector(target),
|
|
931
931
|
elementId: target.id || undefined,
|
|
932
932
|
elementClass: target.className || undefined,
|
|
933
|
-
pageUrl: window.location.
|
|
933
|
+
pageUrl: window.location.href,
|
|
934
934
|
timestamp: new Date().toISOString(),
|
|
935
935
|
viewportWidth: window.innerWidth,
|
|
936
936
|
viewportHeight: window.innerHeight,
|
|
@@ -958,7 +958,7 @@
|
|
|
958
958
|
maxDepth: this.maxScrollDepth,
|
|
959
959
|
pageHeight: documentHeight,
|
|
960
960
|
viewportHeight: windowHeight,
|
|
961
|
-
pageUrl: window.location.
|
|
961
|
+
pageUrl: window.location.href,
|
|
962
962
|
timestamp: new Date().toISOString(),
|
|
963
963
|
};
|
|
964
964
|
this.scrollData.push(scrollData);
|
|
@@ -995,7 +995,7 @@
|
|
|
995
995
|
const mouseMoveData = {
|
|
996
996
|
x: event.clientX + window.scrollX,
|
|
997
997
|
y: event.clientY + window.scrollY,
|
|
998
|
-
pageUrl: window.location.
|
|
998
|
+
pageUrl: window.location.href,
|
|
999
999
|
timestamp: new Date().toISOString(),
|
|
1000
1000
|
};
|
|
1001
1001
|
this.mouseMoveData.push(mouseMoveData);
|
|
@@ -13941,8 +13941,7 @@
|
|
|
13941
13941
|
this.heatmapCollector.start();
|
|
13942
13942
|
// Initialize screenshot collector and capture page
|
|
13943
13943
|
this.screenshotCollector = new ScreenshotCollector(this.config, this.transport);
|
|
13944
|
-
|
|
13945
|
-
this.screenshotCollector.captureAndSend(this.sessionId, window.location.pathname);
|
|
13944
|
+
this.screenshotCollector.captureAndSend(this.sessionId, window.location.href);
|
|
13946
13945
|
if (this.config.debug) {
|
|
13947
13946
|
console.log('[DevSkin] Heatmap collection enabled (always on)');
|
|
13948
13947
|
}
|
|
@@ -14013,7 +14012,7 @@
|
|
|
14013
14012
|
userId: this.userId || undefined,
|
|
14014
14013
|
anonymousId: this.anonymousId || undefined,
|
|
14015
14014
|
properties: Object.assign(Object.assign({}, properties), this.getContextData()),
|
|
14016
|
-
pageUrl: window.location.
|
|
14015
|
+
pageUrl: window.location.href,
|
|
14017
14016
|
pageTitle: document.title,
|
|
14018
14017
|
};
|
|
14019
14018
|
(_a = this.transport) === null || _a === void 0 ? void 0 : _a.sendEvent(eventData);
|