How to personalise an email for a customer Use personalisation to display information about the customer, which will be reflected in the main content of the email (for example, their name, address or number of their last order). false W3sidGl0bGUiOiJNYXJrZXRpbmciLCJ1cmwiOiIvdXNlcnMvbWFya2V0aW5nLyJ9LHsidGl0bGUiOiJNYWlsaW5ncyIsInVybCI6Ii91c2Vycy9tYXJrZXRpbmcvbWFpbGluZ3MvIn0seyJ0aXRsZSI6IkVtYWlsIHRlbXBsYXRlIGJ1aWxkZXIiLCJ1cmwiOiIvdXNlcnMvbWFya2V0aW5nL21haWxpbmdzL2VtYWlsLXRlbXBsYXRlLWJ1aWxkZXIvIn1d Marketing /users/marketing/ ["users","Marketing"] ["users","Marketing","Mailings"] users

How to personalise an email for a customer

Use personalisation to display information about the customer, which will be reflected in the main content of the email (for example, their name, address or number of their last order).

Use personalisation to display information about the customer, which will be reflected in the main content of the email. Twig templates are used for email personalisation.

For instance:

<p>Dear {{ customer.firstName }},</p>

<p>Your order №{{ customer.lastOrder }} has been confirmed and directed to the warehouse.</p>

To use personalisation, click on the text field in the email body. A text editing area and the “Merge tags” option will be displayed at the top of the template.

Let’s consider another example: when we add the recipient’s email to the email footer. This is done because the customer must know that he subscribed to the mailing and agreed to receive emails to his current email address.

To add a variable, click on the “Merge tags” option and select “Email”. Then the variable must be wrapped in a link. Select the variable and click on the link button in the toolbar. The link has been added, but you need to perform two more steps:

  1. If the link has become white, click on the link and on the left, in the settings panel, select the link colour according to your design.
  2. In the “Link” field, which is located slightly below, select the “Mail” option. Copy the variable and paste it after mailto: to get mailto: {{customer.email}}.

Personalisation can also be used in the email subject. To do this, you need to copy the expression from the body of the editor or directly from the documentation itself.

Thank you for your feedback.
Was this article helpful?
No
  • The recommendations did not help
  • There is no answer to my question
  • The text is difficult to understand
  • I do not like the described functionality
Yes
Previous article
How to add an unsubscribe link to an email template
If you don't allow recipents to unsubscribe, it is likely that they will mark your emails as spam. This can affect the store's reputation.
Next article
Work with products in the email designer
Using the "Product" block, you can display the recommended products from a marketing rule in the email template.