Browser Mouse + Keyboard webpage activity? E.g. for monitoring subject engagement

Just found out about this 30 min ago, love the project. I am working on a project to help clients understand their own behavioral biases and vulnerabilities and know it would be all of 3 or 4 lines of code to capture user inputs on a page including mouse/keyboard actions and what divs etc a user is clicking on or hovering over/have in focus (e.g. videos).

Is this planned for ActivityWatch?

If not I’d love to contribute this as a small feature to extend the web activity logging as it’s very useful. Where exactly is the source code for the chrome extension so I could modify it? I’m working on modeling impulsivity of users especially on sites crafted to draw their attention, for the purpose of teaching users about their own behaviors.

No plans to add what you are asking for, but you’re welcome to make the changes yourself!

It is here, but it is in the process of being overhauled (see PRs): https://github.com/ActivityWatch/aw-watcher-web