Default Email Merge Fields
Merge fields are a great way to easily customise email templates to give your campaign a personal touch.
Adding Merge Fields to a Message
It's handy to know the standard merge fields and what they mean, however adding the merge fields within the message has never been easier! Simply type # into the message editor, start typing the merge field you'd like to pull the data for, and select it from the drop-down list to the right.
Below are the standard email merge fields that can be used across all Raisely campaigns:
Donation Variables
donation.createdAt
The full date string of the donation date in UTCdonation.id
The transaction ID of the donation
(useful for receipt numbers)donation.amount
The total donation amount
( excluding the Raisely fee if the donor opted-in)donation.total
The total donation amount
( including the Raisely fee if the donor opted-in)donation.fee
The total Raisely fee if the donor opted-indonation.currency
The donor's currencydonation.currencySymbol
The donor's currency symbol
(e.g., $, £, or €)donation.firstName
The donor's first name
- Note: the donor's name will be hidden if the donor selected to give anonymously. use{{reveal donation.firstName}}
to ensure the donor's name always populatesdonation.lastName
The donor's last name
- Note: the donor's name will be hidden if the donor selected to give anonymously. use{{reveal donation.lastName}}
to ensure the donor's name always populatesdonation.email
The donor's email address
Campaign Variables
campaign.path
The campaign ID
(useful for forming your campaign's URL)campaign.name
The campaign name
(this automatically updates if you edit your campaign name!)campaign.currency
The campaign's default currencycampaign.goal
The campaign's fundraising goal
(this is often used in the website, however, it can be helpful to include this in the messages sent out to engage and inspire your donors)
User Variables
user.firstName
The user's first nameuser.lastName
The user's last nameuser.email
The user's email addressuser.address1
The first line of the user's addressuser.address2
The second line of the user's addressuser.postcode
The user's postcode or IP numberuser.state
The user's stateuser.country
The user's countryuser.createdAt
The user was created at this time
Profile Variables
profile.name
The name on the profileprofile.path
The unique url path chosen for the profile(to create a full URL to a profile you would use{{campaign.url}}/{{profile.path}}
)profile.total
The amount raised by the profileprofile.goal
The amount goal the profile owner has setprofile.totalPercent
An integer representing the % of the goal achieved
(can be more than 100, eg 50, 100, 110)profile.exerciseTotal
The number of meters of exercise logged by the profileprofile.exerciseTotalTime
The number of minutes of exercise logged
Regular Donation Variables
subscription.interval
The amount of time between regular donations
(can be "DAY", "WEEK", "MONTH", or "YEAR")subscription.count
The number of intervals between each regular donation
(e.g., the "1" in "1 WEEK")subscription.amount
The total amount of each regular donation
( excluding the Raisely fee)subscription.total
The total amount of each regular donation
( including the Raisely fee)subscription.fee
The total Raisely fee if the donor opted-insubscription.nextPayment
The date of the next regular donationsubscription.schedule
Combinessubscription.count
andsubscription.interval
to show the donation frequency in an easy-to-read format
(e.g., The#{{subscription.schedule}}
for a monthly donation will show1 MONTH
)subscription.currency
The regular donation's currencysubscription.currencySymbol
The regular donation's currency symbol
📝 Note: remember to surround the fields with curly brackets in your template, like this: {{dataType.fieldId}}
Anonymous Donations
To prevent accidentally revealing the details of a private donor, emails automatically anonymise this information.
But if you want to show those details (say, when you're sending an email to the donor themselves), you can use reveal
:
<code>Thank you {{reveal donation.firstName}} for your donation!
Feel confident using these merge fields and are looking for more? Check out our Advanced Email Merge Fields article for even more ways to personalise your emails.
Have questions? Contact us!