Creating custom fields for first and last names

Every subscriber list you create has a default subscriber field for "Name," which gets split into first and last names. The first name is treated as everything before the first space, and the last name is treated as everything that comes after that.

This doesn't suit every situation. To support more complex names, you can create your own "First Name" and "Last Name" custom fields.

After you've set up these custom fields, you'll be able to insert them in the email builder by using Insert > Custom Fields > <list name>, rather than "Insert" > "Personalization."

IMPORTANT: While this process gives greater flexibility for first and last names, it retires the [fullname], [firstname] and [lastname] personalizations. This means the "Name" column will be empty for new subscribers on the subscriber list management page.

Setting up first and last name custom fields

To create your own "Name" custom fields:

  1. Open Lists & subscribers, and select the list you want to add the custom fields to.
  2. Click Custom fields in the right sidebar.
  3. Under "Field Name", enter First Name, set the "Data Type" as Text and click Add custom field.

    Here a capital "N" has been used to differentiate the new custom field name from the original "First name" field. This way when importing a list, you know which is the proper field to assign first and last names to.
  4. Use the same process as step 3 to create a "Last Name" field.
  5. Select the Visible check boxes for your new fields to ensure they appear on your sign up forms, and deselect the Visible check box next to the original "Name" field, as shown in the image below:

  6. Update any existing sign up forms to remove the original "Name" field, and include your new custom fields.

Converting an existing list to use custom name fields

If you already have a subscriber list that has name data, you'll want to convert it to use your new custom fields.

You can semi-automate the process of splitting a full name into first and last names by exporting your subscriber list, editing it using software like Google Sheets or Microsoft Excel, then re-importing. To do so:

  1. Open the list you need to modify, and click export near the top right of the screen.
  2. From the "Export" dropdown, select "All subscribers."
  3. In the "Select fields to export for <list name>" section, select all available fields. Click Export Subscribers.
  4. Open the CSV or tab delimited file in Google Sheets or Microsoft Excel. Create a "First name" and "Last name" column if they are not there already.
  5. Set the formula in the relevant cell of the "First name" column to =LEFT(A2,(FIND(" ",A2,1)-1)), replacing "A2" with the relevant cell for the full name you're trying to split. Click and drag the dot at the bottom right corner of the cell to apply the formula intelligently to the remaining cells in the column.
  6. Set the formula in the relevant cell of the "Last name" column to =MID(A2,FIND(" ",A2)+1,512), replacing "A2" with the relevant cell for the full name you're trying to split. Click and drag the dot at the bottom right corner of the cell to apply the formula intelligently to the remaining cells in the column.
  7. Save the file.
  8. Create the custom fields for first and last name, as detailed in the previous section.
  9. Import your modified file into your subscriber list, assigning the appropriate columns to your new "First Name" and "Last Name" fields: