Habit testing framework skill

Systematic approach to measuring whether your product is forming habits.

by wondelai·MIT license·★ 2,235 Stars on the repo·GitHub ↗

Use now

Files of Habit testing framework

wondelai/main1 file
habit-testing.md
Show the full text226 lines

Habit Testing Framework

Systematic approach to measuring whether your product is forming habits. Based on the 5% rule: if at least 5% of users show unprompted, frequent usage, a habit may be forming.

The Three Questions

1. Who Are Your Habitual Users?

Definition: Users who engage frequently without external prompts.

How to identify:

  1. Define your target frequency (daily, weekly, etc.)
  2. Filter users who meet that frequency
  3. Look for unprompted sessions (not from notifications/emails)
  4. Identify the minimum threshold for "habitual"

Metrics to track:

Metric What It Shows
DAU/MAU ratio Daily engagement rate
Organic session % Sessions without external trigger
Session frequency Times per day/week
Return rate Users who come back within X days
Streak length Consecutive days of usage

Cohort analysis:

  • How does habit formation differ by acquisition channel?
  • By user demographics?
  • By onboarding completion?
  • By feature adoption?
2. What Are They Doing?

Goal: Identify the "Habit Path"—the specific sequence of actions habitual users take.

Method:

  1. Map the journey of your top 5% engaged users
  2. Look for patterns in their behavior
  3. Compare to casual/churned users
  4. Identify the "aha moment" or key action

Common patterns to look for:

Pattern Example
First action "Downloaded app and immediately posted"
Key feature "Used the X feature within first week"
Social action "Connected with 3+ friends"
Investment action "Created first project/content"
Time-of-day pattern "Always uses during morning commute"

The "Aha Moment": Find the action that correlates with retention:

  • Facebook: Adding 7 friends in 10 days
  • Slack: Sending 2,000 team messages
  • Dropbox: Saving 1 file to folder
3. Why Are They Doing It?

Goal: Understand the internal trigger—what emotion or situation drives habitual use.

Research methods:

User interviews (qualitative):

  • "Walk me through the last time you used [product]"
  • "What were you doing right before?"
  • "How were you feeling?"
  • "What would you have done if [product] didn't exist?"

Surveys (quantitative):

  • "What emotion best describes when you typically use [product]?"
  • "What situation usually prompts you to open [product]?"
  • "On a scale of 1-10, how automatic is your usage?"

Behavioral data:

  • Time of day patterns
  • Context signals (location, other apps)
  • Trigger-to-action time (how quickly do they respond?)

The 5% Habitual User Test

Step 1: Define "Habitual"

Choose criteria based on your product:

Product Type Habitual Definition
Social media Daily use, 5+ sessions/day
Productivity tool 3+ uses/week, unprompted
E-commerce Monthly purchase, weekly browse
Fitness app 4+ workouts/week
News app Daily check, 10+ min/session
Step 2: Measure the Population

Calculate what percentage of your user base meets the habitual criteria.

Habitual User Rate = (Habitual Users / Total Active Users) × 100
Rate Status
< 5% Habit not forming
5-15% Emerging habit
15-30% Strong habit formation
> 30% Highly habitual product
Step 3: Analyze the Habitual Cohort

What makes these users different?

Factor Question
Acquisition How did they find you?
Onboarding What did they do in first session?
First week What actions did they take?
Feature use Which features do they use most?
Investment What have they put into the product?
Social Are they connected to other users?
Step 4: Replicate the Behavior

Once you know what habitual users do differently:

  1. Optimize onboarding to encourage those behaviors
  2. Nudge new users toward the Habit Path
  3. Test whether guided users form habits faster
  4. Iterate based on results

Habit Testing Metrics Dashboard

Core Metrics
Metric Formula Target
Habitual User Rate Habitual / Active × 100 > 5%
DAU/MAU Daily Active / Monthly Active > 20%
Organic Session Rate Organic / Total Sessions Increasing
Time to Habit Days from signup to habitual status Decreasing
Habit Path Completion Users completing key actions Increasing
Cohort Analysis

Track these by cohort (week/month of signup):

Metric Week 1 Week 4 Week 12
Retention rate
Habitual user rate
Avg sessions/user
Habit Path completion
Leading Indicators

Early signals that predict habit formation:

Indicator Threshold Why It Matters
First-week return > 3 visits Early engagement predicts retention
Core action completion First session Users who get value stay
Investment made First week Investment = switching cost
Social connection First month Social ties increase retention

