Use existing data to pre-populate a survey


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.

Creating a survey with an existing contact's email address

Create your survey in the normal way, and assign your questions to your contact data fields.

Setting behaviour for pre-existing data

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.


Sharing your survey by the email application

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.

Pre-populating surveys in landing pages

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.

Assigning data

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.


Sending the campaign outside of EasyEditor

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.

  1. Generate your link in the survey tool - this looks something like:‑482d125
  2. Insert m/ after the so that it looks more like:‑482d125
  3. Add to the end of the link -@HCONTACTID@ so that it looks like:‑482d125-@HCONTACTID@
Have more questions? Submit a request


  • Avatar

    Hi Neal, 

    Is it possible to personalise survey similar to email campaign. I created a personalised email campaign with Survey link via the email application, and I would like to display (not hidden) First (@FIRSTNAME@) and last name (@LASTNAME@) at the top in the survey as well.

    Is it possible to do so?



  • Avatar

    Hi Nitasha,

    Thanks for your question. This isn't possible currently for surveys and forms. 

    It may be the case that you'd like to turn this into a surveys and forms feature request though, meaning other users can then vote for it and it can climb our priority list.

  • Avatar

    Anyone else have trouble with the work around for sending campaigns outside of easy editor, I didn't have much luck with this and my 'Link to Survey' option isn't working?

  • Avatar

    Is there a way to pre-populate existing customer data if the form is embedded on our website rather than directly linked to from the email?

  • Avatar

    Hi Laura,

    There isn't. The contact needs to have accessed the survey or form via a unique link sent to them in an email, which enables the system to identify them and then access their existing data, thus pre-populating the form and hiding certain questions as appropriate.

  • Avatar

    Shouldn't checkboxes map to boolean data fields? On=true and off=false.

  • Avatar

    Hi Dermot,

    It isn't possible to assign a contact data field to a checkbox question. This is because it's possible for multiple answers to be selected for this type of question, meaning they can't be stored under a single contact data field.

  • Avatar

    I assigned a survey as the destination link for double opt-in using the way described here - adding @HCONTACTID@ to the end of it, but it doesn't actually seem to work. I'm guessing because it goes through the double-opt in link and then through the survey link. Is there a workaround?

  • Avatar

    Hi Grant. Whilst I don't know the exact details of what you might be trying to do here, it sounds like you could be creating this link to the survey as the ‘Double opt-in action’ in our 'Double opt-in settings'. Unfortunately this wouldn't work as all @[something]@ placeholders are only processed during the campaign send process (or in the rendering of a landing page).

    However, you may want to contact to discuss what you're trying to achieve further.