DYNAMIC_SESSIONS
Collects an array of start and end times of sessions.
A session is defined as a group of events that are not separated by a gap of more than the configured WINDOWSIZE
.
Syntax
DYNAMIC_SESSIONS([MAX SESSIONS, ]TIME, WINDOWSIZE)
Arguments
MAX SESSIONS:
The maximum number of entries that can be counted (default: 2,147,483,647).
When MAX SESSIONS
is omitted, the limit is simply set to the default value.
TIME:
The time value associated with this event. This is the value that is used to
calculate the gap.
WINDOWSIZE:
The window gap size to use. This value should be in the same time unit as
TIME
.
Returns
An integer
Example
Data
Query:
After collecting data about users who reach a mobile game level, you may want to get some information about their gaming sessions:
Results:
Related Functions
Dialog
Last updated