This metric is typically measured using web analytics tools like Google Analytics. These tools track the time a visitor spends from the moment they land on the site to when they exit. The average time on site is calculated by dividing the total duration of all sessions by the number of sessions.