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 |
#[CAMPAIGN:EXCERPT:URL]# | |
#[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: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:REPLY_TO]# |
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:SHORT]# | |
#[ARCHIVE:SHORT:URL]# | |
#[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]# | |
#[DATE]# | Date format: Inserts the date on which the email was sent in the following format: d.m.Y |
#[DATE:FULL]# | Date Inserts a full date on which the email was sent in the following format: %A, %e.%B, %Y |
#[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: #[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]# | |
#[RSSITEM:LINK]# | |
#[RSSITEM:IMAGE]# | |
#[RSSITEM:THUMBNAIL]# | |
#[RSSITEM:TITLE]# | Can be used in subsjectline. |
#[RSSITEM:DESCRIPTION]# | |
#[RSSITEM:DATE]# | |
#[RSSITEM:CREATOR]# | |
#[RSSITEM:COMMENTS]# | |
#[RSSITEM:CATEGORIES]# | |
#[/RSSBLOCK<ID>]# |
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]# | |
#[/XMLBLOCK<ID>]# |
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 | |
#[ELSEIF:<merge><operator><value>]# | |
#[ELSE]# | |
#[/IF]# | |
#[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 |