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

Should sessions be max 30 minutes long? #5617

Closed
neilkakkar opened this issue Aug 17, 2021 · 2 comments
Closed

Should sessions be max 30 minutes long? #5617

neilkakkar opened this issue Aug 17, 2021 · 2 comments

Comments

@neilkakkar
Copy link
Contributor

Investigating Path queries, and I noticed this quirk of sessions where they can't be longer than 30 minutes. (more in point #3 here: #4884 (comment) )

This has implications for the new work we want to do on Paths, particularly:

(1) Infinite path expansion for a user becomes impossible if their sessions lasted longer than 30 minutes (split into multiple sessions, new session starts at a point "in the middle" of the path.
(2) With steps between funnels, conversion times > 30 minutes imply we would get a wrong picture of what went on with the user. This is dangerous, if not downright wrong.
(3) All Path visualisations where a person did things over a longer timeframe get broken out.

I think this reduces the efficacy of what we want to achieve with Paths.

On the flipside, I do get that a new day is a new session, and depending on what question you want to answer, you might want to consider this as a separate user.

Raising this issue to (1) Understand the historical context for 30 minute sessions. and (2) Hear your thoughts on doing away with this constraint (maybe just for paths, if valid historical context).

Thoughts? @macobo @EDsCODE @Twixes @paolodamico @marcushyett-ph

@macobo
Copy link
Contributor

macobo commented Aug 17, 2021

Investigating Path queries, and I noticed this quirk of sessions where they can't be longer than 30 minutes

That isn't the case. The definition of an event in sessions page is:

  • Two events belong to same session if < 30m between them
  • Same distinct_id (see What is sessions page? #4884 for why this is probably a bad idea), not sure if other pages follow this logic

Meaning if you did events at minutes 5, 25, 45 and 65 and 99 it would result in 2 sessions - [5,25,45,65] and [99].

@neilkakkar
Copy link
Contributor Author

That makes a lot more sense, sounds like just a borked query assumption then! (or maybe I'm reading the query wrong). But thanks, that clears things out for me :)

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