The scoring model
The score is the sum of every signal that fired, capped at 100. A higher score means a higher risk of churn.
The score is computed on demand (GET /v1/users/:userId/score) and by a cron worker that runs every 30 minutes. Both use the same rule set — the same score should appear whether you request it or receive it in an alert.
The five signals
| Signal | API key | Fires when | Max points |
|---|---|---|---|
| Activity drop D-7 | activity_drop_d7 | activity fell more than 70% week over week, or the user went silent | 25 |
| Activity drop D-3 | activity_drop_d3 | activity fell more than 70% in the last 3 days or the user went silent | 25 |
| Time on a billing page | billing_page_time | more than 30 seconds on /billing, /pricing or /upgrade in the last 14 days | 25 |
| Login decay | login_decay | no activity for more than 3 days | 25 (stages: >30d=25, >21d=18, >14d=12, >7d=6, >3d=2) |
| Recurring JS errors | js_errors | more than 1 JavaScript error caught by window.onerror in the last 14 days | 20 |
The API key column is the exact key the signals object uses in the score response.
The tiers are:
| Tier | Score range | Meaning |
|---|---|---|
| Critical | 80–100 | Immediate action required — the user is very likely to cancel soon or already gone. |
| High | 60–79 | Alert weekly. A playbook should engage the user proactively. |
| Medium | 40–59 | A suggested playbook can be sent in the next batch. |
| Low | 0–39 | Healthy — no action is taken. |
Where the data comes from
The SDK auto-captures these events:
| Event | Captured from |
|---|---|
click | Every click on the page |
scroll | Scroll depth, throttled to one event per second |
form_submit | Form submissions |
pageview | Every route change, either from the initial page load or from a call to notifyRouteChange() (your SPA router) |
session_start / session_end | Page lifecycle, with the elapsed seconds |
billing_visit | Time spent on /billing, /pricing and /upgrade — the path match is exact (/billing, /billing/x, /billing?x; /checkout and /plan are not matched) |
js_error | window.onerror and unhandledrejection, with the message, source, line and column |
Billing time is visible time only — the clock pauses while the tab is hidden.
The SDK does not capture keystrokes, form field values, or anything beyond the events above. The only things it sends beyond those are the events you call track() with yourself.
How a score is built
The backend fetches events for a user in a 90‑day window — long enough for the login-decay rule to see the silence. The billing-page and JS-error rules then cut that down to their own 14‑day window, because a burst of errors from two months ago says nothing about how the account feels now. For each rule:
- The rule evaluates the events.
- If the condition is met, it returns a point value.
- The points are summed. If the sum exceeds 100, it is capped at 100.
- The tier is computed from the final score.
The SDK runs client‑side. The scoring runs server‑side in the NoChurn backend. An SDK event is an observation — the score is a computed judgement.
Signals that are NOT implemented (yet)
The product roadmap includes seven more signals. They are not yet in the scoring engine and will be added when there is demand:
- Account age (modifiers — younger accounts multiply the churn signal)
- NPS or CSAT score
- Unused Pro features
- Open support tickets
- Plan‑limit warnings
- Email engagement decay
- Payment failures
The score is honest about what it measures.
Why the score can be 100
The maximum score (100) is reached when a user goes completely silent and has spent >10 minutes on a billing page and has 10+ JavaScript errors and has been inactive for >30 days. That is uncommon, but it happens — and the tier is critical precisely because all four dimensions are aligned against the customer relationship.