When Habits Aren't Forming

Diagnostic Questions
Symptom Possible Cause Investigation
Low 5% rate Weak hook model Audit each phase
High churn after Week 1 Weak first reward Check onboarding experience
Engagement drops after Month 1 Novelty wore off Add reward variability
Users return only with triggers No internal trigger Research user emotions
Power users but low mainstream Too complex Simplify core action
Phase-by-Phase Audit

Trigger issues:

  • Are external triggers effective (CTR, open rates)?
  • Is there a clear internal trigger?
  • Are we prompting at the right time?

Action issues:

  • Is the core action simple enough?
  • Are there friction points?
  • Is motivation sufficient?

Reward issues:

  • Is the reward variable?
  • Does it satisfy the internal trigger?
  • Is it meaningful (not just gamification)?

Investment issues:

  • Are users putting something in?
  • Does investment load the next trigger?
  • Are switching costs building?

Testing Interventions

A/B Test Ideas
Hypothesis Test Success Metric
Earlier investment = higher retention Move investment prompt earlier 30-day retention
Better trigger timing = more engagement Test send times Trigger-to-action rate
Stronger rewards = more returns Increase reward variability Session frequency
Simplified action = more completions Reduce steps Core action completion
Experiment Framework
  1. Identify weakest Hook phase (based on data)
  2. Form hypothesis about improvement
  3. Design small test with clear metric
  4. Run for statistical significance
  5. Implement winner, iterate
