This article will teach you how to personalize your email and SMS messages with loyalty variables and Reward loops.
Remember that SMS messages are generally limited to 160 characters. Therefore, using variables in SMS messages, you need to mind the number of characters. Long messages are sent as 2 or more SMS, and telephone operators charge per SMS.
You can access these variables by clicking the "Functions" button during editing a design in the HTML editor or in Message Builder.
Go to "Loyalty fields", select the field you need from the list, and confirm with the "Select" button.
With these variables, described below, you can access data from the "Loyalty" scope.
$loyalty.program$ to insert the name of the loyalty program in your message.
Example : Working with several loyalty programs, you might use a universal footer beginning with the line:
<p>You are receiving this message as a $loyalty.program$ member.</p>
Splio will replace the variable with the name of the program when the message is sent.
You can use
$loyalty.tier$ to show the current tier.
Example : You can highlight the exclusivity of an offer with the tier name:
An offer only for $loyalty.tier$ members! Click here to claim your reward.
(It works very well with tiers named after colors, e.g., Carbon, Bronze, Silver, Gold, and so on.)
Loyarty card code
$Loyalty.cardcode$ reveals the code (number) of the current loyalty card.
Example : You may add it as a reminder in loyalty-related messages, like
<strong>Remember to use your Card Number ($loyalty.cardcode$) when making the purchase!</strong>
You may also consider adding this information in a vignette added to messages involving the program.
With the two variables,
$loyalty.total_nqpoints$, you gain access to the current number of qualifying (Q) and non-qualifying (NQ) points on a loyalty card.
Points expiration date
Splio keeps track of loyalty points and provides you with detailed information which you can then pass to your clients. One such piece of information is the expiration date for a client's NQ points:
$loyalty.expiration_date_nqpoints$ (technically speaking, the points are always tied to a loyalty card, then the card can be tied to a contact or client).
Example : A reminder campaign comes to mind. Send a message to your cardholders to tell them that their points are going to expire on a certain date. You can then offer them rewards which they can claim by using their points. In programs where the expiration date is reset each time cardholders earn points, you can also suggest a way to do so, e.g., by way of exclusive purchase offers.
Points to next tier
$loyalty.qpoints_to_nexttier$ returns the difference between points needed to reach the next tier and the current amount.
Example : This variable lends itself naturally to a type of incentive campaign: you can tell your clients that they're just a few points away from the next tier, then offer them ways to earn these points.
Scroll down in the "Loyalty fields" to access variables for the "Rewards" scope.
These values represent predefined rewards and their detailed information.
You can access the name of a reward by inserting the
$reward.description$ allows you to access the description stored in the database.
This effectively allows you to use the reward description field to hold some of your content in the database and include it in messages.
Reward points value
Each reward has a value in NQ points for each it may be claimed by cardholders. The variable
$reward.nqp_value$ allows you to include it in messages.
Reward expiration date
Once a reward is earned, cardholders have limited time before unclaimed rewards expire. You can display the date when a reward expires with the
Example : Think of a campaign which reminds your cardholders that they have rewards they can burn. The message may list these rewards and when they are going to expire.
Splio gives you a tool to automate the inclusion of rewards data in your messages by using reward loops.
You can find the loops between Loyalty and Rewards variables in "Loyalty fields".
Just like product loops, you can go over rewards in a list, a custom field in your database, or a segment (e.g., filter)
A reward loop with options
This is a slightly changed loop from the image above to showcase the available options.
Explanation : Splio will take all rewards from segment whose ID equals 78 and sort them from the most to the least expensive (
DIRECTION). It will take 6 most expensive items (
LIMIT) and display them as table cells, inserting a
EVERY 3 cells (it separates table rows in the example).
Show all rewards
Reward loops offer a special
AVAILABLE keyword to display all rewards that can be attributed to a card.
Explanation : This loop makes Splio include all available reward names, one per line, into the message.