Expand my Community achievements bar.

SOLVED

Time spent in between form initiate and form complete

Avatar

Level 2

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!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 5

@Prachi_091 

 

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.

View solution in original post

3 Replies

Avatar

Correct answer by
Level 5

@Prachi_091 

 

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.

Avatar

Adobe Champion

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...

Avatar

Community Advisor and Adobe Champion

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.