From the Keyboard
Tutorials, articles, and my thoughts on technology, development, and the world.
Latest Post
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