Email Campaign Merge Tags: Full List of our Systems Merge Tags

Last Updated: Nov 14 2018 09:45 am UTC

Merge tags allow you to insert ("merge") personalized and system data into your email campaigns. This topic provides a full list of the built-in merge tags that are available when you create an email campaign.

Lists/Subscribers

Merge tag Name and purpose
#[UNIQID]#  Subscriber HASH value, can not be edited
#[EMAIL]# Email address
Inserts the recipient’s email address.
 #[FNAME]# First name
Inserts the recipient’s first name.
 #[LNAME]# Last name
Inserts the recipient’s last name.
 #[<custom tag name>]#  Custom tag
Inserts one of your custom merge tags. For example, your list has a field named “CAR_MODEL” that contains the model of the recipient’s car. You can insert a #[CAR_MODEL]# merge tag that inserts the recipient’s car model into the email. To add custom merge tags, navigate to Lists > My Lists, and then click the Edit subscriber fields button. Click Add New Field and enter the required merge tag data.
#[MERGE<ID>]# System generated merge tag label for each list field. Examples:
EMAIL -> MERGE0     
FNAME -> MERGE1     
LNAME -> MERGE2     
...     
<custom tag name> -> MERGE<n>

Campaigns

Merge tag Name and purpose
#[CID]# Campaign HASH value
#[CAMPAIGN:ID]# Campaign ID
#[CAMPAIGN:EMAIL]# Reply-to email address
#[CAMPAIGN:SENDER_NAME]#  Campaign sender
Inserts the campaign sender's name.
You can edit the sender's name under Account > Subscriber Information.
Using this tag is mandatory for senders using.
#[CAMPAIGN:SUBJECT]#  Email campaign subject
#[CAMPAIGN:SUBJECT:URL]#  URL encoded subject
#[CAMPAIGN:NAME]# Email / campaign name
#[CAMPAIGN:NAME:URL]#  URL encoded name
#[CAMPAIGN:EXCERPT]#  Plain text substring 144 ( first 144 symbols of plain text )
#[CAMPAIGN:EXCERPT:URL]# Plain text substring 144, with url-friendly encoding
#[CAMPAIGN:DATE]#  Inserts the date on which the email was sent in the following format: d.m.Y
#[URL:CAMPAIGN: GOOGLE_ANALYTICS_TITLE]# URL encoded Google Analytics title

Lists

Merge tag Name and purpose
#[LID]#  List HASH value
#[LIST:NAME]#  List name
#[URL:LIST:NAME]# List name, with url-friendly encoding
#[LIST:COMPANY]# Company name
Inserts the name of your company. 
You can edit the company name under Account > Subscriber Information.
Using this tag is mandatory for senders using the Pro User add-on. 
#[LIST:DESCRIPTION]# Permission Reminder
Inserts an explanation of why the recipients received the email. The explanation is contained in the “Subscription permission reminder” field associated with the campaign list.
You can view or edit the explanation by navigating to Lists> My Lists and then clicking the required List Settings button.
#[LIST:ADDRESS]#  Full Company address
Inserts the full address of your company (address, city, state/province, country, and zip/postal code).
You can edit this information under Account > Subscriber Information.
Using this tag is mandatory for senders.
#[LIST:PHONE]#  
#[LIST:URL]#  Link to the Permission Reminder
Inserts a “Why am I receiving this email?” link to a URL that informs recipients why they received the email. For details on how to view or modify the explanation, see #[LIST:DESCRIPTION]# above.
#[LIST:FROM_NAME]# Email campaign sender name.
#[LIST:FROM_EMAIL]# Email campaign sender email.
#[LIST:EMAIL]# List admin e-mail
#[LIST:REPLY_TO]# List owner e-mail
#[LIST:RECONFIRM]# Link to reconfirm the subscribers consent to receive mcampaigns from you.

System

