Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Is it possible to add code to a static, local HTML file on my computer, so that whenever I open the local file with a web browser (file:///C/Users/...), and assuming that the computer is connected to the Internet, my access will be tracked using Google Analytics or a similar service?

share|improve this question
    
Can you tell us why, having some context around this would be helpful. –  tim.baker Nov 17 '13 at 12:49

2 Answers 2

A simple solution, although messy, is to have a iframe, set to a tiny size calling a page on a server which has google analytics. I imagine this is to allow you to do some sort of project tracking, Google Analytics would allow you to have a breakdown of time spent etc.

share|improve this answer

I don't know what exactly you want to track. ManicTime is an application which can record everything that is done on a computer like opening documents, computer uptime, visited websites and so on.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.