I've need my survey to collected information on the page URL from which the survey was accessed from.
On the survey workflow, the referrer embedded should do this but it doesn't give me the full URL.
I've created a new field called RefURL as shown:
I've also edited the Java script for the first question on my survey, here's the code: enter image description here
Why doesn't this work?
If you use setJSEmbeddedData("RefURL",a) then you have to define the embedded data field in the survey flow as __js_RefURL.