Assigning users to the same survey | XM Community
Skip to main content
Question

Assigning users to the same survey

  • September 27, 2023
  • 2 replies
  • 44 views

Forum|alt.badge.img+1

Hello, I am designing two survey designs for my experiment and users can fill the survey more than once. i want each user to be assigned to a survey design randomly. and I want them to be assigned to the same survey design(control or treatment) from then. How can i go about doing that. I appreciate any guidance. 

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6083 replies
  • September 27, 2023

You can set a embedded data field to tell you if they are control or treatment.  Define it at the beginning of the survey(s) and don’t set a value (let it be assigned from the panel).

The use a survey flow branch to check if the embedded data field is empty, and if it is use a randomizer to assign the embedded data field as either control or treatment.  Then base you survey flow logic off that embedded data field.

Use a workflow to update the contact record with the embedded data field value. That way the next time they take the survey it will be populated with the correct value. 


Forum|alt.badge.img+1
  • Author
  • 1 reply
  • September 27, 2023

can you give more detail. im a bit confused about where to define the embeded data to be treat or control. thanks a lot.

You can set a embedded data field to tell you if they are control or treatment.  Define it at the beginning of the survey(s) and don’t set a value (let it be assigned from the panel).

The use a survey flow branch to check if the embedded data field is empty, and if it is use a randomizer to assign the embedded data field as either control or treatment.  Then base you survey flow logic off that embedded data field.

Use a workflow to update the contact record with the embedded data field value. That way the next time they take the survey it will be populated with the correct value.