Average time spent per visit as reported by Google Analytics does not match my server logs. What is the default idle session timeout for the IOS SDK?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The SDK version of Google Analytics doesn’t work quite the same way as the web version. It looks like you need something along the lines of:
You need to end a given session because an app running in the background will continue to hold that session. Monitor the application state and call the appropriate methods accordingly. More here:
Why are my iOS app's session lengths 30 min + in Google Analytics?
So, to answer your question you need to know how you’re calculating time in app with your logs and how to emulate that with Google Analytics, taking the background state into consideration.