How to show a unique promo code once for each respondent | XM Community
Skip to main content
Solved

How to show a unique promo code once for each respondent

  • August 20, 2024
  • 6 replies
  • 306 views

Forum|alt.badge.img+1

Hello everyone, I need your help for my survey. 

Each participant needs to get a single use promo code as a reward for the survey (at the survey’s end). The promo codes are located in a csv file. I have not found a way to properly make it. Each code should display once and for only one participant. 

Any help is appreciated. 

Best answer by phbern

Hi,

 

You can do this using Google sheets. Take a look at the video Assigning Coupon Codes: https://researchguides.library.syr.edu/dataservices/Qualtrics#s-lib-ctab-14642508-5

 

Paul

View original

6 replies

phbern
Level 2 ●●
Forum|alt.badge.img+8
  • Level 2 ●●
  • 33 replies
  • Answer
  • August 20, 2024

Hi,

 

You can do this using Google sheets. Take a look at the video Assigning Coupon Codes: https://researchguides.library.syr.edu/dataservices/Qualtrics#s-lib-ctab-14642508-5

 

Paul


Forum|alt.badge.img+1
  • Author
  • 3 replies
  • August 20, 2024

Thank you very much! I spent hours looking for this exact information. 


chackbusch
QPN Level 5 ●●●●●
Forum|alt.badge.img+22
  • QPN Level 5 ●●●●●
  • 414 replies
  • August 20, 2024

@Antontrov I assume you have the QR codes as URLs in your file. How to you distribute the survey? Do you work with a mailing list? 

If you work with a mailing list, you could just include one link per contact in the mailing list and define the embedded data from the mailing list within your survey flow. You can then use the embedded data to build some image with it at the end of the survey. 

If you work with an anonymous link, you could add all the unique QR code URLs as choices to a multiple choice question.Then use advanced randomization to randomly choose 1 of all the URLs. Select "Evenly Present" so that each code is only used once. With JavaScript you can just hide the question as it is only some “dummy” to get one of the URLs. With the JavaScript you also select this option and click the next button so that the participant will not notice anything about this dummy question. You can then just use “Selected Choice” piped text to get the automatically selected URL from the first question to pipe it to your end of survey. 

You may check my comment and JavaScript snippets here.


Forum|alt.badge.img+1
  • Author
  • 3 replies
  • August 20, 2024

@chackbusch Thank you. 


Forum|alt.badge.img+1
  • Author
  • 3 replies
  • August 20, 2024

@chackbusch I have tried your way but for some reason no code appears. I understand that the selected choice will show the code that was selected, but how can it be selected if the participant does not see the code to select? That is the only issue that I have with your method. 


chackbusch
QPN Level 5 ●●●●●
Forum|alt.badge.img+22
  • QPN Level 5 ●●●●●
  • 414 replies
  • August 20, 2024

Leave a Reply