Sequence calculation logic when segments are involved to calculate Average Time Spent on Site.
‘Average Time on Site’ metric show the amount of time spent between hits for a given dimension item. Average Time on Site is calculated based on (Total Seconds Spent/sequences). A sequence is where a dimension item is the same for one or more consecutive hits.
However, there will be some difference in the calculation of ‘Average Time on Site’ when segments based on Hit or Visit container are involved. This is because of sequence calculation.
Example - Page vs Average Time spent on Site report
Segment condition: Page equals A or B
Visit A Page Time Spent
Hit #1 A 5
Hit #2 B 11
Hit #3 C 2
Hit #4 D 2
Avg Time Spent on site (Visit segment) = (5+11+2+2)/4 = 5 seconds
Avg Time Spent on site (Hit segment) = (5+11)/2 = 8 seconds