How to avoid "invalid" metric




In Time spent per visit (seconds) metric, sometimes I get invalid  value on result:

I created a Calculated Metric to avoid this and get zero value in these cases, but I can't find the solution using Adobe functions.

Anyone know any formula type is_invalid?


Accepted Solutions (0)

Answers (1)

Answers (1)



Hi Alex,


Invalid value is recorded when user lands on page but don't do any activity like click or something. Adobe records time by calculating time between two events like when user enters page and click on something. 




Time spent per visit = Last hit time - First hit time


if no hits/events generated after user visits the page then adobe would show "invalid" value for such cases.


Best way would be to filter out such value when you generate report instead of implementing any custom script.