Unwanted Helix RUM Script Injected on AEM 6.5 Publish Pages
Hi Everyone,
We are running AEM 6.5 on-premise (AMS) and recently noticed that our Publish pages are automatically including the following script tag:
<script defer="defer" type="text/javascript" src="https://rum.hlx.page/.rum/@adobe/helix-rum-js@%5E2/dist/micro.js" data-routing="p00000-e000000"></script>Observations
The script is not present in Author mode.
It is always injected in Publish output.
We confirmed it by hitting the publish instance directly (bypassing dispatcher and CDN) using curl:
This returns the script element, meaning it is injected inside Publish itself.
Analysis
The script is not authored in our page templates, HTL, or clientlibs.
Searching /apps and /libs in CRX/DE gives no matches for rum.hlx.page or helix-rum-js.
This indicates the injection is not content-based, but done by an OSGi bundle or service active only on Publish.
From documentation, I found this script is part of Adobe Helix / Edge Delivery Services Operational Telemetry (RUM = Real User Monitoring) used in AEM as a Cloud Service.
Since we are on AEM 6.5 on-prem, we do not require this script.
Questions
From which bundle or service is this script injected on AEM 6.5 Publish?
Is it part of a Helix/Franklin library shipped in AMS environments?
Does anyone know the OSGi config PID that controls it?
What is the recommended way to disable/remove this script on AEM 6.5 Publish?
Can we stop/uninstall the responsible bundle?
Or override the OSGi config under /apps/<project>/config.publish/?
Are there any implications of removing it on an on-prem 6.5 environment (we believe it’s only telemetry for Edge Delivery)?