---
schema_version: "1"
id: 7f9a8e6dccff053ba3eb16e920a4dfcbec1a4b9e5867f4bcbd722473a34b627e
title: Personalization Strings in Email Studio
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mc_es_available_personalization_strings.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mc_es_available_personalization_strings.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b1a59489decce4317389eb8cf52d3c0a27390b31dca0180ec512c1bcb015d978
description: These tables include available personalization strings for use in Email Studio.
products:
  - Marketing
  - Marketing Cloud Engagement
release: "264"
---
# Personalization Strings in Email Studio

These tables include available personalization strings for use in Email Studio.

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_email-264-0-0-production-enus/a0b807ef-dfbb-412c-b26e-310d91f2d6df/images/icon_important.png)

Important Don’t use a personalization string as a column name in a sendable data extension or profile attributes.

## Email Data

If you include a date personalization string in your email, it appears in the email in US format. You can use AMPscript to change the format as necessary.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:33.33333333333333%">
          <col style="width:66.66666666666666%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d31164e50">Personalization String</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d31164e53">Description</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%xtmonth%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">Full name of the month in which the email is sent</td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%xtmonthnumeric%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">Current month as a number</td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%xtday%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">Current date of the month when the email was sent (for example,
              <strong>22</strong>)
            </td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%xtdayofweek%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">Current day of the week when the email was sent (for example,
              <strong>Thursday</strong>)
            </td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%xtyear%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">Current year when the email was sent</td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%xtshortdate%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">Current date when the email was sent in short format. For example,
              <strong>12/13/2024</strong>
            </td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%xtlongdate%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">Current date when the email was sent in long format. For example, <strong>Monday,
                December 13, 2010</strong></td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%linkname%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">Descriptive name of a hyperlink, known as the link alias. This string populates
              with the value of the link's alias or the complete URL if no alias is specified at
              the link level. This personalization string is only available in use with the web
              analytics connector. This string allows a web analytic program to identify web
              activity that initiated from an individual link within the email. Link alias values
              generated via personalization strings, AMPscript, or SSJS don’t reflect in the
              %%linkname%% value.</td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%emailname_%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">Internal name of the email</td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%_messagecontext%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">
              <p>Context in which the customer views the email. Resolves to these values:</p>
              <ul>
                <li>SEND - Display the rendered final message for sending to subscriber</li>

                <li>PREVIEW - Display the send preview options available within editor</li>

                <li>VAWP - Display content</li>

                <li>VIEWSENT - Display the non-subscriber link to preview content</li>

                <li>FTAF - Display the rendered Forward To a Friend message</li>

                <li>LANDINGPAGE - Display a landing page or microsite</li>

                <li>VALIDATION - Display information corresponding to the validate option in
                  Marketing Cloud</li>

                <li>LINKRESOLUTION - Display resolved dynamic script at click time</li>

                <li>SMS - Display SMS message content</li>

                <li>SOCIAL - Display Social Forward content</li>

                <li>SITE - Display CloudPages content</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%_MessageTypePreference%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">Resolves to Text or HTML according to the subscriber's email type
              preference</td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%_replycontent%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">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</td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%_IsTestSend%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">
              <p style="margin-bottom:0;">Resolves to True if the email job is marked as a Test Send</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%jobid%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">Email send ID (the unique identifier associated with the send of the email, for
              tracking data purposes)</td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%_PreHeader%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">Any content with the assigned value for the Preheader attribute of the email
              message</td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%Email_Preheader%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">Populates the preheader in an email from the brand tags</td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e50 "><code>%%double_opt_in_url%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e53 ">Inserts the double opt-in link in an email</td>

          </tr>
        </tbody>
      </table>

## Data About the Recipient

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_email-264-0-0-production-enus/a0b807ef-dfbb-412c-b26e-310d91f2d6df/images/icon_note.png)

