Useful Code Snippets | XM Community
Skip to main content
I have been running into similar situations with a few of my customers and wanted to share some of my custom code solutions, with the hopes that others can share theirs as well!
For Custom Dashboards, I've been using Chart.js. I've gotten fairly familiar with the API, so if you have questions please let me know! I've used them in custom End of Survey Messages, but also as mid-survey feedback. (http://www.chartjs.org/)
Also, I haven't found too much documentation on the Embedded Data API, so I went a long time before finding this out, but you can get and set Embedded Fields with the following code:



`Qualtrics.SurveyEngine.setEmbeddedData('FIELD', value);`

`Qualtrics.SurveyEngine.getEmbeddedData('FIELD');`
We've made a few code snippets publicly available at:

https://gist.github.com/marketinview

Leave a Reply