मुख्य सामग्री पर जाएँ
Skillpedia
डिप्लॉय और क्लाउड (DevOps)41k · #6959

debugging-surveys

यह क्या करती है

यह स्किल सर्वे की समस्याओं का निदान करती है, जैसे सर्वे का न दिखना या जवाब गायब होना, वेब और मोबाइल ऐप में। यह उन डेवलपर्स और सपोर्ट स्टाफ़ के लिए है जिन्हें सर्वे की समस्याएँ आती हैं।

कब इस्तेमाल करें

  • ✓जब कोई सर्वे उन उपयोगकर्ताओं को न दिखे जिन्हें उसे देखना चाहिए।
  • ✓जब किसी सर्वे के जवाब अपेक्षा से कम हों, या कुछ जवाब गायब हों।
  • ✓जब सर्वे का केवल एक हिस्सा भरा गया हो, या सर्वे गलत प्लेटफ़ॉर्म पर दिखे।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/PostHog/posthog/blob/master/products/surveys/skills/debugging-surveys/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरा इन-ऐप सर्वे उन उपयोगकर्ताओं को क्यों नहीं दिख रहा जिन्हें दिखना चाहिए?”

हर हफ़्ते 5 नई skills, 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
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

depot-ci

41k

यह आपके एजेंट को Depot CI वर्कफ़्लो सेट अप करने, चलाने और माइग्रेट करने में मदद करती है, साथ ही रन के लॉग पढ़ने में।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

depot-container-builds

41k

यह आपके एजेंट को Depot के रिमोट बिल्डर पर Docker इमेज बनाने में मदद करती है, जिसमें मल्टी-प्लेटफ़ॉर्म इमेज और बिल्ड सुधार शामिल हैं।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

depot-github-runners

41k

यह आपके एजेंट को GitHub Actions जॉब Depot के मैनेज्ड रनर पर ले जाने, रनर का साइज़ और लेबल चुनने, और रनर सेटअप की समस्याएँ ठीक करने में मदद करती है।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

editing-agents-md

41k

यह आपके एजेंट को तय करने में मदद करती है कि कोई नियम AGENTS.md या CLAUDE.md में जाए या नहीं, और उसे ऐसे लिखे कि फ़ाइल भारी न हो।

AI और एजेंटएजेंट

मिलती-जुलती skills