In my google analytics the session time is set to 30 minutes. but the avg. session duration that I see in my report tables is more than 30 minutes in some cases. How can it be possible?I am so confused.please please help me.
thanks a million Regards
Main Points
In-Depth
Inactivity is any period in the app session when the user is not interacting with it, and the session timeout has not yet been met. It does not matter if the app is backgrounded or foregrounded while the user is inactive. In other words, If you have the app backgrounded, or are simply sitting idle on an app page, you would be considered inactive in both scenarios.
Session Timeout is not actually a setting, but rather a variable that is used to calculate the session length.
Pardon the crudely-written pseudocode, but the point is, time spent in background is only counted if there is some activity in the app that occurs before the session timeout is met.
Unfortunately, I don't have any documentation to support this (as it doesn't exist, which is why I am taking the time to write this). However, I have tested this on both iOS and Android using the official Google Analytics SDK and this is indeed how it works. I can discuss the test with you if need be.