Regarding Session Management

Jul 26, 2013 at 5:29 AM
Hi Tim,

Is there a need to call EasyTracker.GetTracker().SetEndSession(true) explicitly or is it an implicit call within GASDK on application closure?

Aug 6, 2013 at 1:42 AM
Hi Sharath, you normally never need to call SetEndSession. This is managed at the GA server level first... with some additional control added at the EasyTracker level when your app is suspended for more than x seconds (as specified by a param in the config file). However, the API is there if you want finer grained control over the default behavior. Here's a more thorough description of how sessions are managed by GA and the SDK.