Date Published: February 5, 2025
Where does the NREUM JavaScript code come from?
Issue¶
In your site, you see this JavaScript code at the bottom of your HTML:
<script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"bam.nr-data.net","licenseKey":"[LICENCE KEY","applicationID":"[APPLICATION ID]","transactionName":"[IDENTIFIER]","queueTime":0,"applicationTime":1248,"atts":"[ATTS]"=","errorBeacon":"bam.nr-data.net","agent":""}</script>
It will not be found in the Drupal code or any module or theme, contributed or otherwise, but rather our platform may insert if it New Relic is turned on. (The NR in NREUM stands for New Relic.) It sometimes causes issues with the functioning of the site, interfering with JavaScript on your pages.
Resolution¶
If you wish to remove the code, visit our instructions on turning it off. If you wish to turn it off site-wide, do not include the if {} block mentioned there.
Cause¶
This code is used by New Relic on our platform to monitor performance. If it does not affect your site's functionality, we recommend keeping it.
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.