The Earnware contact record is robust and hosts a wide array of standard fields and accepts any and all contact fields on the fly.
Custom Fields
Simply post or import your contact(s) with your desired field and it will be added to the contact record automatically.
Custom fields are case sensitive and will follow whatever capitalization pattern you imported it with.
Example…
Contact Field Name | Merge Code | Example in Email |
---|---|---|
zodiacSign | [zodiacSign] | Your sign is [zodiacSign] |
ZodiacSign | [ZodiacSign] | Your sign is [ZodiacSign] |
zodiacsign | [zodiacsign] | Your sign is [zodiacsign] |
ZODIACSIGN | [ZODIACSIGN] | Your sign is [ZODIACSIGN] |
Default Fields – Standard In Every Contact Record
Standard Data Fields | Merge Code |
---|---|
Email Address | [email] |
Contact ID | [contactId] |
Source ID | [sourceId] |
Campaign ID | [campaignId] |
First Name | [firstName] |
Last Name | [lastName] |
Phone Number | [phone] |
Cell Number | [cell] |
Fax Number | [fax] |
Address Line 1 | [addressLine1] |
Address Line 2 | [addressLine2] |
Default Values
If contacts in your email do not have any value associated with a field you want to use, consider adding a default value which will populate the field if there’s no field value for the contact record.
Inside your the merge code for the desired field, add a default value like this: [field, default value]
Example:
Adding the merge code [firstName, My Friend] will populate the field with “My Friend” if firstName is not present in the contact record.
Dynamic Date / Time Merge Codes
Useful for busting cache and adding dynamic dates:
Merge Code | Example Output |
---|---|
[date,,date:MM/DD/YYYY] | 04/29/2025 |
[date,,date:dddd, M/DD] | Monday, 4/29 |
[date,,date:dddd, MMMM D, YYYY] | Monday, April 29, 2025 |
[date,,date:YYYYMMDD] | 20250429 |
[date,,date:MM-DD-YYYY] | 04-29-2025 |
Example URL:
https://your-website.com/landing-page?utm_content=newsletter&date=[date,,date:M/DD/YYYY]
Unsubscribe Link Merge Code
Here’s a common Unsubscribe footer link, complete with merge codes, to be used if you embed it directly into the HTML source code of your template:
Intended for: [email] <a href=”[unsubscribe, https://www.InsertYourDomainHere.com/unsubscribed]”>Unsubscribe</a>