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

SessionID addition, modifications #12

Open
staceygoers opened this issue Jan 22, 2019 · 0 comments
Open

SessionID addition, modifications #12

staceygoers opened this issue Jan 22, 2019 · 0 comments

Comments

@staceygoers
Copy link
Contributor

Goal: Further refine the "day" definition used within the framework's current implementation of sessionID for analytics comparisons, to allow certain analytics providers to refine their analyses, and add an additional, optional sessionID.

Proposed new definition:

One day: 12 a.m. to 12 a.m., based on the user's device time zone at 12 a.m.. If a user's device time zone changes in the middle of the day, then the client should treat this event as the beginning of a new day and generate new IDs (see below) as needed.

mediaSessionID: A GUID generated by the client for each played media file per day per client. A mediaSessionID remains constant for that media file until the next day. For example, if a user listens to five media files in one day, there will be five mediaSessionIDs. If they listen to the same media file on their phone and then on their tablet, there will be two mediaSessionIDs. If they listen to one media file twenty times in one day, there will be one mediaSessionID. Required.

sessionID: A GUID generated by the client per day per client. A sessionID remains constant for a client until the next day. For example, if a user listens to five media files in one day, there will be one sessionID. If they listen to the same media file on their phone and then on their tablet, there will be two sessionIDs. If they listen to one media file twenty times in one day, there will be one sessionID. Optional.

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

No branches or pull requests

1 participant