Announcing: ⏫︎ Points Levels!
Hello Product Hunt!
Charlie here, co-founder of Trophy. Since we launched Trophy 1.0 back in Jan we've been continuing to ship new features to Trophy, and March was no exception. One of the biggest updates was the addition of points levels so I thought I'd take the time to share that with you here.
What are points levels?
Trophy helps you build complex points systems for gamification purposes without coding. Think of features like XP, Gems and Energy. You define custom logic to award points to users based on different user interactions.
A common part of these features is a levels system. These are often tied to other features like leaderboards to create leagues, and linked to rewards to create progression paths.
So with the addition of points levels, you can now define discrete thresholds within your Trophy points systems and Trophy will take care of assigning the correct level to each user based on their current points total as it changes.
How do I create points levels?
The points page in the Trophy dashboard now has a new tab for creating levels.

Badges can be assigned to each level, and updating thresholds can be done from the dashboard without changing any code.
How do I display levels in my application?
We've added new APIs to support fetching levels and thresholds from Trophy to support powering UI elements within web and mobile apps.
// Fetch all levels and current thresholds
const response = await trophy.points.levels("xp");
// Fetch level summary data (levels + user counts in each)
const response = await trophy.points.levelSummary("xp")
// Fetch users's points (including current level)
const response = await trophy.users.points("user-id", "xp");
How do I monitor levels usage?
We've added new analytics charts to track the balance of your levels system and inform adjustments that may need to be made to ensure fairness:

How do I power workflows based on level changes?
We've also added a new `points.level_changed` webhook. This allows your endpoints to receive events from Trophy whenever a users level changes for the purposes of sending custom notifications or rewards to users, controlling feature usage or literally anything else.
---
For more info on how levels work, check out the official Trophy documentation.
We're super excited to see the types of experiences that you build with points levels, and it's now generally available on all Trophy plans.
Thanks for reading!
Charlie



Replies