Personalization Strings

This section provides conceptual and procedural information about personalization strings in email content. For more information, see Personalization.

What Is a Personalization String

A personalization string is a tag that lets you insert any of the attributes in your account (such as subscriber name) into your emails. Personalization strings can appear in the subject line of the email or in the email's content boxes. You may have heard personalization strings referred to as merge fields or substitution strings.

In addition to the subscriber attributes (profile and preference attributes) that you can insert into your emails by means of the personalization drop-down list tool, you can insert system data personalization strings. For example, you can label your emails with the campaign ID.

The following table lists the system data personalization strings that you can insert into your email. You can type these fields into the HTML of your email body if you're creating an HTML paste email, or you can type them into the text editor of the Content-Building Wizard when you create or modify the text of a content box.

Note the following:

  • All personalization strings are case-insensitive.
  • Be sure to include the two sets of double percent symbols (two percent symbols on both sides of the personalization string).
  • If you're inserting a personalization string into a line with other data, you want a space before and/or after the personalization string.

Data About the Email

Personalization String Description
%%jobid%% Email send ID (the unique identifier associated with this send of the email, for tracking data purposes)
%%xtmonth%% Full name of the month in which the email is sent
%%xtmonthnumeric%% Current month as a number
%%xtday%% Current date of the month when the email was sent (for example, 22)
%%xtdayofweek%% Current day of the week when the email was sent (for example, Thursday)
%%xtyear%% Current year when the email was sent
%%xtshortdate%% Current date when the email was sent in short format
%%xtlinkname%% Descriptive name of a hyperlink. This personalization string is used with the web analytics connector to allow a web analytics program to identify web activity that initiates from individual links within the email.
%%emailname_%% Internal name of the email
%%_messagecontext%% Context in which the customer is viewing the email. Resolves to Forward to a Friend, landing page, send, validation, view as web page, preview, link resolution, or view sent
 %%_replycontent%% The body of the email you sent. This personalization string is used in triggered sends to place the body of an email into a reply email
%%_IsTestSend%%

Resolves to True if the email job is marked as a Test Send.

%%[
if _isTestSend == false then
... // this code will not run for test sends
endif
]%%

Data About the Recipient and Subscriber List

Personalization String Subscription
%%emailaddr%% Subscriber's email address
%%fullname_%% Value of the system default Full Name profile attribute for this subscriber
%%firstname_%% First part of the system default Full Name profile attribute - the first name, if you entered the subscriber's full name in the standard FirstName LastName format - for this subscriber
%%comment_%% Value of the system default User Defined profile attribute for this subscriber
%%subscriberid%% Subscriber ID (the unique identifier for this subscriber)
%%_subscriberkey%% The unique identifier for the subscriber, if you use the subscriber key feature
%%listid% List ID
%%list_%% List ID followed by the type of email (HTML or text). For example: 11955_HTML
%%listsubid%% The identification number associated with this subscriber's membership on this particular list (This data is rarely used)
%%messagetypepreference%% The subscriber's text or HTML preference. Resolves to text or to HTML.
%%mobile_number%% Mobile number of the subscriber
%%short_code%% Short code associated with the response
%%_listname%% The name the user gives to the list.
%%_emailid%% The email ID assigned by the system.
%%_JobSubscriberBatchID%% This value ties a Triggered Send Job or a Subscriber Key Send Job to a Subscriber to a BatchID.

Data About the Sender

Personalization String Description
%%replyname%% Your reply name, as defined in your account settings
%%replyemailaddress%% Your reply email address
%%memberid%% Your account ID (MID)

%%member_busname%%

%%member_addr%%

%%member_city%%

%%member_state%%

%%member_postalcode%%

%%member_country%%

The data entered in the Address in Email Footer fields located in your Account Information workspace.

If you're creating an email based on a standard template, this data is included by default in the email footer.

Standard Links

Personalization String Description
%%view_email_url%%

If you're creating an email based on a standard template, this link is included by default in the email header.

%%ftaf_url%%

See the Forward to a Friend page

In most cases, you want to insert the Forward to a Friend graphic from your Forward to a Friend folder rather than use this personalization string.

%%subscription_center_url%%

See the Subscription Center

If you're creating an email based on a standard template, this link is included by default in the email footer.

%%profile_center_url%%

See the Profile Center

If you're creating an email based on a standard template, this link is included by default in the email footer.

%%unsub_center_url%%

If you're creating an email based on a standard template, this link is included by default in this email footer.

Note: If you include a date personalization string in your email, it will appear in the email in US format. You can use AMPscript to change the format if you need to.

Why Use Personalization Strings

Use personalization strings to provide customized content for subscribers. Personalization strings are easier to use than dynamic content and AMPscript, and they provide tracking benefits.

How To Insert Personalization Strings

You can use personalized personalization strings that fill in with the subscriber's own information when the email is delivered. You can perform this operation in the HTML version and text version of the email.

Follow these steps to insert a personalized personalization string into your text:

  1. Open the email content area where you want to insert the personalization strings.
  2. Place your cursor where you want the personalization string to appear in the text.
  3. Enter the personalization value: 

A personalization string for that attribute is inserted at your cursor's location in the text.


Was This Page Helpful

Yes No
Suggestion:

Please enter your email or phone, if you would like us to contact you:

Enter the digits 29845 backwards:
Tag page
You must login to post a comment.