Go to website
Managing and configuring Segments
Is there a way to control who gets a feature flag by percentage?
Yes. To do this you would create a Segment with a percentage split rule. From there you can set a Segment Override to enable or disable the flag for that percentage split segment. More details on implementing percentage splits here: https://docs.flagsmith.com/staged-feature-rollouts/#creating-staged-rollouts
How does the % Split work?
The way the % split works is as follows: Every Identity/Segment combination is combined and then hashed, and a floating point value between 0.0 and 1.0 is generated from this hash. This value is then evaluated against the "% Split" rule.
Can I create user groups based on user emails and enable feature flags to only few specific user groups?
Yes, you can use Segments to do exactly that. More information on Segments here: https://docs.flagsmith.com/managing-segments/
How can I check which users belongs to which Segment?
That's not possible right now. We have this feature in the backlog. You can view a user and see which segments they are in but not the other way around.
Do identity overrides take precedence over segment overrides?
Yes, they do. The order of precedence is: Identity Segment Flag
Can I put a Segment inside a Segment?
No, this cannot be done today. It is on our future roadmap, but is often better solved with Multivariate Flags, which is being launched in Q1 2021.
Is there a way to combine two conditions with 'AND' for Segments?
Yes, in create New Segment of Edit Segment, you can add or remove 'AND' conditions with the 'Add AND Condition' button.
Does the % split segment feature work for non-identified users?
No, it does not. If you have anonymous users and you want to use the % split you will need to provide a unique key for them and store it on the client somehow (depending on what platform you are targeting). They will be using the environment defaults.
What happens if I have the same user that is attached to two segments and have an opposite config on the same feature?
You can control the priority of the Segment Overrides by dragging the segments up and down in the Segment Overrides portion of the Feature Editing page. Highest on the list will get priority in case of a conflict.
Does Flagsmith allow me to incorporate user segmentation data (eg from mixpanel) to deploy flags based on user attributes?
We do offer the ability to target users based on pre-defined Segments. We call the list of users ""identities"". You can read more about it here: https://docs.flagsmith.com/managing-identities/ In terms of third parties, we have a built in integration with Amplitude (similar platform to Mixpanel), and with Segment if that is your CDP.
Can I view all the users in a segment?
This isn't possible at the moment. It is in the backlog, however.
When using a segment with "% split", would changing the value affect existing users?
The segment % split value will not change for an individual identity, so for example if someone is in a 10% split they will also be in an 11%, 20% or 80% split. Every Identity/Segment combination is combined and then hashed, and a floating point value between 0.0 and 1.0 is generated from this hash. This value is then evaluated against the "% Split" rule. So that number wont change for an Identity/Segment combination. Each Identity gets assigned a float between 0.0 and 1.0. So if the Identity
Will a segment override work if the feature is toggled off?
Yes, a segment override will work regardless of whether the feature is toggled on or off.
If a segment is 'off' what does that mean?
Q) If a segment is 'off' what does that mean? I am using the segments to override the default value. A) Any segments associated with a flag marked as 'off' will override the flag state for any Identities that are members of that segment and set the flag to 'off'.