Hacker News new | ask | show | jobs
by jsdalton 4770 days ago
I've been meaning to get around to implement something like this myself. There are a few other annoyances related to this in Google Analytics the author doesn't mention, such as Google recording the time of visit for one page visitors as 0 seconds.

The implementation he describes here is just a 15 second ping. I was thinking about tying it to a scroll event and sending the ping if the user scrolls down (maybe a certain distance). This is actually a meaningful event in the context of a blog (since it likely means they are reading the article).