Edit Your List For Personalization

If you've sent an email to your list, and found that your Subscribers are getting emails that start with both their first and last name, you likely have a list that needs a little cleanup in the name department.

Maybe some of your Subscribers put their full name in that First Name field, or they didn't capitalize their pronouns, and now you're sending emails like:

Hi Jane Smith!

or

Hi jane!

Oh the drama.

While going through your list Subscriber-by-Subscriber, updating their names, might sound less-than-thrilling, we're happy to report that you don't have to! With a few simple tricks, and an assist inside your Broadcast or Sequence composer, you can properly address everyone on your list.

You may know already how to avoid that blank space that happens if someone didn't list their first name. Now let's cover how you can use liquid Tags like those to fix the capitalization and first/last name issues:

Capitalization

If you have a list full of names that aren't capitalized, you can solve that problem in your email composer with the following:

Hello {{ subscriber.first_name | capitalize }},
 
 That translates to:

Hello Subscriber name that will be capitalized even if it's not already
 

Splitting First and Last Names

Now let's say that you have a bunch of names that have both the first and last names in that first name field. You could use this:

Hello {{ subscriber.first_name | capitalize | split: " " | first }},

That translates to:

Hello Subscriber first name that will be capitalized if it isn't already and also pulled apart from any last names in the same field
 

Combine Them!

But some lists have Subscribers with first names written in lowercase, Subscribers with first and last names in the same field, AND Subscribers who list no name at all. 

NOW WHAT. 

First, take a deep breath. Next, combine the Tags for one incredible personalization Tag:

{% if subscriber.first_name != blank %}
 Hello {{ subscriber.first_name | capitalize | split: " " | first }},
 {% else %}
 Hello,
 {% endif %}

That translates to:

{% if subscriber.first_name != blank %} = Let's start by saying that we'll have different rules if the First Name field is blank
 Hello {{ subscriber.first_name | capitalize | split: " " | first }}, = Hello Subscriber first name that will be capitalized if it isn't already and also pulled apart from any last names in the same field
 {% else %} =
If the first name field isn't there, only write what's below
 Hello, = Hello, (this can be changed to any other greeting)
 {% endif %} = The end of this rule

Now you can greet your Subscribers the way you want! 

Subscriber Basics: The Subscriber Profile Page

Did this answer your question?