> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/feature-management-experimentation/management-and-administration/tags.md).

# Tags

Use tags to organize and manage your [feature flags](/feature-management-experimentation/new-to-fme/get-started/create-a-feature-flag.md), [segments](/feature-management-experimentation/use-fme/feature-management/targeting/segments.md), [metrics](/feature-management-experimentation/new-to-fme/get-started/create-a-metric.md), and [experiments](/feature-management-experimentation/new-to-fme/get-started/create-an-experiment.md) in Harness FME. Tags can represent a particular team or feature release, e.g., *reporting team*, *front end*, or *geo search release*.

Harness recommends creating tags that are specific to your workflow. For example:

| Category                       | Description                                                                         | Example tags                                                   |
| ------------------------------ | ----------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| By team                        | Identify the responsible team.                                                      | `front end`, `infrastructure`, `web`, `mobile`                 |
| By feature release             | Group flags associated with a specific release.                                     | `reporting`, `new permissioning`, `contact database migration` |
| By feature flag type           | Categorize flags related to paywalls or whether they're permanent or temporary.     | `paywall`, `permanent`, `temporary`                            |
| By experiment purpose or scope | Group experiments related to onboarding, checkout flows, or other test initiatives. | `onboarding`, `checkout`, `retention-test`                     |

### Adding tags <a href="#adding-tags" id="adding-tags"></a>

You can add tags to feature flags, segments, metrics, and experiments. Tag names are case sensitive, and tags are shared across projects. The process is similar across all FME objects, but the UI controls differ slightly.

Allowed characters for tag names include the following:

* Letters: `a-z`, `A-Z`
* Numbers: `0-9`
* Separators: `-`, `_`, `:`

{% tabs %}
{% tab title="Feature Flags" %}

1. Navigate to the **Feature Flags** page in Harness FME and select a feature flag.
2. Click the **Gear** icon next to the feature flag title and select **Edit details**.

   ![](/files/tpbURfLHJKD2sGJxsNNV)
3. In the **Tags** field of the side panel, select an existing tag or enter a tag name.

   ![](/files/BqnmNBMTfxWSK6zF4i35)
4. Click **Save**.
   {% endtab %}

{% tab title="Experiments" %}

1. Navigate to the **Experiments** page in Harness FME and select an experiment.
2. Click **Edit experiment** next to **Settings**.

   ![](/files/1pqw1Tgfz3pPoTvBhxQ4)
3. In the **Tags** field of the side panel, select an existing tag or enter a tag name.

   ![](/files/68eQeymYVTD2a8Eee8qG)
4. Click **Update**.
   {% endtab %}

{% tab title="Segments" %}

1. Navigate to the **Segments** page in Harness FME and select a segment.
2. Click the **Edit** icon next to the **Tags** field under the segment name.
3. Select an existing tag or enter a tag name.

   ![](/files/LZ5nUerAsIWr63q1GK0Q)
4. Click **Apply**.
   {% endtab %}

{% tab title="Metrics" %}

1. Navigate to the **Metrics** page in Harness FME and select a metric.
2. Click the **Edit** icon next to the **Tags** field under the metric name.
3. Select an existing tag or enter a tag name.

   ![](/files/dsekY6DmrZtzmAU1Wyi3)
4. Click **Apply**.
   {% endtab %}
   {% endtabs %}

### Removing tags <a href="#removing-tags" id="removing-tags"></a>

You can remove tags from any feature flag, segment, metric, or experiment.

{% tabs %}
{% tab title="Feature Flags" %}

1. Navigate to the **Feature Flags** page in Harness FME and select a feature flag.
2. Click the **Gear** icon next to the feature flag title and select **Edit details**.

   ![](/files/tpbURfLHJKD2sGJxsNNV)
3. In the **Tags** field of the side panel, delete individual tags or click **X** to remove all.

   ![](/files/BqnmNBMTfxWSK6zF4i35)
4. Click **Save**.
   {% endtab %}

{% tab title="Experiments" %}

1. Navigate to the **Experiments** page in Harness FME and select an experiment.
2. Click **Edit experiment** next to **Settings**.

   ![](/files/1pqw1Tgfz3pPoTvBhxQ4)
3. In the **Tags** field of the side panel, delete individual tags or click **X** to remove all.

   ![](/files/68eQeymYVTD2a8Eee8qG)
4. Click **Update**.
   {% endtab %}

{% tab title="Segments" %}

1. Navigate to the **Segments** page in Harness FME and select a segment.
2. Click the **Edit** icon next to the **Tags** field under the segment name.
3. Delete individual tags.

   ![](/files/LZ5nUerAsIWr63q1GK0Q)
4. Click **Apply**.
   {% endtab %}

{% tab title="Metrics" %}

1. Navigate to the **Metrics** page in Harness FME and select a metric.
2. Click the **Edit** icon next to the **Tags** field under the metric name.
3. Delete individual tags.

   ![](/files/dsekY6DmrZtzmAU1Wyi3)
4. Click **Apply**.
   {% endtab %}
   {% endtabs %}

### Filtering by tags <a href="#filtering-by-tags" id="filtering-by-tags"></a>

Use tags to narrow feature flags, segments, metrics, or experiments to only the objects that match one or more tags.

{% tabs %}
{% tab title="Feature Flags" %}

1. Navigate to the **Feature Flags** page in Harness FME.
2. In the list view, click **Filter** under the **Search** tab and select **Tag**.

   ![](/files/abo85S6YgEdBJtxLWtR1)
3. Select one or more tags to filter the list.
   {% endtab %}

{% tab title="Experiments" %}

1. Navigate to the **Experiments** page in Harness FME.
2. Click **Search by tags** and select one or more tags to filter the list.

   ![](/files/5rafz6G22GRA29vNi1mK)
   {% endtab %}

{% tab title="Segments" %}

1. Navigate to the **Segments** page in Harness FME.
2. In the list view, click **Filter** under the **Search** tab and select **Tags**.

   ![](/files/r1NmRYEmY7XnVizdq5kL)
3. Select one or more tags to filter the list.
   {% endtab %}

{% tab title="Metrics" %}

1. Navigate to the **Metrics** page in Harness FME.
2. In the list view, click **Filter** under the **Search** tab and select **Tags**.

   ![](/files/qaxSanUjfVK4TgBoBaiS)
3. Select one or more tags to filter the list.
   {% endtab %}
   {% endtabs %}
