From 8d7f41c2a3064941f1f44032204f817cc64c6f3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tjitse=20Efd=C3=A9?= Date: Fri, 31 Jan 2025 10:37:46 +0100 Subject: [PATCH] Revert hardcoding RUM- in tracking phtml --- src/view/frontend/templates/script/rumvision.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/view/frontend/templates/script/rumvision.phtml b/src/view/frontend/templates/script/rumvision.phtml index c910f97..ff59530 100755 --- a/src/view/frontend/templates/script/rumvision.phtml +++ b/src/view/frontend/templates/script/rumvision.phtml @@ -21,10 +21,10 @@ if (! $viewModel->shouldIncludeScript()) { if ( s.urls && s.regex && ( s.page = eval('('+s.regex+')')( s.urls, vi.location.pathname ) ) && !s.page.type ) { return sessionStorage.setItem('rumv', JSON.stringify( s ) ); } - + vi.rumv.storage = s; var head = si.querySelector('head'), js = si.createElement('script'); js.src = 'https://d5yoctgpv4cpx.cloudfront.net/'+rum+'/v4-'+vi.location.hostname+'.js'; head.appendChild(js); - })( 'RUM-escapeJs($viewModel->getTrackingId()) ?>', window, document, 'escapeJs($viewModel->getHostName()) ?>' ); + })( 'escapeJs($viewModel->getTrackingId()) ?>', window, document, 'escapeJs($viewModel->getHostName()) ?>' );