Default values for empty tags

You probably know that you can use Remarkety tags such as {$shopper.firstName} to personalize an email and its subject line.

However, what if data is missing from the contact's information? They possibly have not entered a first or last name, phone number, etc. In this case, you would rather display something rather than just empty space, and provide a default value.

This is easily done with the default tag modifier. For example:

Dear {$shopper.firstName|default:'Club Member'}

Would display: "Dear John" when the contact's first name is John, and "Dear Club Member" when the contact has no first name entered.

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.