@adobe/helix-rum-enhancer
Advanced tools
Comparing version 2.11.3 to 2.11.4
@@ -0,1 +1,8 @@ | ||
## [2.11.4](https://github.com/adobe/helix-rum-enhancer/compare/v2.11.3...v2.11.4) (2024-06-10) | ||
### Bug Fixes | ||
* **fflags:** use correct domain ([3ab8f58](https://github.com/adobe/helix-rum-enhancer/commit/3ab8f583093d5b2e8314576d69debdb281919057)) | ||
## [2.11.3](https://github.com/adobe/helix-rum-enhancer/compare/v2.11.2...v2.11.3) (2024-06-07) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@adobe/helix-rum-enhancer", | ||
"version": "2.11.3", | ||
"version": "2.11.4", | ||
"description": "Helix RUM Enhancer", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -24,4 +24,4 @@ /* | ||
onetrust: [543, 770, 1136], | ||
ads: [1339], | ||
email: [1339], | ||
ads: [1139, 543], | ||
email: [1139, 543], | ||
}; | ||
@@ -114,3 +114,3 @@ | ||
const body = JSON.stringify({ weight, id, referer: urlSanitizers[window.hlx.RUM_MASK_URL || 'path'](), checkpoint, t, ...data }, KNOWN_PROPERTIES); | ||
const { href: url, origin} = new URL(`.rum/${weight}`, sampleRUM.collectBaseURL || sampleRUM.baseURL); | ||
const { href: url, origin } = new URL(`.rum/${weight}`, sampleRUM.collectBaseURL || sampleRUM.baseURL); | ||
if (window.location.origin === origin) { | ||
@@ -117,0 +117,0 @@ const headers = { type: 'application/json' }; |
54876