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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i nr-page-duration

Weekly Downloads

1

Version

1.0.1

License

Unlicense

Last publish

Collaborators

  • mxbaylee