Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.75 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.75 KB

Helix RUM Enhancer

Add advanced functionality to Helix RUM Collection (client-side)

Status

codecov CircleCI GitHub license GitHub issues LGTM Code Quality Grade: JavaScript semantic-release

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 Collection
  • click: A click anywhere in the document
  • viewblock: A Helix block has been scrolled into the viewport
  • viewmedia: An image or video hosted by Helix Media Bus has been scrolled into the viewport
  • enter: when page loads and the referrer is different than the current page.

Development

Build

$ npm install

Test

$ npm test

Lint

$ npm run lint