- Overview
Contact Data tags are used to pull data into your message from a Contact Record or Custom Data associated with a Contact. When a campaign is deployed, the tag is replaced with the data for the specific contact. If no data exists, the tag is replaced and appears blank. The tags can be used in conjunction with template logic tags.
Tags
The following table includes all Contact and Custom Data Tags.
Tag | Alternate | Output | Results |
%%$email%% | %%EMAIL%% | Contact Email Address | john.doe@ mycompany.com |
%%EMAIL_ENCODED%% | Contact Email Address URL Encoded | john.doe%40mycompany.com | |
%%$customer_key%% | Customer Key Unique Contact Identifier. Only available on some systems. | 11293 | |
%%$first%% | %%FIRST%% %%FIRST_NAME%% %%$first_name%% | Contact First Name | John |
%%$last%% | %%LAST%% %%LAST_NAME%% %%$last_name%% | Contact Last Name | Doe |
%%$address_1%% | %%ADDRESS_1%% %%$address%% | Contact Address 1 | 123 Main Street |
%%$address_2%% | %%ADDRESS_2%% | Contact Address 2 | Suite 800 |
%%$city%% | %%CITY%% | Contact City | Seattle |
%%$state%% | %%STATE%% | Contact State | WA |
%%$zip%% | %%ZIP%% | Contact Postal/Zip Code | 98104 |
%%$phone%% | %%PHONE%% | Contact Phone Number | 206-555-1212 |
%%$fax%% | %%FAX%% | Contact Fax | 206-555-2121 |
%%$country%% | %%COUNTRY%% | Contact Country | US |
%%$company%% | %%COMPANY%% | Contact Company | My Company |
%%$md5_email%% | Contact Email in MD5 (message digest) Encryption format | *encrypted 32 character HEX string. New to 9.11.0 release | |
%%$sha1_email%% | Contact Email in SHA1 (Secure Hash Algorithm) Encryption format | *encrypted 40 character HEX string. New to 9.11.0 release | |
%%$customFieldName%% | %%$custom_ customFieldName%% | Contact Custom Data, where "customFieldName" is the name of the field, for Example: %%$age%% %%$custom_age%% | 65 |