Helix RUM JS
> AEM RUM Event Generator for JavaScript
If your website is not built using AEM Edge Delivery Services it is recommended to setup RUM in standalone mode.
To do it, simply add the following script to your pages.
``html`
If you want to instruct a 404 response, include the same script but set the status data attribute to 404.
`html`
If you understand the details of a high performance page, it might be advisable to load the script after the LCP event
Check the following link for advanced configuration options.
Also, you can instrument your website with RUM using Google Tag Manager
is allowed both as a script source and as a destination for navigator.sendBeacon API.$3
1. Access a page of your website where you have included the RUM script.
2. Adding to the url the request parameter
rum=on and reload the page
3. Open browser console and check that ping messages are being written.
!ping-messages-in-console4. Open the network tab of your browser and validate that ping requests using
POST method to domain rum.hlx.page are being sent and that the response status is 201
!rum-requests-in-network-tabEdge Delivery Service Projects
Note that websites implemented with Adobe Edge Delivery Services, based on the boilerplate are already instrumented with RUM.
For more details about RUM in Edge Delivery Projects, upgrading from previous versions of RUM, or customization options, you can check the page RUM in Edge Delivery Services projects
Development
$3
`bash
$ npm install
`
#### Build standalone`bash
$ npm run build-standalone
`$3
`bash
$ npm test
`$3
`bash
$ npm run lint
``Releases are performed through Semantic Release in GitHub Actions. The package uses NPM's trusted publishers support, so that NPM will not
accept any other package publishers.