posthog icon indicating copy to clipboard operation
posthog copied to clipboard

Target users & groups in same feature flag

Open joesaunderson opened this issue 7 months ago • 5 comments

Feature request

Is your feature request related to a problem?

We are a B2B business using PostHog to release a feature for our product, we are using group analytics as recommended in the PostHog docs.

I want to be able to release a feature to my users and I might want to do this in a few different ways:

  • A specific list of users - (possible)
  • A specific list of "merchants" (a group type) - (possible)
  • A specific list of users AND merchants - (not possible)

The last point is not possible, feature flags can only be released to users OR groups, not both.

Describe the solution you'd like

A way to mix and match release criteria to target both... ultimately it all boils down to users, so if we can't do exactly the above, some sort of "user is part of group X" selector instead.

Describe alternatives you've considered

  • Don't use group analytics, put everything on the person (seems flawed)
  • Use a different feature flagging solution

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]

joesaunderson avatar Jun 05 '25 10:06 joesaunderson

+1 https://posthoghelp.zendesk.com/agent/tickets/35111

ordehi avatar Jul 30 '25 20:07 ordehi

+1 https://posthoghelp.zendesk.com/agent/tickets/36736

ordehi avatar Aug 27 '25 15:08 ordehi

+1 https://app.buildbetter.app/calls/469490

sachinr avatar Oct 08 '25 23:10 sachinr

This is basically our only blocker to fully onboarding feature flags to our posthog instance

mattbrandman avatar Nov 11 '25 17:11 mattbrandman

+1 https://posthoghelp.zendesk.com/agent/tickets/44644

slshults avatar Dec 09 '25 20:12 slshults