Custom Variables are special variables used to store additional information which can be passed to the survey. The additional info passed via the variables are stored with the respondents response collected. Variable mapping helps dramatically when you have a lot of variables used in your survey. It helps to work with your own codes instead of using a system syntax (custom1, custom2, etc.,). You can use variable mapping to assign appropriate names to the variables which also appears as the column headers in the reports downloaded.
To add variable mapping go to:
Segment custom fields are same like custom variables where additional information related to segments can be stored. You can add multiple custom fields for a segment. These segment custom fields are workspace specific and no duplicate names are allowed.
Once you are on the Mapping page under the Admin section, scroll to the Segment Custom Fields Mapping section and click on the "+Add" button to add the custom fields.
In the Add Field Mapping pop-up enter the Display Name and Code for the custom field you want to add. You can add multiple custom fields for a segment. Once done, click and save the custom field mapping by clicking on the "Save" button.
On the Mapping page under the Segment Custom Fields Mapping section, you can see all the custom fields created for the respective workspace. Edit and delete buttons are provided in front of each of the custom field using which you can edit and delete the intended custom fields.
To learn how to access these segment custom fields, refer to JavaScript Logic Syntax Reference