nr-page-duration
v1.0.1
Published
Record page duration on your pages
Downloads
18
Maintainers
Readme
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: