News for hackers. Stuff that matters.
Re:Reddit vs Hacker News vs Twitter by kijin on Tuesday March 06, 2012 @05:16AM (#3670388)
> The per-page time is actually quite high; often over 5 minutes on average for a lot of my stories even when its a big crowd. I suspect some subtle misreading of Google Analytics on my part, or else people might actually be reading the whole thing carefully!?

That might be because a lot of people do what I do: keep the article open while browsing comments on HN or Reddit, and switch back and forth between the two tabs while writing my own comment. In fact, I'm doing it right now. I don't know how Google Analytics would measure time spent on a page when the page sits idle in a background tab for the most part but brought to the foreground from time to time.

[Edit] Things get even more complicated if you open 5 articles and 5 comment pages at the same time, and take 30+ minutes to go through all of them.

Re:Reddit vs Hacker News vs Twitter by Djehngo on Tuesday March 06, 2012 @05:23AM (#3670402)
I tend to have one window for recreation browsing and at the start of the day I will open HN and run down the front page middle clicking the link and the comments pages for anything that looks interesting or highly up-voted.

This gives me a queue of stuff I can read in free time throughout the day but I imagine it really does skew the analytics.

Re:Reddit vs Hacker News vs Twitter by nikcub on Tuesday March 06, 2012 @06:34AM (#3670560)
This is why I wrote my own datapoint gathering script (I started it while at Techcrunch, curious about who scrolls down to comments, etc.).

It measures body focus, number of times unfocused, total focus time, scroll position, scroll rate and a bunch of other things.

It isn't completely working cross-browser yet, but it is close and useful enough where for Safari and Chrome visitors I can see how far down the page they are scrolling and how long the page is in focus for.

Re:Reddit vs Hacker News vs Twitter by 18pfsmt on Tuesday March 06, 2012 @07:03AM (#3670634)
No doubt, this is part of the reason this noscript_using_reader stopped visiting TC. Call me a tinfoilhat-guy, but I simply would not consent to the collection of such data. It's ironic that I've learned so much from your analysis of data collection techniques elsewhere.
Re:Reddit vs Hacker News vs Twitter by path411 on Thursday March 08, 2012 @04:43PM (#3681819)
If the site still functions without these scripts (As it should), then there isn't much of a reason to stop visiting a site because of it.
Re:Reddit vs Hacker News vs Twitter by RollAHardSix on Tuesday March 06, 2012 @08:29AM (#3670864)
This sounds extremely useful, would you consider opening the script for public usage?
Re:Reddit vs Hacker News vs Twitter by nikcub on Tuesday March 06, 2012 @10:43AM (#3671475)
I have been meaning to clean it up and post it to my GitHub, I will do it this weekend. If you like, email me (in profile) and i'll ping you as soon as it is up
Re:Reddit vs Hacker News vs Twitter by skeletonjelly on Tuesday March 06, 2012 @06:56AM (#3670607)
A news site in Australia here seems to know when the tab is visible and auto plays the video content for a story. I assume it's using these Javascript events too.
Re:Reddit vs Hacker News vs Twitter by joejohnson on Tuesday March 06, 2012 @03:32PM (#3672724)
Is there a simple way in javascript to tell if a tab is currently visible in a browser?
Re:Reddit vs Hacker News vs Twitter by kijin on Tuesday March 06, 2012 @05:13PM (#3673183)
http://stackoverflow.com/questions/1760250/how-to-tell-if-br...

But that can still lead to inaccurate measurements of "time on opage" if the user switches back and forth between tabs. Do you only measure the periods during which the tab is active (and if so, how granular?) or do you simply subtract the first active timestamp from the last active timestamp?