Surveys can be pre-populated with the data you may already hold on your contacts. If you distribute your survey via the email functionality of the application, surveys can pre-populate or hide a field for which you already have information on a contact.
In brief, the way to achieve this is:
- Create your survey
- Assign questions to your contact data fields
- Choose how you want pre-existing data to be handled
- Insert a link to your survey using EasyEditor's Link function and send your campaign
For more details, read on.
Below the option to assign a question to a contact data field, it says, "If you already have this data for a respondent" followed by the options:
- update (which overwrites existing data with the contact's response to this question)
- hide this question (which doesn't show the question to your contact)
Choose the appropriate behaviour for your survey.
To overwrite data, or hide the question, based on there being existing data, then you need to share the survey via the email application.
In EasyEditor, use the 'Link to a survey' feature, which you can access by clicking on the Link function in the toolbar.
When the campaign is sent out via the email application, each contact will be sent a unique URL for the survey and the questions will be hidden based on that URL.
If you're using surveys in landing pages, then pre-population is also possible, provided the contact is coming through to the page from a link in a campaign they've been sent. If the survey's questions are assigned to contact data fields, then the survey in the landing page will be pre-filled wherever that's possible.
Boolean (true/false or yes/no) contact data fields
If your data fields contain Boolean (true/false or yes/no) data, then assigning this successfully requires the use of multiple choice radio buttons or a dropdown list with appropriate Boolean answers. Valid answers for your survey would be 'True' and 'False', 'Yes' and 'No', or even 'Y' and 'N'; these will all be assigned correctly to your Boolean contact data field.
It's not currently possible to assign a contact data field to a checkbox.
If you don't have access to the 'Link to a survey' feature (because, for example, you're using the API or a different editor), then you can still access this behaviour through the email application.
- First, generate your link in the survey tool - this will look something like: http://www.survey-domain.me/2di8cfa‑482d125
- Insert m/ after the http://www.survey-domain.me/ so that it looks more like: http://www.survey-domain.me/m/2di8cfa‑482d125
- Now, to the end of the link add -@HCONTACTID@ so that it looks like: http://www.survey-domain.me/m/2di8cfa‑482d125-@HCONTACTID@