Awarding loyalty points for sharing a social media post
You can reward your customers with loyalty points for different actions, such as following your company profile on social media or sharing a blog post. We can use custom events to represent those actions.
Let's imagine that we are an outdoor gear brand and want to involve our clients in a campaign to strengthen our brand on social media. To do this, we create a standard campaign to give customers 25 loyalty points if they share one of our posts on a given social network. Customers will only be able to use the points within 14 days of receiving them.
This campaign can be useful to gain visibility and increase sales and customer engagement.
Let's create:
- A custom event to capture the sharing of the social media post.
- A promotion rule to award 25 loyalty points to customers who share the social media post. The points will be valid for 14 days.
- A promotion rule for customers to spend their loyalty points in our online store when their point balance is equal to or greater than the session total.
- A promotion rule for customers to spend their loyalty points in our online store when their point balance is less than the session total.
Create at least one profile-based loyalty program, and the Loyalty feature has to be enabled.
Sharing a social media post
All incoming data in Talon.One is connected to an event. Talon.One provides default events to capture customer profile and session updates.
In our case, we want to capture the action of a customer clicking the Share icon of the social media post.
Because this action is not related to a customer session or profile, we cannot use a default event to capture this action. Let's create a custom event instead:
- Associated entity:
Event
- Event type:
Post sharing
- Attribute type:
Boolean
- API name:
post_sharing
- Rule Builder name:
SM post sharing
- Rule Builder description:
A customer shares a social media post.
- Available in our Application.
When the customer clicks the Share button, the website sends a request to the Track event V2 endpoint.
Awarding loyalty points to customers who share the post
Let's build a rule for our customers to receive a 25 loyalty points if they share the social media post.
Let's name it Points for sharing
. It has one condition and one effect.
Rule 1: Condition
Check for event types and custom event values:
- Event type is
post_sharing
. SM post sharing
isTrue
.
Rule 1: Effect
Add loyalty points:
- We select the loyalty program we have created. Let's imagine that it is called
Social media loyalty
. - Recipient is
Current Customer
. - Reason is
Post sharing
. - Amount of points is
25
. - Reward settings > Reward Expiration is Custom:
14 day(s) after the start date
.
Paying for an entire order with loyalty points
Let's build a rule for our customers to use their loyalty points on new orders in our online store when their loyalty point balance is equal to or greater than the total value of the session.
Let's name it Paying with loyalty points
. It has one condition and one effect.
Rule 2: Condition
Check attribute value: Current balance (Social media loyalty
) is greater than or
equal to Session total (current session)
.
Rule 2: Effect
Discount session total: Name is Pay with points
and Discount value is [Session.Total]
.
Paying part of an order with loyalty points
Let's build a rule for our customers to use their loyalty points on new orders in our online store when their loyalty point balance is less than the total value of the session.
Let's name it Spend loyalty points
. It has one condition and one effect.
Rule 3: Condition
Check attribute value: Current balance (Social media loyalty
) is less than
Session total (current session)
.
Rule 3: Effect
Discount session total: Name is Discount for points
and Discount value is
Current balance (Social media loyalty)
.