TimeMe.js (GitHub)

The amount of time a user spends on a webpage or the 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 web page. It excludes time spent when the user minimizes the browser or switches to a different tab.

TimeMe.js also excludes ‘idle’ time outs. It ignores the time duration when a user goes idle (no page mouse movement, no page keyboard input) for a pre-defined period.

TimeMe.js supports tracking time for specific elements within a page so that developers can track and compare usage of different parts of the same web page.

Previous     Next

Note: To find content on MarketingMind type the acronym ‘MM’ followed by your query into the search bar. For example, if you enter ‘mm consumer analytics’ into Chrome’s search bar, relevant pages from MarketingMind will appear in Google’s result pages.







Marketing Analytics Workshop

Marketing Analytics Workshop

In an analytics-driven business environment, this analytics-centred consumer marketing workshop is tailored to the needs of consumer analysts, marketing researchers, brand managers, category managers and seasoned marketing and retailing professionals.


Digital Marketing Workshop

Digital Marketing Workshop

Two-day hands-on training on Digital Marketing, conducted at the NUS Business School. Designed to make you more effective in developing and executing digital marketing strategies. You learn to use Google Search Console, Google Analytics and Google Ads to execute online marketing initiatives, run search and display advertising campaigns, and track and optimize performance.


What they SHOULD TEACH at Business Schools

What they SHOULD TEACH at Business Schools


Is marketing education fluffy too?


Experiential Learning via Simulators | Best Way to Train Marketers

Experiential Learning via Simulators | Best Way to Train Marketers


Marketing simulators impart much needed combat experiences, equipping practitioners with the skills to succeed in the consumer market battleground. They combine theory with practice, linking the classroom with the consumer marketplace.