For me, the gamification of activities I need to do on a regular basis works very well. Having streaks for the number of days that I run on the treadmill, or meditate in the morning keeps me motivated to keep going.
The problem for me is when I miss a day for whatever reason, sometimes it takes me a few more days to get the habit working again.
One rule I have adopted is to never skip a habit twice. Having that extra push to not having two days in a row that I have missed helps keep me on track.
This is a feature I think they should fit into the gamification feature in different apps. If you miss one day within some time period the streak keeps going.