google analytics ios sdk V2.0 short session durations google analytics ios sdk V2.0 short session durations ios ios

google analytics ios sdk V2.0 short session durations


Just found this answer from my friend

http://support.google.com/analytics/bin/answer.py?hl=en&answer=1144430&topic=1011345&ctx=topic

In my app I only have one view controller that uses [tracker trackView:@"my screen name"] and I have this stuck this in the AppDelegate.m for now as I hadn't got around to tracking views/screens yet. According to the linked material, the way GA calculates session duration is based on time between views. Since I only have one view defined (and not properly within the viewController), this may be the reason I'm getting so many 0-10sec sessions. Going to explore.


It might possible you are initiating a new session before tracking a event/pageview. Please Ensure that you are not starting new session everytime. Refer this linkhttps://developers.google.com/analytics/devguides/collection/ios/v3/sessions