Time spent per visit | Community
Skip to main content
Level 2
December 30, 2020
Question

Time spent per visit

  • December 30, 2020
  • 2 replies
  • 2089 views

Hi,

 

According to the the following documentation (https://experienceleague.adobe.com/docs/analytics/components/metrics/time-spent-per-visit.html?lang=en#how-this-metric-is-calculated), the calculation for time spent per visit is Total seconds spent divided by (Visits minus Bounces).

 

The below report screenshot shows a value of 293 seconds for the time spent per visit metric.  But when I manually calculate using the formula above, I get a value of 212 seconds.  Which one is correct and why is there a difference?

 
 
 

  

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Level 7
January 5, 2021

Hello @phil_h14 

Backend algorithm consist of some extra attributes also while calculating the metric values. Hence it is not feasible to compare the manually calculated value for metrics with the one calculated in the workspace. You will find some difference in both the calculated values.

hyejik65885166
Level 2
June 29, 2021
What sort of extra attributes does the backend algorithm add to it?
Adobe Employee
June 29, 2021

@phil_h14 

The reason there is a difference is because in out of the box time spent per visit calculation, not all visits are counted - only those that have the timespent seconds on Page attribute set. This is not exactly the same as visits - bounces. For many visits, there is no timespent set, and therefore they are not included in the avg timespent calculation. This ends up with fewer of the visits being counted than just subtracting the bounces, leading to a smaller denominator.

It should be possible to create a segment that is "visits that have timespent seconds set (great than zero)", which would allow you to get the approx same number to use as their divisor that we are.

Phil_H14Author
Level 2
June 29, 2021
Got it. Thank you for the detailed response @vidurb80577666!