मुख्य सामग्री पर जाएँ
Skillpedia
एनालिसिस और स्प्रेडशीट41k · #6874

analyzing-experiment-session-replays

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

यह स्किल हर प्रयोग वेरिएंट के उपयोगकर्ताओं की रिकॉर्डिंग देखकर उनके व्यवहार में फ़र्क समझती है। यह उन प्रोडक्ट और ग्रोथ टीमों के लिए है जो अपने टेस्ट के आँकड़ों के पीछे की कहानी जानना चाहती हैं।

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

  • ✓जब आप देखना चाहें कि हर प्रयोग वेरिएंट के उपयोगकर्ता कैसा व्यवहार करते हैं।
  • ✓जब आप ऐसी उपयोगिता समस्याएँ खोजना चाहें जो केवल एक वेरिएंट में दिखती हैं।
  • ✓जब आपको चालू किए गए प्रयोग के नतीजों को समझाने के लिए गुणात्मक प्रमाण चाहिए।

Skill का लिंक

https://github.com/PostHog/posthog/blob/master/products/experiments/skills/analyzing-experiment-session-replays/SKILL.md

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

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

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

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

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

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

“मेरे प्राइसिंग प्रयोग के टेस्ट वेरिएंट में उपयोगकर्ता कंट्रोल वेरिएंट की तुलना में कैसा व्यवहार करते हैं, यह दिखाइए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह प्रयोग और उसके वेरिएंट ढूँढती है, फिर हर समूह के सेशन रिकॉर्डिंग देखती है। यह तुलना करती है कि उपयोगकर्ताओं ने क्या किया, और अंतर का सारांश देती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Analyzing experiment session replays

This skill guides you through analyzing session recordings for experiment variants to understand behavioral differences between control and test groups.

When to use this skill

Use this skill when:

  • The user asks to analyze session replays for an experiment
  • The user wants to understand how users behave differently across experiment variants
  • The user asks to compare user behavior between control and test variants
  • The user wants qualitative insights to complement experiment metrics
  • The user asks questions like "How are users behaving in my experiment?" or "Show me session replays for variant X"

Prerequisites

Before analyzing session replays:

  1. The experiment must be launched (not in draft state)
  2. Session replay must be enabled for the project
  3. Users must have been exposed to the experiment variants
  4. The experiment must have a start date

Workflow

1. Get experiment details and feature flag variants

First, retrieve the experiment information and the feature flag variants (source of truth).

Step 1a: Get experiment metadata

You can either:

  • Option A: Use the experiment-get tool if you already have the experiment ID from context
  • Option B: Query the experiments table via HogQL:
SELECT
    e.id,
    e.name,
    f.key AS feature_flag_key,
    e.start_date,
    e.end_date
FROM system.experiments e
JOIN system.feature_flags f ON f.id = e.feature_flag_id
WHERE e.id = <experiment_id>

From the experiment data, extract:

  • feature_flag_key: The feature flag controlling the experiment
  • start_date and end_date: The experiment's time range

Step 1b: Get variants from the feature flag

IMPORTANT: Always get variants from the feature flag, NOT from experiment.parameters.feature_flag_variants. The parameters can be out of sync or deprecated. The feature flag is the source of truth.

Query the feature flag to get the current variants:

SELECT filters.multivariate.variants AS variants
FROM system.feature_flags
WHERE key = '<feature_flag_key>'

Select the variants path directly — selecting the whole filters object gets truncated in results for flags with large targeting configs. Example structure: [{"key": "control", "name": "Control", "rollout_percentage": 50}, {"key": "test", ...}]

The variant key values (e.g., "control", "test", "variant_a") are what you'll use to filter session recordings.

2. Build session recording filters for each variant

For each variant in the experiment, construct recording filters that match users exposed to that variant.

Filter structure for a variant (input to query-session-recordings-list):

{
  "date_from": "<experiment.start_date>",
  "date_to": "<experiment.end_date or current time>",
  "filter_test_accounts": true,
  "properties": [
    {
      "type": "event",
      "key": "$feature/<feature_flag_key>",
      "operator": "exact",
      "value": ["<variant_key>"]
    }
  ]
}

Key points:

  • The $feature/<flag_key> event property records the flag's value on each event — filtering on it matches recordings where the flag was active with that variant. This is an approximation of exposure, broader than the experiment's exposure event ($feature_flag_called, or $experiment_exposure on the new rollout — both deduped per identity): right for browsing behavior across variants, but not an exact mirror of the analysis population — the scanning-experiments-with-replay-vision skill derives that exact filter when you need it
  • value is an array of variant key strings (e.g. ["control"]); for boolean flags use ["true"] or ["false"]
  • Avoid the type: "flag" / flag_evaluates_to property filter for variant scoping — the recordings query accepts it but silently ignores it, returning unfiltered results (last verified 2026-06-10). If you want to try it anyway, verify it actually filters first: a query with a nonexistent flag key should return zero recordings
  • Set the date range to the experiment's start and end dates
  • Enable filter_test_accounts: true to exclude test users

3. Retrieve recordings for each variant

Use the query-session-recordings-list tool with the filters constructed in step 2.

Call the tool once per variant to get recordings for each group:

  • Variant "control" → recordings for control group
  • Variant "test" → recordings for test variant
  • Additional variants if the experiment has more than 2

The tool retur

अक्सर पूछे जाने वाले सवाल

प्रयोग का चालू होना क्यों ज़रूरी है?

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

क्या मुझे सेशन रीप्ले चालू चाहिए?

हाँ। यह काम करने से पहले प्रोजेक्ट के लिए सेशन रीप्ले चालू होना चाहिए।

क्या यह प्रयोग के मेट्रिक्स की जगह लेती है?

नहीं। यह आँकड़ों को समझाने के लिए गुणात्मक जानकारी जोड़ती है।

जानकारी

लेखक का मूल विवरण

Analyze session replay patterns across experiment variants to understand user behavior differences. Use when the user wants to see how users interact with different experiment variants, identify usability issues, compare behavior patterns between control and test groups, or get qualitative insights to complement quantitative experiment results. Also covers pairing the observed behavior with a linked survey when the user wants qualitative feedback beyond what recordings show.

repo: PostHog/posthog

लोकप्रियता

GitHub स्टार
41k
रैंकिंग में स्थान
#6874
लाइसेंस
—
अपडेट की गई
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