PostHog / PostHog/posthog

Series of surveys, display survey Y after the survey X is shown

Open
#25,565 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature/surveys
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
7h 27m
Merged PRs (30d)
222

Description

Feature request

Is your feature request related to a problem?

We want to serve a series of surveys to users i.e.

  1. NPS survey
  2. 60 days later, CES survey
  3. 30 days later, NPS survey again
  4. Repeat

Describe the solution you'd like

The ability to target a user, based on when they last saw another survey i.e. user last saw survey X at least 60 days ago

Describe alternatives you've considered

Building the logic on our side, and passing it a user metadata... messy.

Additional context

N/A

Debug info
- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating the survey targeting and survey-display history areas, then determine how a user's last exposure to another survey can be represented and queried. Done means users can be targeted based on when they last saw a specified survey and the requested survey sequence can be configured.

Written by the indexing model from the issue text.

Assessment

Domain
analytics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.