Distinguishing a skipped survey from a negative response
A user who dismisses a survey without answering is not the same as one who answers negatively — but both look like "no response" in a raw export unless you capture the dismissal explicitly. Instrument the survey component to emit a distinct event when the close icon or "Not now" button is clicked.
Add a dismissal event
Extend your survey component to fire survey_dismissed with the survey ID and the step the user was on:
function onDismiss(surveyId, currentStep) {
analytics.track('survey_dismissed', {
survey_id: surveyId,
onboarding_step: currentStep,
timestamp: new Date().toISOString()
});
}
Distinguish in analysis
Now you can segment three ways:
- Responded: survey_submitted event exists
- Dismissed: survey_dismissed event exists, no survey_submitted
- Never seen: neither event
Worked comparison for the post-onboarding survey
| User | survey_submitted | survey_dismissed | Classification |
|---|---|---|---|
| u_7k9m2p | {score: 4} | — | Responded (positive) |
| u_3x8q9r | {score: 2} | — | Responded (negative) |
| u_2p5m1k | — | {survey_id: "post_onboarding", step: 3} | Dismissed at step 3 |
| u_9m2p7k | — | — | Never seen |
Reusable classification query
SELECT
user_id,
CASE
WHEN submitted.user_id IS NOT NULL THEN 'responded'
WHEN dismissed.user_id IS NOT NULL THEN 'dismissed'
ELSE 'never_seen'
END AS survey_status
FROM users u
LEFT JOIN (
SELECT DISTINCT user_id FROM events WHERE name = 'survey_submitted'
) submitted ON u.id = submitted.user_id
LEFT JOIN (
SELECT DISTINCT user_id FROM events WHERE name = 'survey_dismissed'
) dismissed ON u.id = dismissed.user_id;
Exception: if the survey auto-advances after a timeout, treat that as "dismissed" with a timeout: true property so you can separate passive from active dismissal.
After adding the dismissal event, the "Survey Engagement" funnel shows 62% responded, 28% dismissed, 10% never seen — and the dismissed group clusters at step 3, pinpointing the tour step that feels intrusive.
Related: Onboarding Tours features.
