‘Streaks’ track how many consecutive days a user performs a particular action or activity. It can be used for positive reinforcement that encourages consistent behavior.
With Cogniss Behavior, you can use Streaks to reward users based on their daily engagement—whether it’s completing an activity or performing another action. You can define the logic to track repeated actions and trigger outcomes like awarding XP, unlocking badges, or other in-app rewards.
To set it up, simply define the number of consecutive days the action must be completed, and then link it to the reward or result you want users to receive. It’s a powerful tool to drive motivation, reinforce engagement, and create a stronger sense of achievement.
Example use cases
1. Daily Meditation Streak
In a wellness app, you can to encourage users to build a habit of daily meditation.
Using the Streaks behavior, you can set the logic to track when a user completes the "Daily Meditation" activity. If the user completes the activity 3 days in a row, they unlock the “3-Day Mindful” badge and/or earn 50 XP.
If they maintain the streak for 7 consecutive days, they receive a “One Week Zen” badge and/or an additional 100 XP.
This setup encourages users to return each day, reinforcing their habit and rewarding consistency with meaningful achievements.
2. Workout consistency
Reward users for completing a daily workout or movement activity, helping build long-term fitness habits and encouraging daily exercise.
3. Health monitoring
Support users with chronic conditions by encouraging them to log daily health metrics such as blood pressure, glucose levels, or weight.
4. Nutrition tracking
Promote healthy eating habits by tracking users who consistently log their meals or daily food intake over a streak of days.
How to Set Up a Streak-Based Behavior
Open your project in Creator
From the left menu, navigate to Behaviors.
Click + Create new (or select an existing behavior to edit).
Under Triggers, configure the following:
Type:
Request
Model: Select based on your specific use case
Operation: Choose the appropriate operation for your needs
For more details, see [Behaviors Overview].
In the Simple Criteria section, configure the streak logic:
Type:
STREAK
Model: Choose the action to track (e.g.,
Activity completion
)Count: Set the minimum number of completions required per day
Day Streak: Define the number of consecutive days needed to trigger the result
Add a Result (e.g., reward XP, unlock badge, etc.).
Click Save to apply your changes.
Example:
If you want users to complete a check-in twice a day for 5 consecutive days:
Set Count = 2
Set Day Streak = 5
If the user misses a day or completes the activity only once, the streak resets to 0.
For more information about Behaviors, you can check the Behavior Overview Article
ℹ️ Need help?
If you're not sure how to set up a Streak behavior in your project or want help designing a reward system, feel free to contact our support team.