Logic – Get Time Duration #
Description #
Get Time Duration tracks the time it takes for the end user to complete a task that occurs over multiple steps (such as the time to complete the entire experience).
The Get Time Duration action will calculate the time duration between two arbitrary points in time, as defined by the experience author.
While Get Time Duration can be used to track the time of a task that is contained within one timeline (i.e. Step), the Track Time action prevents a more streamlined process and should be used instead.
Properties #
Start Time
The time (in seconds) when the action will activate.
The Start Time is relative to the timeline in which the action occurs (not the absolute time from when the experience starts).
Variable Name
The variable to which the Get Time Duration result will be stored. Can be a new variable or used to overwrite an existing variable.
Storing the Get Time Duration result to a variable creates a record in the training data that can be referenced later or reported out to 3rd party tools.
Initial timestamp (select the variable)
Select the variable that was used to store the start time for the duration of interest (see the Set Variable action).
End timestamp (select the variable)
Select the variable that was used to store the end time for the duration of interest (see the Set Variable action).
Alternatively, check the Use the current time as end time box, to use the Get Time Duration action itself as the end time (i.e. the end time will be calculated as the time when the Get Time Duration action is triggered).



