How to make qualtrics pick up data from Javascript? | XM Community
Skip to main content

Hi All!
I have an Intercept and Survey where I defined Embedded Data I want to collect. It does show on the website. On the intercept, the Embedded Data value type is "Value from Javascript".
Having Survey URL I'm able to append query parameters into URL and the data is visible in the Survey Results (so it does work when I add query params manually).
Now I want to find a way to make Qualtrics read those values automatically from Javascript. Should those values be stored on global window object?
It's an single page application, to launch the survey popup I use a command: "QSI.API.run()".
The Embedded data example on intercept:
name: isSignedInUser | type: Value from Javascript | variableName: data.isSignedInUser

Hello pawelkarauda
Not sure if you already did this, but include the same embedded data in the survey flow with no value and it should auto-populate and work for you correctly. Kindly publish before testing!
Hope this helps!


Leave a Reply