Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Event property filters for cohort creation #11142

Closed
joethreepwood opened this issue Aug 4, 2022 · 5 comments
Closed

Feature: Event property filters for cohort creation #11142

joethreepwood opened this issue Aug 4, 2022 · 5 comments
Labels
enhancement New feature or request feature/cohorts Feature Tag: Cohorts feature/property-filters Feature Tag: Property filters

Comments

@joethreepwood
Copy link
Contributor

Is your feature request related to a problem?

Currently, you can't use filters when creating a cohort directly. So, for example, if I want to create a cohort of our FOSS users then this isn't possible through PostHog. I'd need to use the organization event and filter by the product property (product = open source) on it. That's not possible using the cohort tool, because I can't use filters -- only events, person properties, etc. Not event properties.

Screenshot 2022-08-04 at 12 11 18

Feels like this massively limits the potential of creating cohorts directly,

Describe the solution you'd like

Filters available for cohort creation.

Describe alternatives you've considered

One way that was suggested to overcome this was to create an insight looking at the event property, then click the datapoint in the insight and create a cohort from there.

Screenshot 2022-08-04 at 12 20 49

However, even if you choose to group the data by week or month, clicking a data point and creating a cohort from there only creates a cohort based on the day, So, I end up with a cohort of 20ish people, rather than 1,200ish people.

Additional context

Thank you for your feature request – we love each and every one!

@joethreepwood joethreepwood added the enhancement New feature or request label Aug 4, 2022
@macobo macobo changed the title Feature: Filters for cohort creation Feature: Event property filters for cohort creation Aug 4, 2022
@macobo macobo added feature/cohorts Feature Tag: Cohorts feature/property-filters Feature Tag: Property filters labels Aug 4, 2022
@deleted-user-179803281019

Any updates on this?

@juancferrer
Copy link

Would love to have this feature as well.
We have users with many "subscriptions".

I want to create a cohort for users that have the subscription created event, with the event property labeled zipcode with value being 90210.

Let me know if there's any alternative way of doing the above.

@neilkakkar
Copy link
Contributor

Hey @juancferrer you can do this today by creating an action (Data management -> action -> new) and then using the action in the cohort

@juancferrer
Copy link

@neilkakkar Thanks for the quick reply
I tried your suggestion, and it worked as expected. I was able to create a cohort for users that have an event + event property. As you suggested, the key was to create a new "action".

As an aside, it turns out that a cohort with "behavioral" filters (actions?) can NOT be used in AB tests / experiments, so we're still researching on how to do that.

@neilkakkar
Copy link
Contributor

Indeed. The best way around that for now is to create a property for your person that is set when that event happens, and then use that property in the flag/experiment.

@joethreepwood joethreepwood closed this as not planned Won't fix, can't repro, duplicate, stale Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature/cohorts Feature Tag: Cohorts feature/property-filters Feature Tag: Property filters
Projects
Development

No branches or pull requests

5 participants