Converting rules into segments
Read time: 1 minute
Last edited: Nov 12, 2024
Overview
This topic explains how convert targeting rules into reusable segments.
Convert rules into segments
You may require complex targeting rules to successfully perform feature launches. You can convert a targeting rule into a reusable standard segment from the flag's Targeting tab.
To convert a rule into a segment:
- In the flags dashboard, scroll or search to find the flag you want.
- Click the flag's name to open the flag's Targeting tab.
- Find the custom targeting rule you want to convert and click the overflow menu. The overflow menu appears.
- Click Convert to segment. The "Convert targeting rule to segment" dialog appears.
- Give your segment a human-readable Name and a Key.
- (Optional) Add a Description.
- (Optional) Select a tag or create a new tag from the Tags menu.
- Click Save segment. A confirmation appears indicating that you've created a new segment.
A new rule targeting the newly created segment appears in the list of targeting rules.