My setEmbeddedData statement isn't working and I don't understand why | XM Community
Skip to main content
Solved

My setEmbeddedData statement isn't working and I don't understand why

  • June 26, 2020
  • 1 reply
  • 33 views

Hi,
I'm trying to record data about participants' screen resolution on my study. This is the statement that I am using:
Qualtrics.SurveyEngine.setEmbeddedData("xscreenresolution", screen.width);
However, whenever I run the study, xscreenresolution never appears in my recorded data. Did I do something wrong or are we not allowed to record screen resolution? Thanks in advance for any help.

Best answer by rondev

Make sure you have declared "xscreenresolution" as embedded data in the survey flow at the start.

1 reply

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • Answer
  • June 26, 2020

Make sure you have declared "xscreenresolution" as embedded data in the survey flow at the start.