debugging-surveys
하는 일
이 스킬은 웹과 모바일 앱에서 설문이 나타나지 않거나 응답이 사라지는 등 설문 문제를 진단합니다. 설문 문제를 만나는 개발자와 지원 담당자를 위한 스킬입니다.
사용하는 경우
- ✓설문을 봐야 할 사용자에게 설문이 보이지 않을 때.
- ✓설문의 응답이 예상보다 적거나 일부 응답이 빠졌을 때.
- ✓설문의 일부만 응답되었거나 설문이 잘못된 플랫폼에 나타날 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/surveys/skills/debugging-surveys/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“앱 내 설문이 보여야 하는 사용자에게 나타나지 않는 이유는 무엇인가요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
각 사용자가 대상 설정과 플랫폼 지원 기능 같은 설문의 자격 규칙을 통과하는지 확인합니다. 대부분의 문제는 화면 표시 버그보다 자격 조건 때문이므로, 어떤 조건이 실패했고 왜 실패했는지 찾습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Debugging surveys
PostHog Surveys is a no-code in-app form builder. A customer creates a survey in the PostHog UI; it must then be evaluated and rendered by whichever SDK their app runs. Most "survey not showing" tickets are eligibility problems, not rendering bugs — the SDK correctly decided the user is not eligible, and the job is to find which gate failed and why.
Access requirements
Use PostHog MCP tools or the survey API to inspect survey configuration and responses. A checkout of the PostHog repository is not required for these diagnostic steps.
Cross-SDK feature parity (check this FIRST)
A large class of tickets is "customer expects a feature their platform doesn't support."
Confirm the survey's lib / the customer's platform before anything else, then consult
this table. Verified against the SDK source — re-verify if it's been months, the gaps
get filled over time.
| Feature | Web (posthog-js) | iOS | Android | Flutter | React Native |
|---|---|---|---|---|---|
| Rendering | DOM + shadow root | Native SwiftUI (SurveysWindow) |
No built-in UI — delegate only | Dart widgets (SurveyBottomSheet) |
RN components (SurveyModal) |
| Event-based triggers | yes (since 1.137.0, 2024-06-05) | yes | yes | yes (native side) | yes |
| URL / screen targeting | yes | decoded but NOT evaluated (// TODO) |
decoded but NOT evaluated | NOT evaluated (native gap) | explicitly excluded in filter |
| Feature-flag / cohort targeting | yes | yes | yes | yes (native side) | yes |
seenSurveyWaitPeriodInDays |
yes | yes | yes | yes (native side) | yes (≥ 4.81.5) |
surveyPopupDelaySeconds |
yes | not implemented | not implemented | not implemented | not implemented (TODO) |
enable_partial_responses |
yes (≥ 1.240.0) | no | no | no | no |
skipSubmitButton (auto-submit) |
yes (≥ 1.244.0) | no | no | no | no |
The last two rows are per the editor's own help text ("Doesn't work with the mobile SDKs for now" / "Not available for the mobile SDKs at the moment") rather than a per-SDK source audit.
Consequences worth memorizing:
surveyPopupDelaySecondsis web-only. If a mobile ticket blames the delay, it's a red herring.- Partial responses and auto-submit are web-only too. On mobile a survey always stores one response at the end, and a rating tap never self-submits. Don't carry a web diagnosis onto a mobile ticket.
- URL targeting is effectively web-only. Mobile SDKs decode the field but never enforce it; React Native filters those surveys out entirely. A mobile survey with a URL condition behaves as "no URL condition" (mobile/flutter) or "never shows" (RN).
- Android ships no survey UI. The app (or the Flutter plugin) must provide a
PostHogSurveysDelegate. "Survey never renders on Android" is often a missing delegate, not a PostHog bug. - Flutter is hybrid: triggering/eligibility runs in the native iOS/Android layer; rendering is Dart (
SurveyService.showSurvey→showModalBottomSheet). It does not "just call native" for UI. So a Flutter rendering bug lives in Dart; a Flutter eligibility bug lives in native. - React Native enforces the wait period from 4.81.5. Older versions skip the check, s
자주 묻는 질문
설문이 자주 보이지 않는 이유는 무엇인가요?
보통 대상 규칙이 충족되지 않는 등 SDK가 사용자를 자격 없음으로 판단했기 때문입니다. 화면 표시 버그는 드뭅니다.
모든 플랫폼이 같은 설문 기능을 지원하나요?
아니요. 웹, iOS, Android, Flutter, React Native에 걸친 기능 표가 포함되어 있습니다.
앱의 소스 코드가 필요한가요?
아니요. PostHog 도구와 설문 API를 사용해 설정과 응답을 확인합니다.
상세 정보
작성자의 원본 설명
Diagnose PostHog Surveys configuration and responses across all five SDKs (web/posthog-js, iOS, Android, Flutter, React Native). Use whenever a Surveys support ticket is pasted ("survey not showing", "fewer responses than expected", "responses disappeared", "responses are incomplete", "only the first question was answered", "the user says they didn't mean to submit", "survey shows on wrong platform"), or when diagnosing why a survey does or doesn't display. Covers the eligibility pipeline, how a response actually gets stored (partial responses, branching, optional questions, auto-submit), cros
repo: PostHog/posthog
인기도
- GitHub 스타
- 41k
- 순위
- #6959
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
depot-ci
41k에이전트가 GitHub Actions 대안인 Depot CI 워크플로를 설정하고 실행하도록 돕습니다. 기존 워크플로 이전과 실행 로그 읽기를 포함합니다.
depot-container-builds
41k에이전트가 Depot 원격 빌더에서 Docker 이미지를 빌드하도록 돕습니다. 다중 플랫폼 이미지, 레지스트리 푸시, 빌드 실패 수정을 포함합니다.
depot-github-runners
41k에이전트가 GitHub Actions 작업을 Depot 관리형 러너로 옮기고, 러너 크기와 라벨을 고르도록 돕습니다.
editing-agents-md
41k에이전트가 규칙을 AGENTS.md나 CLAUDE.md 중 어디에 둘지 정하고, 파일을 키우지 않으면서 잘 지켜지도록 쓰게 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.