Subject Line Variables
Learn how to use variables in email subject lines.
Available Variables
You can personalize your email subject lines by inserting variables. The following variables are available:
FIRST_NAME
: The recipient’s first name.LAST_NAME
: The recipient’s last name.EMAIL
: The recipient’s email address.COMPANY
: The recipient’s company name.ORDER_NUMBER
: The recipient’s order number.PRODUCT_NAME
: The name of the product related to the email.
How to Use Variables
To add a variable to your subject line, use the following syntax:
${VARIABLE|"DEFAULT"}
VARIABLE
is the name of the variable you want to use (e.g.,FIRST_NAME
).DEFAULT
is the fallback value that will be used if the variable is not available.
Example:
Hello ${FIRST_NAME|"there"}, check out our latest offers!
If the recipient’s first name is available, it will be used. Otherwise, the word “there” will appear in the subject line.
Formatting Options
You can use variables as-is or combine them with static text. Make sure to provide a default value for the best user experience.
Conditional Subject Lines
You can create dynamic subject lines by combining variables and default values, ensuring your message is always relevant.
Best Practices
- Always provide a default value for each variable.
- Keep subject lines concise and relevant.
- Test your subject lines to ensure variables render as expected for all recipients.
Last updated on