Add advanced functionality to Helix RUM Collection (client-side)
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
$ npm install
$ npm test
$ npm run lint