Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic session handling #148

Closed
Shukuyen opened this issue May 28, 2017 · 2 comments
Closed

Automatic session handling #148

Shukuyen opened this issue May 28, 2017 · 2 comments

Comments

@Shukuyen
Copy link

I propose that we need automatic session handling in addition to the newly implemented manual session handling ( #136 ).

A session is defined in most tracking frameworks that I have previously worked with as 30 minutes. This seems to be the case for Piwik, too: https://piwik.org/faq/general/faq_36/

This means:

  • Sessions should start automatically
  • A new session should start automatically after 30 minutes
  • We should be able to override the 30 minutes (preferably in the admin interface for the site, alternatively as a property on the Tracker shared instance)
  • It is ok for users to be able to start a new session manually in code but this should not be necessary by default
@Shukuyen
Copy link
Author

Label: swift3

@brototyp
Copy link
Member

Hi @Shukuyen, thank you very much for your input! I just checked back with the Piwik Backend team and they ensured me that the documentation you mentioned here should also be effective if you are using the iOS SDK. There is no need to add anything on the SDK or app side. The backend automatically starts a new visit, after 30 minutes is elapsed since the last view.

Please reopen this issue and get back to me if you encounter any issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants