Solved

Is it possible to calculate duration between two events?

  • 20 June 2022
  • 1 reply
  • 1463 views

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.

icon

Best answer by Thao Nguyen 21 June 2022, 10:41

View original

1 reply

Userlevel 3
Badge +5

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