Introduction
A leaderboard campaign is a dynamic and engaging feature that ranks users based on their performance or achievements within a specific context, such as points earned, purchases made, or tasks completed. It encourages healthy competition among users, driving participation and motivating them to strive for the top positions on the leaderboard. This gamified approach enhances user engagement and fosters a sense of community within your platform.
Examples includes:
- Top referrals leaderboard: To reward the top 10 advocates who have done most number of successful referrals.
- Top orders leaderboard: To reward the top 20 users who have placed maximum number of orders in 3 month
Integration flow
- Setup leaderboard campaign with a tracking event
- Send the tracking event to rehook platform whenever user completes an intended action your application
- Show the leaderboard table on your application UI
APIs required
API Name | Purpose | API doc link |
---|---|---|
Trigger event API | To send the leaderboard tracking event like 'order_placed' | https://docs.rehook.ai/reference/trigger-event |
Get leaderboard | To fetch the leaderboard details of a given leaderboard campaign to show it on leaderboard UI on your application | https://docs.rehook.ai/reference/get-leaderboard |