From ce1aa01ead918699730355f49b328f2c4a201d2b Mon Sep 17 00:00:00 2001 From: Darin Kuntze Date: Fri, 10 Jan 2025 09:42:22 -0600 Subject: [PATCH] change collectbase to .rum --- scripts/aem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/aem.js b/scripts/aem.js index 2ace3102c6..9032e1ecb4 100644 --- a/scripts/aem.js +++ b/scripts/aem.js @@ -70,7 +70,7 @@ function sampleRUM(checkpoint, data) { }); sampleRUM.baseURL = sampleRUM.baseURL || new URL(window.RUM_BASE || '/', new URL('https://rum.hlx.page')); - sampleRUM.collectBaseURL = sampleRUM.collectBaseURL || sampleRUM.baseURL; + sampleRUM.collectBaseURL = sampleRUM.collectBaseURL || new URL(window.origin); sampleRUM.sendPing = (ck, time, pingData = {}) => { // eslint-disable-next-line max-len, object-curly-newline const rumData = JSON.stringify({