I use ActivityWatch which has a browser and vs code plugin and it just tracks what i do by itself in the background. As soon as I spend a second having to do something with the time tracking software that is a second lost. It should be passive and in the background. It's by no means perfect and sometimes buggy.. but works for me.