Use this query to track a user’s average session duration. The session_duration is the length of session time in milliseconds. This can be useful for comparing session durations between different segments, and can be used in any CQL query.

So for example, if the session took one minute, the session_duration will show 60,000 milliseconds).


SELECT avg(session_duration) as avg_session_duration
FROM cooladata
WHERE date_range(context) and filters(context)

Tips/Best Practices:

Print Friendly, PDF & Email