Under the microscope: website user statistics
Project #7 of 11 in "Stepping Into Production" progression
Updated: May 06, 2026
See the Pen Under the microscope: website user statistics by lonekorean (@lonekorean) on CodePen.
In this project
We store the following data:
- Clicks
- Scrolls
- Page / section navigation
- Scroll pauses — attention focus
- Session duration tracking
- Mouse movement tracking (how the user moves the cursor on the page)
Additionally
-
Build visualizations using charts:
- How many times each button was clicked
- Which pages users visit most often
- Where users tend to stop vs. which sections they scroll past
- Average session duration
- Number of quick exits (sessions shorter than 2 seconds)
No lessons here, but we'll launch them soon.