Merge Codes & How to use them?

To insert member-specific data, use the following syntax, replacing FieldName with the name of the field value you'd like to insert: {{FieldName}}

To insert member-specific data, use the following syntax, replacing FieldName with the name of the field value you'd like to insert:

{{FieldName}}

For example, if your brand has a profile field called FirstName, and you would like to use it in the body of a mailing campaign, you would insert   {{FirstName}} . When your campaign is sent the value of that field will be inserted into the message for each member when it is sent.  If a member does not have a value in the field, no value will be added to the campaign.

Field names are case insensitive, meaning {{firstname}} and {{FirstName}} will both be recognized and have the same result.

 

Other commonly used profile field names include:

  • {{LastName}}
  • {{EmailAddress}}
  • {{Birthdate}}
  • {{Anniversary}}

Profile field merge codes can be used in any member-specific contexts.  This includes:

  •  HTML & Text versions of a mailing campaign.
  • The subject line of a mailing campaign. 

Commonly Used Member Merge Codes

 
  Content
Merge Code
Member Details FirstName {{FirstName}}
LastName {{LastName}}
EmailAddress {{EmailAddress}}

Store Links

The values that render for Store Links Merge codes can be modified and updated under  Settings-->Brands & Stores--> Edit Store--> Links

GiftCard {{Store.GiftCardUrl}}
Menu {{Store.MenuUrl}}
Online Ordering {{Store.OrderingUrl}}
Reservations {{Store.ReservationUrl}}

Store Socials

The values that render for Store Social Merge codes can be modified and updated under  Settings-->Brands & Stores--> Edit Store--> Socials

Yelp {{Store.YelpPage}}
Facebook {{Store.FacebookPage}}
Twitter {{Store.TwitterPage}}
Instagram {{Store.InstagramPage}}

Store Details

 

The values that render for Store Detail Merge codes can be modified and updated under  Settings-->Brands & Stores--> Edit Store--> Details

Store Website {{Store.Website}}
Store Name {{Store.Name}}
Address 1 {{Store.MailingAddress1}}
Address 2 {{Store.MailingAddress2}}
Store Mailing City {{Store.MailingCity}}
Store State {{Store.MailingState}}
Store Zip {{Store.MailingPostalCode}}

 

The values that render for Store Merge codes can be modified and updated under  Settings-->Brands & Stores--> Edit Store

  1. Details

Expiration date:

{{printDate('offset', 'format')}}

e.g.
This offer expires on   {{printDate('+7 days', 'm/d/Y')}} .

Offset value examples:

-7 days

+1 week

+14 days

+1 month

first day of this month

last day of this month

first day of next month

Format info:

Most commonly used date formats using example of January 2 2023:

n/j/y

1/2/23

m/d/Y

01/02/2023 

n/j/Y

1/2/2023 

F j

January 2

F j, Y

January 2, 2023

d/m/Y

02/01/2023 (UK)

j/n/Y

2/1/2023 (UK)