Capitalization + Splitting First and Last Names in Broadcasts and Sequences

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 here to tell you 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. What can you do then?

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! For a bit more about personalizing emails, check out  Personalizing Emails With The Subscribers Name + Email Address!

Need to speak to a human? We have those.

Choose between Live Chat or Email. Either way, we're here for you. 

CLICK HERE TO START CHATTING
   CLICK HERE TO SEND US AN EMAIL

Still need help? Contact Us Contact Us