Skip to main content
Level 2
Dec 30, 2020 10:44 PM UTC
Question

Time spent per visit

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.

4 replies

Level 7
Jan 5, 2021 5:56 PM UTC

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.

Translate
hyejik65885166
Level 2
Jun 29, 2021 5:18 AM UTC
What sort of extra attributes does the backend algorithm add to it?
Translate
Adobe Employee
Jun 29, 2021 1:35 PM UTC

@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.

Translate
Phil_H14Author
Level 2
Jun 29, 2021 2:20 PM UTC
Got it. Thank you for the detailed response @vidurb80577666!
Translate