Skip to content

Commit

Permalink
Merge pull request #11 from ErwinHofmanRV/add-RUM-prefix-to-js-file
Browse files Browse the repository at this point in the history
added RUM prefix to tracking ID to be included in JS file request
  • Loading branch information
peterjaap authored Jan 31, 2025
2 parents d361f49 + 8570f1d commit 80b7523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/frontend/templates/script/rumvision.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ if (! $viewModel->shouldIncludeScript()) {
var head = si.querySelector('head'), js = si.createElement('script');
js.src = 'https://d5yoctgpv4cpx.cloudfront.net/'+rum+'/v4-'+vi.location.hostname+'.js';
head.appendChild(js);
})( '<?= $escaper->escapeJs($viewModel->getTrackingId()) ?>', window, document, '<?= $escaper->escapeJs($viewModel->getHostName()) ?>' );
})( 'RUM-<?= $escaper->escapeJs($viewModel->getTrackingId()) ?>', window, document, '<?= $escaper->escapeJs($viewModel->getHostName()) ?>' );
</script>

0 comments on commit 80b7523

Please sign in to comment.