Skip to content
r.

TimeMe.js

jasonzissman/TimeMe.js · Public GitHub repository

A JavaScript library to accurately time how long a user views a web page, disregarding idle time and time when the tab or window is minimized.

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

TimeMe.js live demo screenshot
Captured from the live demo · 2026-11-03

About this project

Author-written excerpt from the project README.

TimeMe.js is a JavaScript library that accurately tracks how long users interact with a web page. It disregards time spent on a web page if the user minimizes the browser or switches to a different tab. TimeMe.js also disregards 'idle' time: if the user goes idle (no mouse movement, no keyboard input) for a customizable period of time, TimeMe.js will stop tracking. Together, these attributes create a much more accurate representation of how long users are actually using a web page.

Requirements and intended audience

TimeMe.js is a JavaScript library that accurately tracks how long users interact with a web page. It disregards time spent on a web page if the user minimizes the browser or switches to a different tab. TimeMe.js also disregards 'idle' time: if the user goes idle (no mouse movement, no keyboard input) for a customizable period of time, TimeMe.js will stop tracking. Together, these attributes create a much more accurate representation of how long users are actually using a web page.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-21. Source: https://github.com/jasonzissman/TimeMe.js/blob/master/README.md

Recorded maintenance information

Last recorded source update: 2023-01-06. Saved release: v2.0.0 · 2017-01-28. These dates do not guarantee ongoing maintenance.

Technologies
JavaScript
Licence
MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-23. This does not test every feature.

Browse related categories