From the Keyboard

Tutorials, articles, and my thoughts on technology, development, and the world.

Latest Post

JavaScript: Track Time Spent By User on Webpage without Google Analytics
Tutorial

JavaScript: Track Time Spent By User on Webpage without Google Analytics

To track time spent by user/website visitor on a given page, we will be using JavaScript’s onbeforeunload event. The onbeforeunload event occurs when the document is about to be unloaded.

Sujeet Pal

January 13, 2022

All Posts