I am interested in knowing the time it takes users to launch an application. This process should be as seamless as possible. An application should be able to launch, load, and transact with minimal trouble. However I'm having trouble figuring out how to do this.
Applications Launch and Load Time
Best answer by jmagg
Hi
To track duration, you would need to capture the timestamp of a start event and timestamp of an end event, calculate the difference between the two timestamps, and then pass in the duration as an event property for that end event. For example, let's say you have a start event = 'Viewed Home Page' and an end event = 'Clicked Signup'. When the user fires the 'Viewed Home Page' event, you can create a variable in your code called first_timestamp
and pass in the current timestamp. When the user is going to fire the 'Clicked Signup' event, you would calculate the difference between the current timestamp and first_timestamp
and pass that value into the 'duration' event property. You would then send the 'Clicked Signup' event with the 'duration' event property. This way, you can segment and filter on the value of the 'duration' event property for the 'Clicked Signup' event to see how long it took users to click that button after viewing your home page. I also recommend normalizing the 'duration' event property to a numerical value like seconds so that you can perform functions such as property average in the UI.
Here's a potential solution that you could look into to track that:
http://stackoverflow.com/questions/4667068/how-to-measure-a-time-spent-on-a-page
Hope this helps, and please let me know if you have any other questions!
Reply
Welcome to the Amplitude Community!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. You can also create a Guest account below!
If you're a current customer, select the domain you use to sign in with Amplitude.
analytics.amplitude.com analytics.eu.amplitude.comWelcome to the Amplitude Community!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. Want to sign up as a guest? Create a Community account.
If you're a current customer, select the domain you use to sign in with Amplitude.
analytics.amplitude.com analytics.eu.amplitude.comEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.