Skip to main content

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​

SignalAPI keyFires whenMax points
Activity drop D-7activity_drop_d7activity fell more than 70% week over week, or the user went silent25
Activity drop D-3activity_drop_d3activity fell more than 70% in the last 3 days or the user went silent25
Time on a billing pagebilling_page_timemore than 30 seconds on /billing, /pricing or /upgrade in the last 14 days25
Login decaylogin_decayno activity for more than 3 days25 (stages: >30d=25, >21d=18, >14d=12, >7d=6, >3d=2)
Recurring JS errorsjs_errorsmore than 1 JavaScript error caught by window.onerror in the last 14 days20

The API key column is the exact key the signals object uses in the score response.

The tiers are:

TierScore rangeMeaning
Critical80–100Immediate action required — the user is very likely to cancel soon or already gone.
High60–79Alert weekly. A playbook should engage the user proactively.
Medium40–59A suggested playbook can be sent in the next batch.
Low0–39Healthy — no action is taken.

Where the data comes from​

The SDK auto-captures these events:

EventCaptured from
clickEvery click on the page
scrollScroll depth, throttled to one event per second
form_submitForm submissions
pageviewEvery route change, either from the initial page load or from a call to notifyRouteChange() (your SPA router)
session_start / session_endPage lifecycle, with the elapsed seconds
billing_visitTime spent on /billing, /pricing and /upgrade — the path match is exact (/billing, /billing/x, /billing?x; /checkout and /plan are not matched)
js_errorwindow.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:

  1. The rule evaluates the events.
  2. If the condition is met, it returns a point value.
  3. The points are summed. If the sum exceeds 100, it is capped at 100.
  4. 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.