/
Appending Respondent Demographics to the Survey Entry Link

Appending Respondent Demographics to the Survey Entry Link

Overview

To provide a better respondent experience, we recommend skipping common demographic questions in your survey. You may specify demographic variables that you would like appended in your survey within the Survey Entry Link.

Use

To append a respondent’s answer to a PureSpectrum qualification, use the following notation when entering your entry link in either the UI or in the Buy API (key name liveUrl) :

https://mysurvey.com/survey?demographicVariable=[%%ps_qualification_id%%]”

where “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.

 

When a respondent is redirected to your survey, their entry link will contain the PureSpectrum condition code or input of their answer. This value of the respondents answer will be inserted where you have specified.

Example

https://mysurvey.com/survey?transaction_id=abc123&gender=111

Note: We automatically append “transaction_id” to your entry link

Important Considerations

Common Demographics and their Qualification ID’s

Demographic

ps_qualification_code

Demographic Option

PureSpectrum Condition Code For Option

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)

If you need help looking up qualification codes and condition codes, please contact PureSpectrum support at support@purespectrum.com

Additional Examples

Appending gender, age, and income for a respondent that is male, 29, and makes $45,000/year

 

Related content

Looking Up Attributes
Looking Up Attributes
Read with this
Respondent Entry Link Formation
Respondent Entry Link Formation
More like this
Connecting to the API
Connecting to the API
Read with this
Bypassing Automatic Variable Mapping
Bypassing Automatic Variable Mapping
More like this
Qualification and Condition Codes
Qualification and Condition Codes
Read with this
Create Attributes
Create Attributes
More like this