Hello everybody,
I have study with multiple screens. I activiated the back button feature in general and then hided the back button for a majority of pages, besides two. For these, I would like to count the number of "clicks on the back button" for each participants. I tried using the standard "Timer", but it just continues recording where it stopped.
Can I count the number of clicks on the back button to measure how often a person went back?
Thanks in advance for any advice you can offer!
Kim
Count number of "back button" uses
Best answer by SurajK
Ok, so you are looking to count the backbutton click for the specific question, then you can simply create the 2 embedded variables as you mentioned above and use the above code at question level.
For page 5 use the below code,
Qualtrics.SurveyEngine.addOnReady(function()
{
jQuery('.PreviousButton').click(function(){
var currcnt1 = Qualtrics.SurveyEngine.getEmbeddedData("BackButton_cnt1")
currcnt1=Number(currcnt1) + 1
Qualtrics.SurveyEngine.setEmbeddedData("BackButton_cnt1",currcnt1)
});
});
And on page 10 use the below code,
Qualtrics.SurveyEngine.addOnReady(function()
{
jQuery('.PreviousButton').click(function(){
var currcnt2 = Qualtrics.SurveyEngine.getEmbeddedData("BackButton_cnt2")
currcnt2=Number(currcnt2) + 1
Qualtrics.SurveyEngine.setEmbeddedData("BackButton_cnt2",currcnt2)
});
});
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.
