Skip to content

Popular searches

Use personalisation tags in emails

Updated

A personalisation tag is a short code that Mail Niaga changes to subscriber data when it sends the email. For example, Hai {{ SUBSCRIBER_FIRST_NAME }} becomes “Hai Aisyah” for Aisyah and “Hai Daniel” for Daniel.

If your list has thousands of subscribers, you cannot write the name of each person one by one. One tag is sufficient for all the subscribers. An email with the name of the recipient feels more personal. Usually, more recipients open and read emails of this type.

Type each tag exactly as in the table, in capital letters. This table shows the tags that people use most:

Tag What it shows
{{ SUBSCRIBER_EMAIL }} The email address of the subscriber
{{ SUBSCRIBER_FIRST_NAME }} The first name (list field First name)
{{ SUBSCRIBER_LAST_NAME }} The last name (list field Last name)
{{ UNSUBSCRIBE_URL }} The unsubscribe link
{{ WEB_VIEW_URL }} A link that opens the email in a browser
{{ UPDATE_PROFILE_URL }} A link where the subscriber can update their data
{{ CAMPAIGN_SUBJECT }} The campaign subject
{{ LIST_NAME }} The list name
{{ CURRENT_YEAR }} The current year

The builder also lists all these tags. Click Design in the side menu of the builder, then click the { } tab. Each tag has a button that copies the tag.

Each list field has its own tag in the format {{ SUBSCRIBER_<TAG> }}. For example, a list field with the tag FIRST_NAME uses {{ SUBSCRIBER_FIRST_NAME }}. Do these steps to find the tag of a list field:

  1. Go to Audience → Lists, then open your list.
  2. Click Manage list fields.
  3. Copy the tag that shows on the list field.

The Manage list fields page with the tag {{ SUBSCRIBER_FIRST_NAME }} on the First name list field

Make sure that the data for the list field is in your import of subscribers. If the field is empty, the tag has no value to fill in.

The method depends on the type of your template:

  • Email builder: double-click the text. On the text toolbar, click the { } button (Insert variable), then choose a tag from the list.
  • Custom HTML: type the tag directly in the editor. The hint below the editor shows an example tag.

The Insert variable list in the campaign builder with the list field Bandar

The personalisation tag hint below the Custom HTML editor

List field tags show in Insert variable only in the campaign builder, because a campaign has a list. The builder in Campaigns → Templates has no list. That builder shows only general tags, such as Email and Unsubscribe link. You can still type a list field tag yourself in a template.

You can also use tags in the email subject:

  1. Open the campaign, then go to the Setup step.
  2. In Email subject, type {{. A list of tags shows, with the list fields of that campaign.
  3. Choose a tag from the list.

The Email subject field with the tag list after {{ was typed

The old version of Mail Niaga used tags such as [Name,fallback=]. These tags do not work in the current console. Recipients will see the tag as plain text.

The email can have tags that Mail Niaga cannot fill in. In this case, the check in the Confirm step shows “Merge tags that won’t be filled in”. Change these tags to the {{ ... }} format before you launch the campaign.

This advice helps you avoid errors in tags:

  • Send a test email to yourself first. Then you can check the tags before all the subscribers get the campaign.
  • Type tags in capital letters. Copy the tag from Manage list fields, so that each letter is correct.

Common issues

Why does the tag [Name,fallback=] from the old system not work?

That format is from the old version of Mail Niaga. The current console uses the format {{ SUBSCRIBER_FIRST_NAME }}. Change each old tag to a new tag. The check before the send shows the tags that Mail Niaga cannot fill in.

Why do the list field tags not show in the template builder?

A template is not linked to a list. List field tags show in the campaign builder, for the list of that campaign. You can still type the tag yourself in the template.

Where can I see the tag of each list field?

Go to Audience → Lists, open the list, then click Manage list fields. Each list field shows its tag, for example {{ SUBSCRIBER_FIRST_NAME }}.

Was this article helpful?