Skip to main content

Hello,

We are trying to determine how long a user stays on a video, we have a “play video” event, is it possible to calculate a duration like this:

duration = (time of the next event) - (time of play video event)

For example if a user launches a video at 12:30 PM then any other event has been fired at 12:44 for the whole day, then we’d like to show 14 minutes watch time for that day in a chart.

Thank you.

Hi @habdulla, thank you for writing in! Happy to help!

I understand that you’d like to calculate duration between two events. I’d recommend having a look at our documentation below.

Hope this helps, please feel free to let me know if you have further questions! Have a great week!

Best,

Thao


Reply