Smile.io lets you reward for virtually any action your customers do while engaging with your brand. Our platform supports the ability to reward for a variety of standard actions, but sometimes you want to reward for additional custom actions that may be specific to your brand. Good news is, if your system is able to detect when the action occurs, then Smile can reward for it!
Here are some common custom actions we think are great candidates for rewarding:
Blog post visit
Watching a video
Filling out a survey
Voting on new product ideas
How To: Reward for a newsletter subscriptions
1. Navigate to Settings > Developer Tools
2. Click "Build my first custom activity"
3. Fill out the name fields for the custom activity and save
4. Notify Smile that the activity has occurred
Using a backend API call
You can use the Activities endpoint to notify Smile that a given activity has been performed by a customer. To do so, you'll need to extract the activity's token/type from the provided code sample:
The token/type will always start with activity_, followed by a series of letters and numbers. You will then use this value along with the customer's Smile ID to send an API call to the activities endpoint which lets us know the activity has taken place.
5. Setup an earning rule in your program to reward the custom activity
By default, Smile does not issue rewards for new custom activities, so you need to create a new earning rule that specifies how you would like to reward. When selecting what activity you would like to reward for, scroll to the bottom and choose the custom activity you just created.
Once selected, you'll simply configure the earning rule as you would any other, and it will become available as part of your normal program!
You have now created a custom activity!
That's it, you're done! Smile will now automatically issue rewards any time a customer performs the activity you've just setup.