Recording time on page - timer start once page loads | XM Community
Skip to main content

Recording time on page - timer start once page loads

  • July 8, 2022
  • 0 replies
  • 19 views

Hi Community - I need to record the entire time (to the second) a respondent spends on a page. From when the page loads (not just when they first click) until when they exit the page. Can someone help me with this? I believe I can add custom code so a timer counts when the page loads, :
Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/
})