npm

Don't miss out on this year's npm Pride t-shirt designs!Order your favorites here »

nr-page-duration

1.0.1 • Public • Published

Page Duration

Page duration - the time spent by a user on a page.

This project will record page duration in Insights via the Browser agent.

Usage

Install the package via npm:

npm install --save nr-page-duration

Be sure to require it in your code before compiling it:

require('nr-page-duration')

Lastly, check out the data in Insights via a query similar to:

SELECT histogram(duration, 120020FROM PageAction WHERE actionName = 'PageDuration' SINCE 1 month ago

This will produce a graph similar to:

screenshot

install

npm i nr-page-duration

Downloadsweekly downloads

22

version

1.0.1

license

Unlicense

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability