본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)41k · #6959

debugging-surveys

하는 일

이 스킬은 웹과 모바일 앱에서 설문이 나타나지 않거나 응답이 사라지는 등 설문 문제를 진단합니다. 설문 문제를 만나는 개발자와 지원 담당자를 위한 스킬입니다.

사용하는 경우

  • ✓설문을 봐야 할 사용자에게 설문이 보이지 않을 때.
  • ✓설문의 응답이 예상보다 적거나 일부 응답이 빠졌을 때.
  • ✓설문의 일부만 응답되었거나 설문이 잘못된 플랫폼에 나타날 때.

스킬 링크

https://github.com/PostHog/posthog/blob/master/products/surveys/skills/debugging-surveys/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/products/surveys/skills/debugging-surveys/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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:

  • surveyPopupDelaySeconds is 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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