All Collections
Dynamic placeholders
Frequently Used Dynamic Placeholders
Frequently Used Dynamic Placeholders
Karan avatar
Written by Karan
Updated over a week ago

Here is a list of commonly used and conversion causing dynamic placeholders. 

These can be used in the Subject field and/or in the Body of the message/email.

Country

{{#if (eq locationCountryCode 'ISO')}}TYPE TEXT HERE {{else if (eq locationCountryCode 'ISO')}}TYPE TEXT HERE {{else if (eq locationCountryCode 'ISO')}}TYPE TEXT HERE {{else}}TYPE TEXT HERE {{/if}}

In the formula the ISO has to be replaced with the 3-letter ISO country code of the country you want to target with this placeholder.  

Gender

{{#if (eq gender 'Female')}}SALUTATION {{lastName}}{{else if (eq gender 'Male')}}SALUTATION {{lastName}}{{/if}}

This formula enables you to use your language specific salutation like “Herr/Frau”, “M./Mme.” etc., by exchanging SALUTATION in the dynamic placeholder.

e.g. 

  • Formal: {{#if (eq gender 'Male')}}Sehr geehrter {{#if (eq salutation 'Dr.')}}Herr Dr.{{else}}Herr{{/if}} {{else if (eq gender 'Female')}}Sehr geehrte {{#if (eq salutation 'Dr.')}}Frau Dr.{{else}}Frau{{/if}}{{/if}} {{lastName}},

  • Informal: {{#if (eq gender 'Male')}}Lieber{{else if (eq gender 'Female')}}Liebe{{/if}} {{firstName}},

Current weekday (language based)

{{#if (weekdayIs 'Monday')}}TYPE TEXT HERE {{else if (weekdayIs 'Tuesday')}}TYPE TEXT HERE {{else if (weekdayIs 'Wednesday')}}TYPE TEXT HERE {{else if (weekdayIs 'Thursday')}}TYPE TEXT HERE {{else if (weekdayIs 'Friday')}}TYPE TEXT HERE {{else if (weekdayIs 'Saturday')}}TYPE TEXT HERE {{else if (weekdayIs 'Sunday')}}TYPE TEXT HERE {{/if}}

Using this dynamic placeholder allows you to name the current weekday of the sent email in your local language, by exchanging TYPE TEXT HERE in the dynamic placeholder.




Did this answer your question?