You can measure productivity by hours spent at a desk?
Productivity is measured by economists in $/hour.
Which is why two identical jobs with the same real life output have drastically different productivity.
A nursing home in Luxembourg has 5 times the productivity of one in Romania despite the services being identical and tech-unrelated.
You can measure attendance by hours spent at a desk