Average Time Spent on Page View
Hi All,
I was wondering how to properly Calculate Average Time Spent on a Page View? I have a hit segment applied to a specific page. It is also my understanding that page views can increase without a timestamp being applied https://experienceleague.adobe.com/en/docs/analytics/components/metrics/total-seconds-spent
Here is my metric:

This segment in the metric removes this page view if it was the 1 and only page view in the visit. I'm anxious that in a scenario where a user sees the page 2 times and the 2nd time the user doesn't have an additional hit and closes the browser. To my understanding, the total seconds spent wouldn't increase but the page views would increase, meaning I could get a smaller average inflating the page view denominator without a corresponding total seconds spent to add in the numerator. Is there a way to remove the last page view that doesn't have a subsequent hit or server call as that page so that way each page view for that page has a corresponding total seconds spent to add?
Thanks!


