Each contact that you keep on Elastic Email contains basic information, like email address or, optionally, recipient's first or lastname. It is possible to store more information with the help of custom contact fields.
Note! This feature is available in the PRO pricing plan only!
Creating and managing custom contact fields
Custom contact fields can be fully created and managed on your account's "Contacts" screen ("Add contacts" menu -> "manage contact fields") or from within specific contact's "data" screen. You will be also able to create them, when you upload a CSV file with contacts that include the additional fields. (Note! Field names cannot contain white spaces!)
Predefined custom fields
Custom contact fields come in the following (including predefined) types:
Birthday Date (type: date) - use one of the correct formats for all of your contacts: MM/DD/YYYY or YYYY/MM-DD
Phone (type: text, default max length: 100) - we recommend to use Text as the Data type for this custom field, so please make sure that you choose it for your contacts' phone number. Otherwise, data will not be added.
Company (type: text, default max length: 100)
Street address (type: text, default max length: 100) - separate each part of the address with space, not commas. (Note! Text fields are limited to a maximum 250 characters.)
City (type: text, default max length: 100)
Zip code (type: text, default max length: 100) - we recommend to use Text as the Data type for this custom field, so please make sure that you choose it for your contacts' zip code. Otherwise, these data will not be added.
State (type: text, default max length: 100)
Country (type: text, default max length: 100)
Consent (type: boolean) - these fields are used to store information on contact's consent to receive email from you. There are already three default fields available storing general information, but it is possible to add more. This field has to start with "consent" (so the properly added Consent field will look like: "consenttracking" not "trackingconsent").
Custom - see below.
Other custom field datatypes
Text (default max length: 100) - text fields are limited to 250 characters. Feel free to use text fields for data like: first name, last name, language preferences, phone numbers, zip codes and any other information where words are needed.
Number - number fields are limited to 11 characters. Feel free to use nuber fields for age, ID numbers or currency values as well as for any other information where number are needed.
Date - use this custom field for dates other than birthdays where date format is needed. (Note! This custom field should be added in one of ISO Standards: YYYY-MM-DD or MM-DD-YYYY)
Decimal - decimal fields are limited to 30 characters. Feel free to use this custom field for credit amounts, currency values and any other information where decimal number format is needed. For integers, please use number field.
Boolean - use this field in any case where only two values are available: TRUE or FALSE.
Big number - big number fields are limited to 20 characters. Feel free to use this custom fields in any case where big numbers are needed.
Custom contact fields cannot be created or removed via API - this option is available via dashboard only. Still, it is possible to update these fields with "customFields" call detailed in the API documentation here.