1# Habit Testing Framework
2 
3Systematic approach to measuring whether your product is forming habits. Based on the 5% rule: if at least 5% of users show unprompted, frequent usage, a habit may be forming.
4 
5## The Three Questions
6 
7### 1. Who Are Your Habitual Users?
8 
9**Definition:** Users who engage frequently without external prompts.
10 
11**How to identify:**
121. Define your target frequency (daily, weekly, etc.)
132. Filter users who meet that frequency
143. Look for unprompted sessions (not from notifications/emails)
154. Identify the minimum threshold for "habitual"
16 
17**Metrics to track:**
18 
19| Metric | What It Shows |
20|--------|---------------|
21| DAU/MAU ratio | Daily engagement rate |
22| Organic session % | Sessions without external trigger |
23| Session frequency | Times per day/week |
24| Return rate | Users who come back within X days |
25| Streak length | Consecutive days of usage |
26 
27**Cohort analysis:**
28- How does habit formation differ by acquisition channel?
29- By user demographics?
30- By onboarding completion?
31- By feature adoption?
32 
33### 2. What Are They Doing?
34 
35**Goal:** Identify the "Habit Path"—the specific sequence of actions habitual users take.
36 
37**Method:**
381. Map the journey of your top 5% engaged users
392. Look for patterns in their behavior
403. Compare to casual/churned users
414. Identify the "aha moment" or key action
42 
43**Common patterns to look for:**
44 
45| Pattern | Example |
46|---------|---------|
47| First action | "Downloaded app and immediately posted" |
48| Key feature | "Used the X feature within first week" |
49| Social action | "Connected with 3+ friends" |
50| Investment action | "Created first project/content" |
51| Time-of-day pattern | "Always uses during morning commute" |
52 
53**The "Aha Moment":**
54Find the action that correlates with retention:
55- Facebook: Adding 7 friends in 10 days
56- Slack: Sending 2,000 team messages
57- Dropbox: Saving 1 file to folder
58 
59### 3. Why Are They Doing It?
60 
61**Goal:** Understand the internal trigger—what emotion or situation drives habitual use.
62 
63**Research methods:**
64 
65**User interviews (qualitative):**
66- "Walk me through the last time you used [product]"
67- "What were you doing right before?"
68- "How were you feeling?"
69- "What would you have done if [product] didn't exist?"
70 
71**Surveys (quantitative):**
72- "What emotion best describes when you typically use [product]?"
73- "What situation usually prompts you to open [product]?"
74- "On a scale of 1-10, how automatic is your usage?"
75 
76**Behavioral data:**
77- Time of day patterns
78- Context signals (location, other apps)
79- Trigger-to-action time (how quickly do they respond?)
80 
81---
82 
83## The 5% Habitual User Test
84 
85### Step 1: Define "Habitual"
86 
87Choose criteria based on your product:
88 
89| Product Type | Habitual Definition |
90|--------------|---------------------|
91| Social media | Daily use, 5+ sessions/day |
92| Productivity tool | 3+ uses/week, unprompted |
93| E-commerce | Monthly purchase, weekly browse |
94| Fitness app | 4+ workouts/week |
95| News app | Daily check, 10+ min/session |
96 
97### Step 2: Measure the Population
98 
99Calculate what percentage of your user base meets the habitual criteria.
100 
101```
102Habitual User Rate = (Habitual Users / Total Active Users) × 100
103```
104 
105| Rate | Status |
106|------|--------|
107| < 5% | Habit not forming |
108| 5-15% | Emerging habit |
109| 15-30% | Strong habit formation |
110| > 30% | Highly habitual product |
111 
112### Step 3: Analyze the Habitual Cohort
113 
114What makes these users different?
115 
116| Factor | Question |
117|--------|----------|
118| Acquisition | How did they find you? |
119| Onboarding | What did they do in first session? |
120| First week | What actions did they take? |
121| Feature use | Which features do they use most? |
122| Investment | What have they put into the product? |
123| Social | Are they connected to other users? |
124 
125### Step 4: Replicate the Behavior
126 
127Once you know what habitual users do differently:
128 
1291. Optimize onboarding to encourage those behaviors
1302. Nudge new users toward the Habit Path
1313. Test whether guided users form habits faster
1324. Iterate based on results
133 
134---
135 
136## Habit Testing Metrics Dashboard
137 
138### Core Metrics
139 
140| Metric | Formula | Target |
141|--------|---------|--------|
142| Habitual User Rate | Habitual / Active × 100 | > 5% |
143| DAU/MAU | Daily Active / Monthly Active | > 20% |
144| Organic Session Rate | Organic / Total Sessions | Increasing |
145| Time to Habit | Days from signup to habitual status | Decreasing |
146| Habit Path Completion | Users completing key actions | Increasing |
147 
148### Cohort Analysis
149 
150Track these by cohort (week/month of signup):
151 
152| Metric | Week 1 | Week 4 | Week 12 |
153|--------|--------|--------|---------|
154| Retention rate | | | |
155| Habitual user rate | | | |
156| Avg sessions/user | | | |
157| Habit Path completion | | | |
158 
159### Leading Indicators
160 
161Early signals that predict habit formation:
162 
163| Indicator | Threshold | Why It Matters |
164|-----------|-----------|----------------|
165| First-week return | > 3 visits | Early engagement predicts retention |
166| Core action completion | First session | Users who get value stay |
167| Investment made | First week | Investment = switching cost |
168| Social connection | First month | Social ties increase retention |
169 
170---
171 
172## When Habits Aren't Forming
173 
174### Diagnostic Questions
175 
176| Symptom | Possible Cause | Investigation |
177|---------|---------------|---------------|
178| Low 5% rate | Weak hook model | Audit each phase |
179| High churn after Week 1 | Weak first reward | Check onboarding experience |
180| Engagement drops after Month 1 | Novelty wore off | Add reward variability |
181| Users return only with triggers | No internal trigger | Research user emotions |
182| Power users but low mainstream | Too complex | Simplify core action |
183 
184### Phase-by-Phase Audit
185 
186**Trigger issues:**
187- Are external triggers effective (CTR, open rates)?
188- Is there a clear internal trigger?
189- Are we prompting at the right time?
190 
191**Action issues:**
192- Is the core action simple enough?
193- Are there friction points?
194- Is motivation sufficient?
195 
196**Reward issues:**
197- Is the reward variable?
198- Does it satisfy the internal trigger?
199- Is it meaningful (not just gamification)?
200 
201**Investment issues:**
202- Are users putting something in?
203- Does investment load the next trigger?
204- Are switching costs building?
205 
206---
207 
208## Testing Interventions
209 
210### A/B Test Ideas
211 
212| Hypothesis | Test | Success Metric |
213|------------|------|----------------|
214| Earlier investment = higher retention | Move investment prompt earlier | 30-day retention |
215| Better trigger timing = more engagement | Test send times | Trigger-to-action rate |
216| Stronger rewards = more returns | Increase reward variability | Session frequency |
217| Simplified action = more completions | Reduce steps | Core action completion |
218 
219### Experiment Framework
220 
2211. **Identify weakest Hook phase** (based on data)
2222. **Form hypothesis** about improvement
2233. **Design small test** with clear metric
2244. **Run for statistical significance**
2255. **Implement winner, iterate**
226 

Discussion

Alternatives