Sub topic 12
Tracking whether the cue works
This chapter assumes you have already chosen a cue (a time, a place, or a preceding action) and written it as an if-then plan. It also assumes you know the cue, routine, reward loop. Here you will learn how to check, with a simple log, whether the cue is doing its job. Fixing a failing cue comes in the next chapter. This chapter covers collecting the evidence.
Why one number is not enough
Most people track habits with a single question: "Did I do it today?" That gives you a completion rate, such as 5 out of 7 days. The number is easy to record, but it hides the reason for a miss. A habit can fail in two different ways:
- The cue did not occur. You were away from the kitchen table, you skipped breakfast, or the alarm never rang. The plan was never triggered, so the plan itself had no chance to work.
- The cue occurred, but the habit did not follow. You sat at the desk and did something else. The cue was present and the link between cue and behavior failed.
These two failures call for different repairs. If the cue rarely occurs, the cue is unstable and you should look for another one. If the cue occurs but the habit does not follow, the cue may be fine and the problem may lie in the behavior (too large, too vague, or too unpleasant) or in how the plan is worded. A single completion rate cannot tell them apart.
So you track two things for each day:
- Cue occurrence: did the situation named in your plan actually happen?
- Habit completion: did you do the routine?
From these you compute two rates.
| Measure | Formula | What it tells you |
|---|---|---|
| Cue reliability | days the cue occurred ÷ days observed | How stable the cue is in your real routine |
| Follow-through | days the habit was done ÷ days the cue occurred | How well the cue triggers the behavior once it appears |
Cue reliability connects to the stability criteria you met earlier (reliability, frequency, distinctiveness). Follow-through measures the strength of the link between the cue and the routine.
Where each day falls
Each day lands in one of three states, as the diagram shows.
A fourth case exists: the habit happens even though the cue did not occur. For example, you write at 9 p.m. when your plan said 7:30 a.m. Record this as a cue miss with the habit done. Do not count it as a success for the plan. The behavior happened, but it was not triggered by the cue you are testing. If it happens often, it may be a sign that a different cue works better for you.
A one-week log
The log can be a paper table, a spreadsheet, or a short script. Whatever you use, record the same fields each day. The Python example below uses a list of dictionaries, one per day.
log = [
{"day": "Mon", "cue_occurred": True, "habit_done": True},
{"day": "Tue", "cue_occurred": True, "habit_done": True},
{"day": "Wed", "cue_occurred": False, "habit_done": False},
{"day": "Thu", "cue_occurred": True, "habit_done": False},
{"day": "Fri", "cue_occurred": True, "habit_done": True},
{"day": "Sat", "cue_occurred": True, "habit_done": True},
{"day": "Sun", "cue_occurred": True, "habit_done": True},
]
occurred = [d for d in log if d["cue_occurred"]]
follow_through = sum(d["habit_done"] for d in occurred) / len(occurred)
print(f"Cue occurred on {len(occurred)} of {len(log)} days")
print(f"Habit followed the cue {follow_through:.0%} of the time")Running it prints:
Cue occurred on 6 of 7 days
Habit followed the cue 83% of the timeRead the week this way. Wednesday is a cue miss: the cue never occurred, so the habit had no trigger. Thursday is a follow-through miss: the cue occurred and the habit still did not happen. The six days when the cue occurred give five completions, which is 83%. A plain completion count would say 5 of 7, or 71%, and would blame both misses on the same cause.
Notice that the script divides by the days the cue occurred, not by all seven days. This matters. If you divided by seven, Wednesday would lower your follow-through even though the cue never gave the habit a chance.
Reading the two rates together
The two rates form four common patterns. Use the table to see what each pattern suggests.
| Cue reliability | Follow-through | Reading | Likely next step |
|---|---|---|---|
| High | High | The cue works | Keep it. Do not change anything |
| High | Low | Cue is stable, link is weak | Examine the behavior and the wording of the plan |
| Low | High | Habit follows when cued, but cue is unreliable | Look for a more stable cue |
| Low | Low | Both problems, or the plan does not fit your life | Fix the cue first, then recheck |
Treat these as signs and not as verdicts. They point to where to look first. The next chapter covers how to revise a cue once you know which problem you have.
Why "cue occurred" needs a clear definition
The log is only as good as the yes or no you write in the cue column. Decide in advance what counts as the cue occurring. Vague definitions create noise.
Compare these for the plan "If I pour my morning coffee, then I will take my vitamin":
- Vague: "I had coffee." This could mean coffee at a café at 11 a.m., where the vitamin is not within reach.
- Clear: "I poured coffee at home, in the morning, before leaving."
For a time cue such as "7:30 a.m. on a weekday," decide whether 7:50 still counts. A reasonable rule is a window, for example within 30 minutes of the stated time. Write the window down before you start, so you do not adjust it later to flatter the results.
For a place cue, decide what counts as being in the place. Sitting at the desk counts, and walking past it does not.
Also decide which days are in scope. If the plan says "on a weekday," weekends are not observations. Leave them out of both counts. If you include them, you will see cue misses that your plan never promised to cover.
How long to track
A week is enough to see a first pattern, but it is a small sample. One bad day moves the percentages a lot: with seven days, a single miss changes follow-through by about 14 points. Two to four weeks gives a steadier picture. A useful routine is:
- Track for two weeks without changing anything.
- Compute cue reliability and follow-through.
- Change one thing, if needed.
- Track for another two weeks and compare.
Change only one thing at a time. If you switch the cue and shorten the behavior together, you will not know which change helped.
Early days also tend to look different from later ones. A new habit often has lower follow-through in the first days and improves as the link forms. Compare the last week of a period with the first, rather than relying only on the overall average.
Computing rates over longer periods
With more days, a short script helps. This version handles a longer log, separates the two rates, and counts the two kinds of miss.
def summarize(log):
total = len(log)
occurred = [d for d in log if d["cue_occurred"]]
cue_misses = total - len(occurred)
followed = sum(d["habit_done"] for d in occurred)
follow_through_misses = len(occurred) - followed
reliability = len(occurred) / total if total else 0.0
follow_through = followed / len(occurred) if occurred else 0.0
return {
"days": total,
"cue_reliability": reliability,
"follow_through": follow_through,
"cue_misses": cue_misses,
"follow_through_misses": follow_through_misses,
}
week = [
{"day": "Mon", "cue_occurred": True, "habit_done": True},
{"day": "Tue", "cue_occurred": True, "habit_done": True},
{"day": "Wed", "cue_occurred": False, "habit_done": False},
{"day": "Thu", "cue_occurred": True, "habit_done": False},
{"day": "Fri", "cue_occurred": True, "habit_done": True},
]
result = summarize(week)
print(f"Cue reliability: {result['cue_reliability']:.0%}")
print(f"Follow-through: {result['follow_through']:.0%}")
print(f"Cue misses: {result['cue_misses']}")
print(f"Follow-through misses: {result['follow_through_misses']}")The function guards against dividing by zero. If the cue never occurred in the period, follow-through has no meaning, and the code returns 0.0 rather than failing. In that case, treat the result as "no data" and not as "0% follow-through."
Common tracking errors
- Logging after the fact from memory. Recall is biased toward the days that went well. Record the entry at the end of the day, or right after the cue window passes.
- Counting the habit when the cue did not occur. This inflates the plan's apparent success, as described earlier.
- Changing the definition mid-way. If you widen the time window after a bad week, the comparison between weeks is no longer valid.
- Tracking too many things. Two yes or no fields per day are enough. Extra fields, such as mood or effort, are optional and can make the log harder to keep up.
- Treating the log as a score. The log is a measuring instrument. A cue miss is information about the cue, not a personal failing.
Exercises
Exercise
Over 10 weekdays, your cue occurred on 8 days, and you did the habit on 6 of those 8 days. On one of the 2 days when the cue did not occur, you also did the habit later in the evening. What are the cue reliability and follow-through, and how should the evening day be recorded?
Show answer
Cue reliability is 8 ÷ 10 = 80%. Follow-through is 6 ÷ 8 = 75%. The evening day is a cue miss with the habit done. It does not add to follow-through, because follow-through counts only days when the cue occurred. It may suggest the evening is a more workable time, which you can note for the next revision.
Exercise
Your log shows 95% cue reliability and 40% follow-through. Should you replace the cue? Explain.
Show answer
Probably not. The cue occurs almost every day, so it is stable. The weak part is the link between the cue and the behavior. Look at the behavior (is it too large or unpleasant?) and at the wording of the plan before changing the cue.
Exercise
Why does the follow-through formula divide by the days the cue occurred and not by all days observed?
Show answer
Follow-through measures what happens when the cue is present. Days without the cue give the habit no trigger, so counting them would mix cue instability into a number meant to show the strength of the cue-to-behavior link.