Log urges as they come, whether or not you gave in, and what was going on. After a few, the patterns show when, where and why they hit.

Log an urge

How did it go?
What was going on? (optional)
Where
Doing
With
Feeling
What set it off

Patterns

Log a few more to see patterns (0 of 5).

Log

Nothing logged yet.

How this works

Noticing your patterns is itself a way to change them: writing down each urge makes the next one easier to catch. Log for a week before judging what you see. Everything stays on this device.