All Collections
Personalizing through liquid
Liquid: falling back on a word
Liquid: falling back on a word

Do you use liquid to show first name, for example? Avoid errors due to missing data. Enter a default.

Carola avatar
Written by Carola
Updated over a week ago

It is possible (especially with first and last names) that a profile may not have certain profile properties filled out. Are you using liquid but missing the information? Then literally nothing shows. Something that can seem crazy when you start an e-mail subject with a first name.

To avoid this, insert a fallback word. For example:

Hello {{ first_name | default: 'there!' }}

Without default

With default

Did this answer your question?