3

Is there a way to track how much time you spend on each website? Ideally I'd like something I could plug into my browser that would give me information that I could pass into a Ruby program. Each day it might output something like this:

http://www.google.com => 45.02 minutes
http://www.espn.com => 34.21 minutes
http://www.facebook.com => 26.35 minutes

If this doesn't exist, what would you use to build this?

Stuart M
  • 11,458
  • 6
  • 45
  • 59
Phil Braun
  • 581
  • 2
  • 8
  • 19
  • 2
    I am eager to see the answer.Nice to think :) – Arup Rakshit Apr 10 '13 at 15:56
  • Do you mean tracking the time you personally spend on a website or tracking the amount of time visitors to your website spend on other sites? – Charles Caldwell Apr 10 '13 at 16:22
  • Also, do you mean to track the amount of time a user has the website focused and is actively interacting with it or just has it open in a tab (in which case mine would be `stackoverflow.com => 24 hours` since it is always open in one of my tabs). – Charles Caldwell Apr 10 '13 at 16:25
  • 1
    @CharlesCaldwell I mean tracking the time I personally spend on a website. I was thinking about just tracking how long the website was open in the tab because I image that would be a lot easier to do than tracking directly interacting with the website. It would be really cool to track both if possible. – Phil Braun Apr 10 '13 at 16:27
  • You probably have to write a browser extension that then saves/uploads the data to the file system/a server. – nex May 11 '13 at 00:20
  • Searching for 'Time Tracker' on the Chrome store yields a few plugins, have you tried any of those? – Frison Alexander May 17 '13 at 11:08

1 Answers1

2

If you use Firefox you could write a greasemonkey script to do this. There's also a plugin that does this for you: https://addons.mozilla.org/En-us/firefox/addon/leechblock/

Its primary purpose is to block sites that are time wasters, but it also can track the time you spend on a site or block of sites.

If you use Chrome this time tracker seems to do what you want: https://chrome.google.com/webstore/detail/timestats/ejifodhjoeeenihgfpjijjmpomaphmah?hl=en

Steve Midgley
  • 2,226
  • 2
  • 18
  • 20