Time spent in between form initiate and form complete | Community
Skip to main content
Level 2
July 31, 2024
Solved

Time spent in between form initiate and form complete

  • July 31, 2024
  • 3 replies
  • 804 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Pankaj_Sabharwal

@gav_r 

 

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.

3 replies

Pankaj_SabharwalAccepted solution
Level 5
July 31, 2024

@gav_r 

 

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.

Isha Gupta
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
July 31, 2024

Hi @gav_r ,

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/gettimebetweenevents

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
July 31, 2024

In addition to the getTimeBetweenEvents plugin (https://experienceleague.adobe.com/en/docs/analytics/implementation/vars/plugins/gettimebetweenevents) as suggested by @isha__gupta 

 

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.