I'm trying to find the time spent in between form initiate and form complete. We have two webpages, one where form load and form initiated event and the other with form completed event.
I have tried time spent on page with different segments - form initiated and form completed but not getting the desired output.
Any Suggestions on how to create calculated metric for this or apply a different segment?
Thanks!
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
You can try setting a Session Cookie at the time of Form Initiate and Calculate the time when your form is submitted/completed.
Since your second page is a success page, use the existing form completed event. Calculate the time difference between the form initiated and form complete event timestamps to measure time spent between the both.
Views
Replies
Total Likes
You can try setting a Session Cookie at the time of Form Initiate and Calculate the time when your form is submitted/completed.
Since your second page is a success page, use the existing form completed event. Calculate the time difference between the form initiated and form complete event timestamps to measure time spent between the both.
Views
Replies
Total Likes
Hi @Prachi_091 ,
If you can change the implementation, you can look for Time Between Events plugin from Adobe plug-ins.
Link to documentation - https://experienceleague.adobe.com/en/docs/analytics/implementation/vars/plugins/gettimebetweenevent...
In addition to the getTimeBetweenEvents plugin (https://experienceleague.adobe.com/en/docs/analytics/implementation/vars/plugins/gettimebetweenevent...) as suggested by @igupta
you could also look at the getTimeToComplete plugin as well (https://experienceleague.adobe.com/en/docs/analytics/implementation/vars/plugins/gettimetocomplete)
The one issue with getTimeBetweenEvents is that you need actual events at each side for the calculation to go between....if you don't have that already, or don't want to use up a whole event for the start I wouldn't blame you.... I am not sure I would have a whole event dedicated to "form initiate".. but the getTimeToComplete allows you to just trigger a "start" and "stop" when you need, and in theory just to track the time once stop is triggered.