session duration more than the default (30 minutes) in google analytics


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

<ul><li>This is possible because each time there is activity (event or screen view) in your app, the session timeout timer is reset to the full duration.</li> <li><em>Inactive</em> time in the app <strong>is counted</strong>, but only under specific conditions</li> <li>Understanding how Google defines when an app is <em>inactive</em> really helps</li> </ul><h2>In-Depth</h2>

<em>Inactivity</em> is any period in the app session when the user is not interacting with it, <strong>and</strong> the session timeout has not yet been met. <em>It does not matter if the app is backgrounded or foregrounded while the user is inactive.</em> In other words, If you have the app backgrounded, or are simply sitting idle on an app page, <strong>you would be considered inactive in both scenarios</strong>.

Session Timeout <em>is not actually a setting, but rather a <strong>variable</strong></em> that is used to calculate the session length.

session timer = 0 minutes user launches app (session timer starts) while countdown is not 0 (starting from timeout setting) if user triggered event OR viewed screen add inactivity time to session time restart countdown else continue with countdown

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.


  • Doze and App Standby mode in Android 6.0
  • Making a link stay active displaying hover effect upon click using javascript
  • What is the “center” of a Three.js object?
  • Definition of server-class machine changed recently?
  • How do I get sikuli to wait until the mouse pointer changes from “busy” to “not busy?”
  • powershell: script to start a program with parameters?
  • Will cin recognize \\n typed in from keyboard as a newline character?
  • NSTimer and updating UI
  • How to avoid using dynamic variables / a billion if statements in Java?
  • GDB skips over my code!
  • Unable to hide youtube iframes in safari?
  • How to generate an asynchronous reset verilog always blocks with chisel
  • How to extract a number from a string [duplicate]
  • Showing spinner for Rails 3 UJS gets Type error
  • FTS3 searches in ORMLite?
  • MultiLevel ExpandableListView not highlighting properly
  • Application bar icon text length
  • Receive mouse move even cursor is outside control
  • Javascript focus remove text highlight
  • Faster Way To Simultaneously Iterate Over Rolling Window Of Two Or More Numpy Arrays?
  • Get localized short date pattern as String?
  • Updating Dojo provide
  • Multiple producers single consumer locking schema
  • Tell Git to stop prompting me for conflicts when none really exist?
  • Azure table store snapshot/backup capability
  • Low TTL with Leveled Compaction, should I reduce gc_grace_seconds to improve read performance withou
  • How can I enlarge video fullscreen without the affected interface project in as3?
  • print() is showing quotation marks in results
  • Make VS2015 use angular-cli ng at build time in a .NET project
  • Android fill_parent issue
  • Seeking advice on Jetty HttpClient Hang
  • Get object from AWS S3 as a stream
  • Excel - Autoshape get it's name from cell (value)
  • Google cloud sdk not working when python points python3
  • Matrix multiplication with MKL
  • CSS Applying specific rule for a specific monitor resolution with only CSS is posible?
  • using HTMLImports.whenReady not working in chrome
  • What are the advantages and disadvantages of reading an entire file into a single String as opposed
  • Android Heatmap on canvas or ImageView
  • Converting MP3 duration time