:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(signals): check dead-click streams for device input before claiming frustration (#115597)
posthog[bot]154b7ede9a73
diff --git a/products/signals/skills/signals-scout-session-replay/SKILL.md b/products/signals/skills/signals-scout-session-replay/SKILL.mdindex 05d5de591864..ec2214241332 100644--- a/products/signals/skills/signals-scout-session-replay/SKILL.md+++ b/products/signals/skills/signals-scout-session-replay/SKILL.md@@ -171,17 +171,18 @@ Before any per-URL deep dive, normalize against the whole stream: if total `$rag### Profile shape — what the combinations mean-| Pattern | What it usually means |-| ----------------------------------------------------------------------- | -------------------------------------------------------------------------- |-| Recordings cliff, traffic steady, no config edit | Recorder broke — SDK release, blocked script, quota — investigate first |-| Recordings cliff, traffic steady, Team config edit near the cliff | Deliberate sampling/settings change — context, hygiene at most |-| Recordings and traffic cliff together | Site traffic issue, not a replay issue — out of scope, leave it |-| One URL's rage-click rate steps far above its own baseline | Friction cluster — find the element, corroborate, report |-| Rage clicks rise proportionally everywhere with traffic | Baseline — leave it alone |-| Sessions failing the same way on one page (errors after click) | Broken experience cohort — corroborate against error tracking, then report |-| One person generating most of a URL's friction | Single-user storm — not a product finding; note and move on |-| Vision scanner enabled but observations mostly failed / quota exhausted | Silent watch gap — the team thinks they're watching; they aren't (P3) |-| Same friction theme recurring across scanner outputs on many sessions | Aggregation finding — the per-session scanner can't see it; you can |+| Pattern | What it usually means |+| ------------------------------------------------------------------------------ | -------------------------------------------------------------------------- |+| Recordings cliff, traffic steady, no config edit | Recorder broke — SDK release, blocked script, quota — investigate first |+| Recordings cliff, traffic steady, Team config edit near the cliff | Deliberate sampling/settings change — context, hygiene at most |+| Recordings and traffic cliff together | Site traffic issue, not a replay issue — out of scope, leave it |+| One URL's rage-click rate steps far above its own baseline | Friction cluster — find the element, corroborate, report |+| Rage clicks rise proportionally everywhere with traffic | Baseline — leave it alone |+| Sessions failing the same way on one page (errors after click) | Broken experience cohort — corroborate against error tracking, then report |+| One person generating most of a URL's friction | Single-user storm — not a product finding; note and move on |+| Steady dead clicks on one unchanged element, no `$rageclick`, one device class | Possible device input noise — run the human-input check before any claim |+| Vision scanner enabled but observations mostly failed / quota exhausted | Silent watch gap — the team thinks they're watching; they aren't (P3) |+| Same friction theme recurring across scanner outputs on many sessions | Aggregation finding — the per-session scanner can't see it; you can |### Explore@@ -219,6 +220,38 @@ Then corroborate and illustrate:- If the heatmaps tools are available, `heatmaps-list` (`type: "rageclick"`, `url_exact` or a `url_pattern` covering the path) confirms the spatial cluster — read the `fold` summary and top points only; `heatmaps-events` names the sessions behind a hotspot. Skip without comment if absent.- Deep-link 2–3 example sessions: collect `$session_id`s from the rage-click events and fetch via `query-session-recordings-list` (`session_ids`, matching `date_from`), ordering by `console_error_count` or `activity_score` to shortlist the ones worth watching.+**Human-input check — dead clicks are not frustration until a person is shown.**+A device can produce sustained taps on content that never changes (touch-screen noise, a stuck input, a kiosk), and that stream looks like a recurring dead-click problem.+Do this check before you attribute a dead-click cluster to users:++- Do not read cadence from `$dead_click`. posthog-js drops a dead-click candidate when the same element already has a queued candidate less than 1 s old. Fast taps on one element thus arrive as about one `$dead_click` per second, whatever the real rate. A regular ~1 s interval comes from this filter, not from the person.+- Read raw cadence and context from the cluster's sessions instead (the `$session_id`s on the cluster's `$dead_click` events):++```sql+SELECT properties.$session_id AS session_id,+ properties.$device_type AS device_type, properties.$os AS os,+ countIf(event = '$autocapture') AS clicks,+ uniqIf(toStartOfMinute(timestamp), event = '$autocapture') AS click_minutes,+ uniqIf(elements_chain, event = '$autocapture') AS click_targets,+ countIf(event = '$rageclick') AS rageclicks,+ countIf(event = '$pageview') AS pageviews,+ dateDiff('second', min(timestamp), max(timestamp)) AS span_s+FROM events+WHERE properties.$session_id IN (<session ids>)+ AND timestamp >= now() - INTERVAL 1 DAY+ AND ((event = '$autocapture' AND properties.$event_type = 'click')+ OR event IN ('$rageclick', '$pageview'))+GROUP BY session_id, device_type, os+ORDER BY clicks DESC+LIMIT 20+```++- `click_minutes` against `span_s / 60` shows the burst shape: bursts leave most minutes empty, steady input fills almost every minute.+- Human repeated clicks: bursts that stop, other targets and pageviews between bursts, `$rageclick` on the same sessions, errors after click or quick-backs, spread across device types.+- Device noise: input that continues for minutes at a steady rate on one or two targets, no `$rageclick`, no navigation, and concentration on one device type or OS (for example, tablets only).+- When the device pattern holds, or you cannot tell, do not claim user frustration and do not propose a UI fix. Write a `pattern:` memory with the device split. If the stream is wide enough to matter, file it as an investigation lead with `actionability=requires_human_input`: name the open question (device or person), and ask for a watch of one recording.+- Do not apply a fixed click-rate cutoff. Tap rates differ by device and by surface, so judge the whole pattern above.+The finding: name the URL and element, quantify the step (baseline vs current rate, sessions, persons), date the onset, link example recordings. New-page caveat: a URL with no history can't have a step-change — first sighting of a hot new page is a `pattern:` memory, not a report, unless the friction is extreme and corroborated.#### Broken-experience cohort@@ -333,6 +366,7 @@ Nearly everything this scout reads originates in end-user browsers: URLs, elemen- **Internal/test/dev traffic** — localhost, staging hosts, employee-only paths. `noise:` entry, exclude from queries once known.- **Exception volume per se** — error spikes without the interaction angle belong to the error-tracking scout. Your claim is always anchored in session evidence.- **Mixing platform baselines** — mobile SDK recordings have different mechanics; judge web and mobile separately.+- **Dead-click streams that fail the human-input check** — steady input on unchanged content with no `$rageclick`, no navigation, and one device class is a lead about input, not evidence of frustration.- **Dead-click data where dead-click capture is off** — `$dead_click` is opt-in; zero under that config is config, not health.- **`session_replay_features` absence as evidence** — rows exist only for recorded sessions; missing rows mean sampling or lag, never "friction stopped".