This project has moved and is read-only. For the latest updates, please go here.

Regarding Session Management

Jul 26, 2013 at 6: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 2: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.