matomo-org / matomo-sdk-ios

Matomo iOS, tvOS and macOS SDK: a Matomo tracker written in Swift
MIT License
390 stars 164 forks source link

Automatic session handling #148

Closed Shukuyen closed 7 years ago

Shukuyen commented 7 years ago

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:

Shukuyen commented 7 years ago

Label: swift3

brototyp commented 7 years ago

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.