Merge tags allow Advocate to populate your program’s transactional emails with dynamic information about:
Your participants
Rewards they earn
People they refer
Personal share links and message links


Merge tags require having information about an Advocate user, reward, or referral to populate correctly. A merge tag field will remain blank if there is no information to pull in.
Example: A user with no populated name fields will see the sentence as "{{user.firstName}} {{user.lastName}}
, you’ve earned a reward!", which will render as " , you’ve earned a reward!"
When sending a test email using the Email Editor, any merge tags within that email will not be populated. The tags will appear exactly as they were entered in the Email Editor. This is because the test emails sent from the Email Editor are intended for testing the appearance of program emails across various email platforms. To test whether the merge tags are populating as intended, create a test user and referral, and move your test user through your Advocate program goals.
A single error can prevent all merge tags in an email from working. Here's how to fix the two most common problems:
Check for Typos
A single misspelled or broken merge tag can break all the others. Use the below list of available merge tags to verify that the merge tags used in your program emails match.
Match the Formatting
If you import an email from another platform, their merge tags might be formatted differently. You must update any imported tags to match the below-listed format, before you launch.
Merge tag | Description | Example |
---|---|---|
| The first name of the participant viewing the email. |
|
| The last name of the participant viewing the email. |
|
| The participant's referral code. | Your personal referral code is |
| Use this tag to reference any participant information that you’ve included as a custom field. This example shows a merge that populates with the name of the company for which the participant works. | Share your referral information with your colleagues at |
Merge tag | Description | Example |
---|---|---|
| The value of the reward in a formatted manner (e.g., $15.00). | Get |
| The unit of the reward (e.g., Point or Month). | You’ve received a |
| The name of the reward as seen in the Reward Catalog. | Congratulations on your reward of |
| The date that the reward was fulfilled. The date format is adjustable. | You earned a |
| The date that the reward will expire, if an expiry has been set in your program rules. The date format is adjustable. | You earned a |
| The fuel tank reward code, if you are using this feature. | Use code |
Merge tag | Description | Example |
---|---|---|
| The first name of the customer advocate who made the referral. |
|
| The last name of the customer advocate who made the referral. |
|
| The first name of the referred friend. |
|
| The last name of the referred friend. |
|
Merge tag | Description | Example |
---|---|---|
| Generates the message link that is sent out in referral emails. | Share via |
| The participant’s main share link. This shows up as | Provide this share link to your friends: |
| The participant's message link for Facebook. | Share on |
| The participant's message link for Facebook Messenger. | Share on |
| The participant's message link for X (twitter). | Share on |
| The participant's message link for LinkedIn. | Share on |
| The participant's message link for texting. | Share via |