Last month, we gave you some ideas for building milestone emails, and this month we’ll show you how you can implement these ideas in the emfluence Marketing Platform.
We are going to utilize custom variables to assign the personalized values throughout the email. The first step is creating and naming these variables:
Once we have defined custom fields, they can be populated with our data.
With custom fields populated, we can now add the variables to the email that will pull in these numbers!
<span class="headline">Nice work, $$firstName!</span><br/>
<br/>
<span class="headline">$$custom84</span><br/>
<span>Total points earned this month</span><br/>
<br/>
<span>You're $$custom85 points away from your next reward!
</span>
In order to display the correct badges, we set the file name to match the custom field, then assigned custom variables to pull in the badges.
<table align="center" border="0" cellpadding="3" cellspacing="0" width="100%">
<tr>
<td align="center">
<img alt="" border="0" src="https://emailer.emfluence.com/clients/emfluence/uploadedfiles/2020/tip-of-the-month/milestones/badges/badge-$$custom89.png"/>
</td>
<td align="center">
<img alt="" border="0" src="https://emailer.emfluence.com/clients/emfluence/uploadedfiles/2020/tip-of-the-month/milestones/badges/badge-$$custom90.png"/></td>
<td align="center">
<img alt="" border="0" src="https://emailer.emfluence.com/clients/emfluence/uploadedfiles/2020/tip-of-the-month/milestones/badges/badge-$$custom91.png"/>/td>
</tr>
</table>
Milestone emails are a great way to deliver personalized content that engages customers. Having the data available to you can be the hardest part, so now is the time to consider how you could utilize milestone emails in the future!