Page Timer: Tracks the amount of time spent on a single form page

  • superstudent
    Asked on June 12, 2021 at 9:36 PM

    Hi,

    1) Is there a way to add a timer that ONLY counts the time spent on a a certain page? All timers I can find continue counting the time for consequent pages.

    2) When I use calculation function, the calculation recalculates whenever the input changes, but I only want it to perform the calculation ONCE, and ignore that the input keeps changing after that. Can you tell me how to achieve this?


    If you need context: here's the problem that I'm trying to solve, and if question 1 or 2 has a solution, I will know myself how to solve this problem.

    I've developed a reading speed test. People read a text on a page, and based on how much time they spent, their reading speeds gets calculated (words / minutes).

    I've been trying to find a widget or function that records only the time a person spends on a page, but all the timers continue to count even when the person has left the page and continued to another one. (Question 1)

    So I applied a local fix, adding two timers (Widget "Timer") one on the page with the text and another on the next page. Then I subtracting one from the other to calculate the difference. The problem with this is that the calculation I make keep updating itself every seconds since the timers keep running, and since the timers change of second isn't synched the reading speed calculation keeps changing between two values, so I want to find a way to have a calculation done only once, not re-calculating for eternity (Question 2).

  • Billy JotForm Support
    Replied on June 13, 2021 at 7:16 AM

    Hi there!

    I hope you're doing well and thanks for reaching out.

    1) Is there a way to add a timer that ONLY counts the time spent on a certain page? All timers I can find continue counting the time for consequent pages.

    At the moment, I'm afraid the answer is no. I've spent quite some time figuring out how to find a way to track the amount of time the person spent on a page but was unable to do so. I've tried checking for a condition to stop the timer(pass the final value to another element) once the person moves on to the next page but there's no option/condition to target the widget(to stop it from counting) or what page is being viewed. So the answer to your second question is it can't be achieved as well.

    I'll be sending a feature request to our relevant team to add a widget to track the amount of time the person spent on a single form page. Hopefully, it gets implemented soon.

    In the meantime, you might be interested in creating a form for each text instead and use the Time Tracker widget. This tracks the amount of time the person took to submit the form. Once they submit it, you just take them to another form that contains the next text and do the same thing up until the last text. Here's what you'll see on the submission:

    1623582636 60c5e7acb2bd4  Screenshot 10

    We apologize for any inconvenience this has caused you. Let us know if you need further assistance.