Introduction
An attribute reference is the notation that Mapp Engage uses to access attribute values. You use it in personalized messages and in Mapp Engage functions. For the column names in import files, see CSV Format for Contact Imports and XML Format for Contact Imports.
Each attribute can be used in two forms:
Attribute reference, for example
${user['FirstName']}: The expression that returns the attribute value. Inside a rule condition or a function, you write the attribute without its own${ }, for example${user['FirstName'] == 'Anna'}.Placeholder, for example
<%${user['FirstName']}%>: Inserts the attribute value into the message content at sendout.
Standard Attributes
In individually configured systems, the values stored in standard attributes may vary. Typically, the attributes contain the following information.
Name | Attribute Reference | Personalization Placeholder | Data Stored |
|---|---|---|---|
Email Address |
|
| Contact's email address |
Mobile Number |
|
| Contact's mobile number (with area code) |
Mobile App Alias |
|
| Contact's mobile app alias |
First Name |
|
| Contact's first name |
Last Name |
|
| Contact's last name |
Title |
|
| Contact's title (e.g., Mr., Ms.) |
Date of Birth |
|
| Contact's date of birth (format: YYYY-MM-DD) |
Source ID |
|
| ID identifying the source of contact |
Identifier |
|
| External identifier (e.g., from a CRM system) |
Country |
|
| Contact's home country (ISO format) |
Language |
|
| Contact's language (ISO format) |
Postal Code |
|
| Contact's postal code |
Preferred Name |
|
| Contact's preferred name |
Origin |
|
| Origin of contact (e.g., Import, Web, Email) |
Gender |
|
| Contact's gender (Male, Female, Undisclosed) |
Custom Attributes
Custom attributes store data specific to your system's requirements. These attributes are not preconfigured in Mapp Engage and must be created to fit your marketing needs.
Attribute reference format:
${user.CustomAttribute['Name']}Placeholder format:
<%${user.CustomAttribute['Name']}%>
For example, an attribute named LastPurchase has the reference ${user.CustomAttribute['LastPurchase']} and the placeholder <%${user.CustomAttribute['LastPurchase']}%>.
Group Attributes
Group attributes hold a single value shared across all group members.
Attribute reference format:
${group.CustomAttribute['Name']}Placeholder format:
<%${group.CustomAttribute['Name']}%>
For example, an attribute named TravelDestination has the reference ${group.CustomAttribute['TravelDestination']} and the placeholder <%${group.CustomAttribute['TravelDestination']}%>.
Member Attributes
Member attributes store different information for the same contact in different groups. These attributes are created through an import with XML or CSV files.
Attribute reference format:
${user.MemberAttribute['Name']}Placeholder format:
<%${user.MemberAttribute['Name']}%>
For example, an attribute named LastPurchase has the reference ${user.MemberAttribute['LastPurchase']} and the placeholder <%${user.MemberAttribute['LastPurchase']}%>.
Placeholders for Other Information
The following placeholders insert information about the group membership, the group, and the contact's email domain. For message, group, and system data, see Placeholders for Message, Group, and System Data.
Placeholder | Description |
|---|---|
| Date the contact subscribed to the group (format: |
| Number of messages sent to the contact from the group |
| Number of active members in the group |
| Domain of the contact's email address (the part after the @ sign) |