Query String Data Not Populating | XM Community
Skip to main content

Good morning. I am using the same survey for multiple partners. Our partners will complete the survey multiple times in a given year, so I want to differentiate the data based on partner, year of the survey, and survey number (1, 2, 3, etc). I am using External Data Reference to identify the various partners and query strings to identify the year and survey data. In testing, all of the data came through in the results through the URL. However, a partner just used the data LIVE and neither the year nor the survey number appears in the data. Any ideas what I did wrong?

 https://EXAMPLE.com/jfe/form/SV_asdfjklqwuio?ExternalDataReference=0&Year=2024&Survey=1

EX: In testing, the data fields from a URL like the one above populated as: EDR = 0; Year = 2024; Survey = 1

However when a partner actually used the link, the results appeared as: EDR = 0; Year = (blank); Survey = (blank)

I think you have to make sure that the Year and Survey fields are properly set up as Embedded Data fields in the survey flow. If they aren’t specified in the survey flow before collecting responses, Qualtrics won’t capture these fields.


Hi @Aggarwal . Thanks for responding. I do have the fields in the Survey Flow (screenshot below). Any other ideas?

 


 https://EXAMPLE.com/jfe/form/SV_asdfjklqwuio?ExternalDataReference=0&Year=2024&Survey=1

EX: In testing, the data fields from a URL like the one above populated as: EDR = 0; Year = 2024; Survey = 1

However when a partner actually used the link, the results appeared as: EDR = 0; Year = (blank); Survey = (blank)

@JillWright Because that link you use for test is anonymous. And, if you want to use EDR to distinguish partner, leave it alone, it will grab the field from your contact info. How are you distributing the survey?

  1. Via Email, you need to squeeze Year and Survey in the URL via HTML
  2. Get Link file: Do excel formula to add them in the personal link

  3. Prepare EDR, add Survey and Year as EmbeddedData in CONTACT INFO. Add from Contact in the survey flow. It will grab the info from it automatically

  4. Anonymous Link: Then you will have to craft/manage your own partner identifier

Choose the way you want to do, I’ll help you with the rest.


Hi, Nam. Thanks so much for jumping in. I’m using an anonymous link (#4). I have the partner identifier associated with the EDR in my contact info. When the link is used LIVE, the partner info carries over perfectly. What does not populate is Year or Survey. Although I initially tested the query strings using the Preview URL, I shifted to using the published URL and the testing still worked (EDR, partner name, Year, Survey all populated). However, for some reason when a partner used the same URL link the Year and Survey information did not populate.


Hi, Nam. Thanks so much for jumping in. I’m using an anonymous link (#4). I have the partner identifier associated with the EDR in my contact info. When the link is used LIVE, the partner info carries over perfectly. What does not populate is Year or Survey. Although I initially tested the query strings using the Preview URL, I shifted to using the published URL and the testing still worked (EDR, partner name, Year, Survey all populated). However, for some reason when a partner used the same URL link the Year and Survey information did not populate.

@JillWright 3 things to ask here. Since with preview and your testing it worked

  1. Did you publish the version with the querryString? Are they using that version?
  2. Did the real link they use have the querryString at the end or it’s just the regular Anonymous Link?
  3. Did they have an old session of the survey with the older version and just comeback to it instead of opening the newly updated one? Let them try to open the link with querryString in incognito mode.

Leave a Reply