@adobe/helix-rum-enhancer
v2.11.0
Published
Helix RUM Enhancer
Downloads
15,608
Maintainers
Keywords
Readme
Helix RUM Enhancer
Add advanced functionality to Helix RUM Collection (client-side)
Status
Usage
This library is meant to be used in conjunction with and loaded by the sampleRUM
function found in Helix Project Boilerplate or Helix RUM JS.
It will add following new checkpoints:
cwv
: Core Web Vitals Collectionpagesviewed
: number that helps to estimate how many pages are seen in average by a user.click
: A click anywhere in the documentviewblock
: A Helix block has been scrolled into the viewportviewmedia
: An image or video hosted by Helix Media Bus has been scrolled into the viewportreload
,navigate
,enter
: depending on how the current page was accessedformsubmit
: when a form is submittedleave
: when the user leaves the page
Development
Build
$ npm install
Test
$ npm test
Lint
$ npm run lint