Daily rewards are one of the oldest retention tricks in apps: open the app, claim something, come back tomorrow. They are also easy to get wrong. Users find ways to claim twice, streaks break because of time zones, and the "deal of the day" quietly costs more than it earns.
Here is a practical way to build daily rewards deals and bonus reward points that hold up in production.
1. Define the day on the server, in the user's time zone
A "day" is not midnight UTC. Store each user's time zone and compute the reward day on the server:
-- reward_day is a DATE in the user's local time zone SELECT (now() AT TIME ZONE u.tz)::date AS reward_day FROM users u WHERE u.id = $1; Never trust the client clock. Phones are set to the wrong date more often than you would think, sometimes on purpose.
2. Make claiming idempotent
Use a unique constraint so a double tap, a retry or a race condition can only ever create one claim:
CREATE TABLE daily_claims ( user_id BIGINT NOT NULL, reward_day DATE NOT NULL, points INT NOT NULL, created_at TIMESTAMPTZ DEFAULT now(), PRIMARY KEY (user_id, reward_day) ); Insert with ON CONFLICT DO NOTHING and return the existing row if the claim already happened. The ledger credit should be written in the same transaction.
3. Streaks should forgive, not punish
Hard streak resets are the fastest way to make users quit. A common pattern is one free "freeze" per week, or decaying the streak by a few days instead of dropping it to zero. Derive the streak from daily_claims so you can change the rules later without migrations.
4. Separate bonus points from real money
If your program has both cashback and points, keep them as different balance types in the ledger. Bonus reward points from daily claims usually carry an expiry date; cashback from a real purchase should not. Mixing them makes support tickets painful and accounting worse.
5. Tie the best rewards to real actions
Daily check in rewards drive opens, not revenue. The higher value rewards should be attached to actions that matter: a purchase, a referral, a verified product scan. Product based cashback programs such as Assured Rewards do this by putting a unique QR code on each pack, so the reward is earned only when a genuine product is bought and scanned.
6. Watch the unit economics
Track cost per active user per day and the lift in purchases from users who claim versus those who do not. If daily rewards deals only increase app opens, cap them and move the budget to purchase linked rewards.
Wrapping up
A good daily rewards system is mostly boring engineering: server side dates, idempotent writes, a clean ledger and rules you can tune. Get those right and you can experiment freely with the fun parts.
How do you handle streaks and time zones in your apps? Share in the comments.

