We hope you enjoy our updated documentation! The old documentation website is still available here. Reach out to us with feedback or questions. Happy programming! 🎉
https://mysurvey.com/survey?demographicVariable=[%%ps_qualification_id%%]
https://mysurvey.com/survey
is the link to your survey, ps_qualification_code
corresponds to the PureSpectrum qualification ID, and demographicVariable
is a keyname of your choosing.https://mysurvey.com/survey?gender=[%%211%%]
https://mysurvey.com/survey?transaction_id=abc123&gender=111
https://mysurvey.com/survey?gen=[%%211%%]&age=[%%212%%]&income=[%%213%%]
https://mysurvey.com/survey?transaction_id=abc123&gender=111&age=29&income=45000
https://mysurvey.com/?race=[%%214%%]
https://mysurvey.com/survey?transaction_id=abc123&race=null
).&pets=111,112
).Demographic | ps_qualification_code | Demographic Option | PureSpectrum Condition Code For Option |
---|---|---|---|
Gender | 211 | Male | 111 |
Gender | 211 | Female | 112 |
Age | 212 | User Defined Input | Returns the user’s age as an integer (e.g. age=27) |
Household Income | 213 | User Defined Input | Returns the user’s household income as an integer (e.g. income=55000) |
zipcode | 229 | User Defined Input | Returns the user’s zipcode as an integer (e.g. 90403) |