How to send custom embedded data with survey

samvermeirsamvermeir BelgiumCommunity Member - Trial User Qubie ✭

How to send custom embedded data with survey

Hi, I would like to add custom embedded data along with the survey. For example: there are soms javascript variables on the page where the survey is. When the user submits the survey, a specific variable is send along with it, and i can use that variable later in my dashboards to filter the answers of all the surveys. Something like segmentation, but not quite the same.
Anyone know how i can do that?

Tagged:

Answers

  • YashYash IndiaCommunity Member - Trial User Qubie ✭

    Hi,

    You can use the below code the set the embedded variable based on the custom JS logic.

    Qualtrics.SurveyEngine.setEmbeddedData("CustomVariableName","value here");

Sign In to Comment