Captured Embedded Data in Unfinished Block | XM Community
Skip to main content

After someone selects a choice from my Satisfaction question (1st question), the response is recoded to 1-5 as an embedded data object “OSAT” at the end of the Block in the Flow. When users click the first answer, then close the survey, the survey is not recording the OSAT ED object because it has not hit the Survey Flow and won’t until they go to the next page.

Question: Can you set up a script in the Java code in the AddOnUnload field to capture the embedded data and record the ED object OSAT? 

To deal with this problem, you can try this way: 

  1. In survey options → Choose “Response” tab → Record incomplete survey response 

     

  2. You should config embedded data at the top of survey flow 
  3. Then use Survey Logic to Set Embedded Data (For example: If Q1 = Satisfied → Set OSAT = 4) 

You can try this instead of using custom Javascript code 


Thank you for the reply. We have the responses set up to record as you have shown above and I have it configured that way with the OSAT before the questions. However, where do you set up the “Survey Logic to Set Embedded Data”? Perhaps a screen shot would help. 

 

As an additional Embedded Data block in the survey flow? Because the issue we are running into is that once they click out of the survey without finishing the first block/page and never return, the rest of the survey flow is not running. 

 

In the survey itself? if so, how is that set up?


Leave a Reply