Jump to content
  • Advertisement
Sign in to follow this  
Forgivetr

Google Analytics shows avg. session duration, sometimes 00:00:00 sometimes true

This topic is 810 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I integrated google anaylitics into my android game 5 days ago and published. Yesterday, I noticed that many sessions'(almost half of all sessions) duration is 00:00:00. Rest of sessions seems normal, no problem. My game has just 1 activity, it uses swipe tabs.
What is the main reason? How to solve?

Share this post


Link to post
Share on other sites
Advertisement

You didn't include a link to your source code so all we can do is guess.

Generally missing session length values can happen when you miss a step.  Double-check everything, starting here, then here, then here. Double-check that your application manifest is correct, that your resource files include the app_tracker.xml file properly configured, Also make sure your program actually sends events from time to time since duration is based on the time between the first event and the last event.  Remember that putting code in finalizers isn't guaranteed to be called, so don't put your telemetry tracker code there.  Make sure the DryRun flag is set to false.

 

Although it doesn't sound like the problem you are having, you should know that their telemetry is designed to lose data occasionally.  They try to upload all the data but sometimes for various reasons they don't.  Maybe their phone died, or cell signal went away, or wifi was turned off, whatever. Telemetry data is imperfect and is generally missing a chunk of data.  It shouldn't be half of all sessions, though.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!