Logic behind time_engaged_with_minutes


#1

Hey all,

What’s the reasoning behind calculating time_engaged_with_minutes here:

? Just wondering the whys of calculating it in that way.

Thanks.


Unexpected behaviour of the domain session ID
#2

Hi @boggs,

This specific implementation assumes a page ping is sent every 30 seconds. It converts the timestamp to a Unix timestamp, then essentially rounds it to the nearest 30, and counts the number of distinct occurrences. So it counts the number of 30-second intervals with at least one event.

Hope this makes sense.