Embedded Data not appearing in exported files | XM Community
Skip to main content

Hello,
I am currently working on creating a survey for my undergraduate thesis that is a combination of measures and an experimental task that records their response time. I first created the Stroop task using instructions on this website and it was running perfectly. I could even see the data when it was exported; however, I added a few matrix questions before the task and just noticed that when I export it, none of the embedded data is exporting.
I tried searching on here for similar issues, but haven't found any luck with it. Several people suggested messing with the survey flow so I tried putting the embedded data directly before (and after) the block it is supposed to be collecting that information from and nothing changed. I'm not sure if the issue is there or if I need to export the data a certain way to have the embedded data appear as well as the data from the other survey questions.
I've also never posted on here before so I'm not sure what screenshots you might need to see in order to help me solve this issue. Please lmk and I will post them asap. Thank you so much!

You would ONLY put the embedded data fields before the block. Putting them after would overwrite the values set by JavaScript.
The JS library you linked to hasn't worked for a few years, so I'm surprised it ever worked at all in your survey. I had a client that used to rely on it, and I had to write a replacement when it stopped working for them.
Based on what you've stated, if you added your matrix questions to the same block as your Stroop that probably caused the problem. They should be in a separate block.


TomG I noticed it was outdated, but I was able to collect data when I tried to use it so I assumed it was somehow still working. The matrix questions are in a separate block than the Stroop ones.
The embedded data could be anywhere before the block it is collecting data from OR it has to be directly before? Let's say the placement was in the incorrect spot when responses were collected. If it wasn't placed after the block and got rid of the values, can I still somehow access that data? Is there a way to retroactively collect that stuff?
Thank you for the reply!


The embedded data can be anywhere before the block as long as it is executed. The safest thing to do is put it at the very top of the survey flow. That way you don't run the risk of it being in a branch that isn't executed.
There isn't a way to record it retroactively. If it isn't in the survey flow, it acts as a temporary variable that is only available during the survey session.


TomG okay thank you so much for your help!


Leave a Reply