Merge tag Name and purpose
#[UID]#  Client / user HASH value
#[UPDATE_PROFILE]# Update profile
Inserts an “Update Profile” link to a URL where the user can update his/her contact information.
#[ARCHIVE]# Archive URL
Inserts a “View email in browser” link to a URL that displays an archived version of the email.
#[ARCHIVE:URL]# Archive URL, with url-friendly encoding
#[ARCHIVE:SHORT]# Archive Short-URL
#[ARCHIVE:SHORT:URL]# Archive Short-URL, with url-friendly encoding
#[VCARD]# vCard as attachment
Inserts an “Add to address book” link to a URL that lets recipients easily add your email address to their address books.
#[UNSUB]# Unsubscribe URL
Inserts a “Click here to unsubscribe” link to a URL that makes it convenient for recipients to unsubscribe. After unsubscribing, a recipient will have the status “unsubscribed” in your list. 
#[SHORTURL:<url adress>]#  URL shortener
#[SHORTURL:<url adress>:URL]# URL shortener, with url-friendly encoding
#[CAMPAIGN:DATE:FULL]#  Date
Inserts a full date on which the email was sent in the following format: %A, %e.%B, %Y
#[CAMPAIGN:DATE:<date format>]#  Date
Inserts a full date on which the email was sent.
You can customize the format based on this example:
http://php.net/manual/en/function.strftime.php
Example: #[CAMPAIGN:DATE:A, e.B, Y]#

Survey link

Merge tag Name and purpose
#[SURVEY:<survey HASH value>]#  Adds a direct survey URL in email's content.

RSS

Merge tag Name and purpose
#[RSSBLOCK<ID>:URL=<rss feed URL adress>|POSTS=<article count>]# Example: #[RSSBLOCK01:URL=http://blog.example.com/feed|POSTS=2]#
#[RSSITEM:CONTENT]# Content of RSS feed
#[RSSITEM:LINK]# RSS feed provided link
#[RSSITEM:IMAGE]# RSS feed provided image
#[RSSITEM:THUMBNAIL]# RSS feed provided thumbnail
#[RSSITEM:TITLE]# Can be used in subsjectline.
#[RSSITEM:DESCRIPTION]# RSS feed provided description
#[RSSITEM:DATE]# RSS feed provided date
#[RSSITEM:CREATOR]# RSS feed provided creator
#[RSSITEM:COMMENTS]# RSS feed provided comments
#[RSSITEM:CATEGORIES]# RSS feed provided categories
#[/RSSBLOCK<ID>]# End of RSS feed

XML

Merge tag Name and purpose
#[XMLBLOCK<ID>:URL=<xml feed URL adress>|ITEMS=<skaits>|LOOP_ELEMENT=<element>]# LOOP_ELEMENTS - name of elementa, that's repeated in XML file, example: a "product" will be an element for  e-commerce store
#[XMLITEMS]#  This block identifies which section of the template will be repeated in cycle
#[XMLITEM:<teg name>]# This includes name of the tag from XML file. Example from an e-commerce website would be "description", "price", "old_price", "discount", "URL", "image"
#[/XMLITEMS]# End of XML section
#[/XMLBLOCK<ID>]# End of XML block

Dynamic content tags

Merge tag Name and purpose
#[IF:<merge><operator><value>]#  Example: #[IF:ARCHIVE]#, #[IF:SEGMENT=<segment ID>]#, #[IF:EMAIL=example@example.com]#
<merge> Different merge fields
<operator> - =, !=, >, >=, <, <=, contains  Choice of condition
#[ELSEIF:<merge><operator><value>]# If first condition wasn`t true, You can add another condition check
#[ELSE]# If any of conditions wasn`t true, You can add default case
#[/IF]# End of IF statement
#[IF:CONTACT:OPTIN_TIME=]#Click here to reconfirm your email address to receive further emails from us#[/IF]# Double opt-in merge tag for email confirmation if subscriber subscribed via single opt-in

Was this article helpful?
What can we do to improve articles like this?

Copyrights © Mailigen. 2019 All rights reserved.