1.0.1 • Published 7 years ago

nr-page-duration v1.0.1

Weekly downloads
178
License
Unlicense
Repository
github
Last release
7 years ago

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, 1200, 20) FROM PageAction WHERE actionName = 'PageDuration' SINCE 1 month ago

This will produce a graph similar to:

screenshot