ResourcesKnowledge Base

Content merge tags

Here you will find a list of supported merge tags that can be used in the body of the message. Tags are replaced during message delivery with their actual values at the time of sending, allowing for the personalization of content.

System links

System links are special links that provide access to global features like browser preview or recipient unsubscribe.

[SIGNOUT] - link to recipient unsubscribe page that is usually placed in the footer of the email message. The [SIGNOUT] tag contains only the URL for the unsubcribe page allowing the designer of the message to customize the wording and visual of the link in the email. If the tag is not present in the body of the email a default unsubscribe link will be placed at the top of the email message.
[PREVIEW] - link for browser preview that is usually placed in the header of the email message to allow recipients with difficulties viewing the content of the email to display it in the browser.
If there is a need to display different content in the browser view this can be achieved using a condition using the shared.WEBVIEW variable, eg.: [% IF shared.WEBVIEW=='TRUE' -%]show in browser[% ELSE -%]show in email[% END %]
[PRINT] - link to a printer friendly version of the email that will use high-contrast greyscale display suitable for printing.
[CONFIRM_URL=xxx] - link to record recipient consent - suitable for messages sent using for example legitimate interrest to acquire consent. Replace "xxx" with the URL of the target page after consent is recorded, eg. thank you page on your website. Click on this link will record all relevant information for proof of consent as required by law.

Personalization

Recipient related information valid at time of send. These values are sourced from the recipient record in the mailing list at the time of send. In case an API call has been used to send the message and recipient information has been part of the API call the information from the call takes precedence.

[VOCATIVE] - vocative
[PREFIX] - recipient's title
[FIRST_NAME] - recipient's first name
[LAST_NAME] - recipient's last name
[NICK_NAME] - recipient's nick name
[GENDER] - recipient's gender (M/F)
[EMAIL] - recipient's email address
[PHONE] - recipient's phone number
[MOBILE] - recipient's mobile phone number
[FAX] - recipient's fax number
[STREET] - recipient's street address
[ZIP] - recipient's ZIP code
[CITY] - recipient's city
[COUNTRY] - recipient's country
[STATE] - recipient's state
[CUSTOM1] - recipient's custom field no.1
[CUSTOM2] - recipient's custom field no.2 etc... max number of custom fields is 25
[POLL XX] - poll where "XX" is the poll ID

email.CAMPAIGN_VARIANT - variable for A/B tests that allows to identify different variants of campaign within the template and increase the possibilities of A/B testing using dynamic content directly in the tempaltes. Variable can be of the A, B or empty value (of A/B testing is not being used).
Example use: [% IF email.CAMPAIGN_VARIANT == '' -%]content without A/B test[% ELSIF email.CAMPAIGN_VARIANT == 'A' -%]A version of the content[% ELSE -%]B version of the content[% END -%]

Campaign parameters

It's often useful to have access to the campaign settings from the body of the campaign itself. To acomplish this you can use tags that provide campaign information.

[CAMPAIGN_NAME] - full name of the campaign
[CAMPAIGN_NAME_LC] - lower case name of the campaign without special characters and spaces (suitable for Google Analytics codes)
[SUBJECT] - campaign subject (ideal for the html title tag) kampaní nebo šablon)<title>kampaní a šablon)

Date and time

Campaigns can be personalised with date and time information at the time of send. Date and time tags allow you to place current date and time at the time of send in various formats. For advanced date and time operations in the templates please see the date & time templating functions.

[SEC] - second
[MIN]
- minute
[DAY]
 - day of month (eg. 05)
[SDAY] - short day of month without leading 0 (eg. 5)
[DAYOFWEEK] - day of week
[DAYOFYEAR] - day of year
[WEEK] - week number
[MONTH] - month number (eg. 03)
[SMONTH] - short month number without leadin 0 (eg. 3)
[YEAR] - year (eg. 2016)
[SYEAR] - short year format without leadin 0 (eg. 16)

Campaign social sharing

To share campaigns on social networks and have the shares tracked a special set of tags provide custom email content display links. Links generated by these tags lead to a custom display of the email message content with independent personalization and tracking preventing disclosure of information about its original recipient. Please note that the tag only creates a link to the content and doesn't provide the sharing feature itself.

Facebook - [SHAREFB] provides URL for Facebook sharing
Twitter - [SHARETW] provides URL for Twitter sharing
Google+ - [SHAREGP] provides URL for Google+ sharing
LinkedIn - [SHARELI] provides URL for LinkedIn sharing
Pinterest - [SHAREPIN] provides URL for Pinterest sharing
Obecné - [SHAREGEN] provides URL for generic sharing, eg. other social networks or placement on company website.

Templates

Tags used in the main template file to access campaign content areas:

[CONTENT] a [CONTENT_TXT] - loads the campaign content area into the template. If [CONTENT_TXT] is used the content will be converted to plain-text stripping all HTML code. Each campaign can have up to 10 independent content areas - their use is based on the placement using the tags [CONTENT2], [CONTENT3], [CONTENT4] to [CONTENT10] resp. [CONTENT2_TXT], [CONTENT3_TXT], [CONTENT4_TXT] to [CONTENT10_TXT] for their plain-text variant.