Skip to main content
Solved

Is it possible to calculate duration between two events?

  • June 20, 2022
  • 1 reply
  • 2131 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.

Best answer by Thao Nguyen

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

View original
Did this topic help you find an answer to your question?

Forum|alt.badge.img+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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings