PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
19.7k stars 1.16k forks source link

Feature Request: Allow users to see more than one survey "within the last `n` days" #22965

Open slshults opened 1 month ago

slshults commented 1 month ago

Feature request

Is your feature request related to a problem?

The option "Don't show to users who saw a survey within the last N days.", prevents users from seeing any other surveys

Describe the solution you'd like

An additional option an option for "Don't show to users who saw THIS survey within the last N days".

Use case: We want to run an NPS and CES survey side-by-side, but only want to run each per user every 90 days, but independently of each other. Currently if one shows, the other one would be blocked.

Additional context

From: https://posthoghelp.zendesk.com/agent/tickets/14655

Debug info

Session: https://us.posthog.com/project/sTMFPsFhdP1Ssg/replay/01901347-13a9-756d-8379-f0374126d5d3?t=12 
Admin: http://go/adminOrgEU/0186cac5-3ffb-0000-8ba0-eda804838cba (Project: 3310)
Sentry: http://go/sentryEU/3310
joesaunderson commented 1 month ago

Context, this would allow us to ditch another tool and fully use PostHog for surveys

neilkakkar commented 1 month ago

This is out in beta iirc :) - (@Phanatic can you add Joe to the flag please? - I didn't find this flag, not sure if there's something else remaining here before you want to release this)

joesaunderson commented 1 month ago

This is out in beta iirc :) - (@Phanatic can you add Joe to the flag please? - I didn't find this flag, not sure if there's something else remaining here before you want to release this)

Ah amazing! As usual, you don't disappoint @neilkakkar 👏 look forward to seeing this

joesaunderson commented 1 month ago

@neilkakkar @Phanatic, do you know if this will be enabled in the short term future? Would love to start migrating from Gainsight

Phanatic commented 1 month ago

@joesaunderson what is your organization name? I can add you to the flag.

joesaunderson commented 1 month ago

@joesaunderson what is your organization name? I can add you to the flag.

Thanks! It's "Mention Me", or EU project 3310

Phanatic commented 1 month ago

@joesaunderson I went ahead and enabled this feature for everyone. You should now see a new section under the "completion conditions" of a survey

image

joesaunderson commented 1 month ago

Thanks @Phanatic, this looks really good...

Can I give some early feedback?

  1. I think the title should be "How often should we show this survey (per user)?"
  2. Don't require the "3 times" part to be set, i.e just allow "Repeat this survey every 30 days" without the requirement for a max iteration. This is how we would like to use it i.e. show NPS survey every 90 days, indefinitely.