Note Don’t include personally identifiable information, such as email address, in email links.

 
| Personalization String | **Description** |
| --- | --- |
| `%%emailaddr%%` | Subscriber's email address |
| `%%fullname_%% or %%fullname%%` | Value for the subscriber's full name as entered in the profile attribute Full Name |
| `%%firstname_%% or %%firstname%%` | Value for the subscriber's first name as entered in the profile attribute Full Name. This string pulls the value before the space. |
| `%%lastname_%% or %%lastname%%` | Value for the subscriber's last name as entered in the profile attribute Full Name. This string pulls the value after the space. |
| `%%comment_%% or %%comment%%` | Value of the 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 |
| `%%line_address_id%%` | Unique LINE-generated user ID. These IDs vary by provider. |
| `%%line_job_id%%` | Unique job ID number for the LINE send event |
| `%%line_subscriber_id%%` | Unique identifier representing a subscriber for that particular LINE Channel |
| `%%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 used as part of an SMS Interaction |
| `%%short_code%%` | Short code associated with the response as part of an SMS Interaction |
| `%%_listname%%` | The name the user gives to the list |
| `%%_emailid%%` | The email ID assigned by the system |
| `%%_JobSubscriberBatchID%%` | The BatchID for the Batch containing the Subscriber who received the send |
| `%%_DataSourceName%%` | The audience name that the email was sent to. The audience name refers to the Publication List for Journey sends. |
| `%%_ImpressionRegionID%%` | Returns the active region ID or 0 if none is active |
| `%%_ImpressionRegionName%%` | Resolves to the currently active impression region or evaluates to an empty string if no impression region has been set |

## Data About the Sender

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:33.33333333333333%">
          <col style="width:66.66666666666666%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d31164e568">
              <strong>Personalization String</strong>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d31164e574">
              <strong>Description</strong>
            </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e568 "><code>%%replyname%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e574 ">Your reply name, as defined in your account settings</td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e568 "><code>%%replyemailaddress%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e574 ">Your reply email address</td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e568 "><code>%%memberid%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e574 ">Your account ID (MID)</td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e568 ">
              <p>%%member_busname%%</p>
              <p>%%member_addr%%</p>
              <p>%%member_city%%</p>
              <p>%%member_state%%</p>
              <p>%%member_postalcode%%</p>
              <p style="margin-bottom:0;">%%member_country%%</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e574 ">
              <p>The data entered in the Address in Email Footer fields located in your Account
                Information workspace.</p>
              <p style="margin-bottom:0;">If you're creating an email based on a standard template, this data is included
                by default in the email footer.</p>
            </td>

          </tr>
        </tbody>
      </table>

## 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%%` | Usually, 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%%` | If you're creating an email based on a standard template, this link is included by default in the email footer. |
| `%%profile_center_url%%` | 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. |

## Microsites

 
| Personalization String | Description |
| --- | --- |
| `%%microsite_base_url[default]PageID[/default]%%` | You can enter this string value to reference a landing page. Replace **PageID** with the ID value for the landing page. |

## Analytics

The areas to enter these strings in the application are available only if you have web analytics functionality enabled in your account. To enable web analytics, contact your representative.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:33.33333333333333%">
          <col style="width:66.66666666666666%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d31164e803">Personalization String</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d31164e806">Description</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e803 "><code>%%AdditionalInfo_%%</code></td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e806 ">You can enter this string value in the Send Wizard as part of a Guided Send
              when the analytic connector is enabled.</td>

          </tr>
          <tr class="">
            <td data-label="Personalization String" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e803 ">
              <p><code>%%__AdditionalEmailAttribute1%%</code></p>
              <p><code>%%__AdditionalEmailAttribute2%%</code></p>
              <p><code>%%__AdditionalEmailAttribute3%%</code></p>
              <p><code>%%__AdditionalEmailAttribute4%%</code></p>
              <p style="margin-bottom:0;"><code>%%__AdditionalEmailAttribute5%%</code></p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d31164e806 ">
              <p>These values are set in the property of the email when the analytic connector is
                enabled.</p>
              <p>You can have up to five AdditionalEmailAttribute fields to enter values.</p>
              <p style="margin-bottom:0;">These attributes aren’t available in emails created before enabling more email
                attributes. Resave these emails to use these additional attributes.</p>
            </td>

          </tr>
        </tbody>
      </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_email-264-0-0-production-enus/a0b807ef-dfbb-412c-b26e-310d91f2d6df/images/icon_note.png)

Note Existing email before AEM feature is enabled must be resaved to ensure additional email properties can be used.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_email-264-0-0-production-enus/a0b807ef-dfbb-412c-b26e-310d91f2d6df/images/icon_note.png)

Note To ensure more email properties can be used, resave existing emails that use more email attributes.