Hi everyone,
In my survey, I'm trying to include a counter that tracks the number of time that the respondent leaves the survey window/tab during the course of the whole survey--in other words, the number of times that the survey window/tab is either hidden or blurred because they have clicked on another window/tab. I've tried to make this work by creating an Embedded Data object in Survey Flow called offpagecount with an initial value of 0, and then adding the following code to the survey Header (Look and Feel --> General --> Header --> Source button):
Based on the alerts, the survey does recognize each of the visibilitychange and onblur events as they occur. However, the Embedded Data doesn't seem to be getting updated each time one of these events happens. It only seems to update by a max of 1 per page of the survey. So if I go offpage 5 times on page 1 of the survey, offpagecount will stay as 0 for the whole first page, and become 1 when I get to page 2 (though if I don't go offpage at all on page 1, offpagecount = 0 on both page 1 and page 2). Any help would be greatly appreciated!
Count number of times respondent leaves survey window/tab
Sign up
Already have an account? Login
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login to the Community
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
