Derive Engagement with Rewards Campaigns UI Elements
Last updated
Last updated
As businesses look for new ways to engage with their customers, loyalty programs have become an increasingly popular tool for incentivizing customer behavior and building strong relationships. And when it comes to loyalty programs, few platforms are as robust and effective as Gameball.
With Gameball, businesses can easily create customized rewards campaigns and rewards that encourage customers to engage with their brand and make repeated purchases. And by integrating Gameball into your platform, you can create a seamless loyalty experience that keeps customers coming back for more.
In this article, we'll explore a scenario where you want to motivate your customers to complete their profile details on your platform. We will create a rewards campaign that is linked to an event which you will send once the customer completes his profile. Once gameball receives this event, the customer will be rewarded the rewards campaign automatically.
We will start by creating the event on Gameball. log in to the Gameball dashboard and set up an event to be sent when a customer completes their profile. This event will be used to trigger the rewarding of points or coupons based on your rewards campaign configuration. You can visit this link to add the event, let's assume the event was named profile_completed
.
You will need to configure your backend to send the profile_completed event when a customer completes his profile on your platform. You can check this tutorial for more details on how to send and track your customers actions on your platform.
After creating the event, you can create a new rewards campaign called "Complete Your Profile.". Please follow this tutorial on how to create a custom-event rewards campaign.
After this configuration, if you send profile_completed through the API, the customer will be rewarded with the Profile Completed rewards campaign.
With the rewards campaign and event set up, you can now use the Customer Progress API to track whether a customer has completed their profile. The Customer Progress API allows the client to query a customer's progress towards a particular rewards campaign or set of rewards campaigns, giving them real-time insights into the customer's behavior and motivations.
If the Customer Progress API indicates that the customer has not yet completed the "Complete Your Profile" rewards campaign, the client can use this information to motivate the customer to finish the rewards campaign. For example, they might display a pop-up message or banner on their application that encourages the customer to complete their profile in exchange for points or rewards.
By using the Customer Progress API in this way, the client can create a more personalized and engaging loyalty experience for their customers. And by incentivizing behavior that aligns with their business goals, they can drive increased customer engagement and loyalty over time.
To get the rewards campaign progress for a specific customer , you’ll need to send a GET request to the Gameball API progress endpoint. The endpoint url is:
https://api.gameball.co/api/v3.0/integrations/player/{playerUnqiueId}/progress/challenge/{handle}
Make sure to provide both of the API key and Secret key in the request header
You will replace the {playerUniqueId}
parameter with the current logged in customer's unique id, and the {handle}
can be replaced with the rewards campaign id, you can find it right here:
The API response would contain A single object array of ChallengesProgress
object. Where the rewards campaign progress contains many useful information as achievedCount
attribute which states the number of times the customer was rewarded the rewards campaign.
In your own UI, you can trigger a popup for example if you detect that for this specific rewards campaign, the current customer has achievedCount
of 0, This means that this customer didn’t achieve this rewards campaign yet, so you can motivate them to achieve this rewards campaign to earn its rewards. The rewards object will contain the details of the rewards campaign reward. Refer to the API Reference for more information.
Using the progress API, you can display rewards campaigns to customers directly on your platform. You can show them to motivate customers and show them all the rewards campaigns they have already achieved and also what they can achieve.
you’ll need to send a GET request to the Gameball API progress endpoint. The endpoint url is:
https://api.gameball.co/api/v3.0/integrations/player/{playerUnqiueId}/progress
The response will result in a summarized view of the customer's progress over various gameball programs as VIP tiers and points. For the scope of this tutorial we will only focus on challengesProgress object.
The challengesResponse
will be an array of all of your rewards campaigns, and a summary of the customer's progress on each rewards campaign.
Attribute
Description
completionPercentage
A value between 0 and 1 indicating the current customer's progress in the rewards campaign if it requires multiple actions to be achieved.
achievedCount
The number of times the customer has earned the rewards campaign
challengeConfig
Here is an example using HTML and CSS on how to use the progress API to render your rewards campaigns on your own platform:
Extra details about the rewards campaign configurations. You can find further documentation .