TimeMe.js (GitHub)

The amount of time a user spends on a webpage, or on a website can be tracked through timestamps. This, however, is not very useful because it tracks the time that the page remains open, and not the time that user actively interacts with the page.

Fortunately, there is TimeMe.js, a JavaScript library, developed by GitHub that tracks how long users actively interact with a webpage. It excludes time spent when the user minimizes the browser or switches to a different tab and ignores “idle” time-outs, when a user is inactive (no page mouse movement, no page keyboard input) for a pre-defined period.

TimeMe.js also supports tracking time for specific elements within a page, allowing developers to compare the usage of different parts of the same webpage.


Previous     Next

Use the Search Bar to find content on MarketingMind.