I’m playing around with the setJSEmbeddedData function, and here is a line of code in addOnLoad:
![](https://uploads-us-west-2.insided.com/qualtrics-us/attachment/96d88a56-4f7a-49ef-a214-9ca38e3c4898.png)
However, after I preview my survey, nothing got set in my survey flow:
![](https://uploads-us-west-2.insided.com/qualtrics-us/attachment/3f3c491c-a11a-4236-9e33-4976ff9bd4f1.png)
even after I changed the field name to __js_MyData. Does anyone know what’s wrong with what I did?