The Time Tracking automatically measures time on a task moved to an “In Progress” Lane Type and pauses when it moves to any other column type.
If you’d prefer for the system to record working time when you’re viewing an open task (have the card’s full view expanded) this is possible. Use the Task opening/closing starts/stops the timer script, and have the timer start when you open a task and pause when you close it.