No results for ""
EXPAND ALL
  • Home
  • API docs

GIVE DOCS FEEDBACK

Target with flags

Read time: 2 minutes
Last edited: Mar 11, 2024

Overview

This category explains how to use a flag's Targeting tab to control which of your customers receive a variation of a feature flag, based on their context. Configuring which contexts receive which variation of a flag is referred to as a flag's targeting.

To learn more about how your application and LaunchDarkly SDKs work together to serve feature flag variations, read LaunchDarkly's architecture.

Using the Targeting tab

The Targeting tab uses the language of targeted "contexts." Contexts are people, services, machines, or other resources that encounter feature flags in your product. You can target end users of your application, devices, systems, organizations, or anything else that can be uniquely identified.

You can use the Targeting tab to release features to segments, individuals, or mobile apps and devices. You can also release features based on custom rules you create. You can even set expiration dates for flag targeting if you know you only want customers to receive a flag for a specific period of time.

Here is an image of a flag's Targeting tab:

The "Targeting" tab of a feature flag.
The "Targeting" tab of a feature flag.
Migration flags are different

Migration flags show different information on their Targeting tabs than feature flags do. A migration flag's Targeting tab shows information about the migration's health and the cohorts it is targeted to. To learn more, read Migration flags.

Here are the topics in this category:

  • Targeting rules
  • Percentage rollouts
  • Individual targeting
  • Bulk targeting
  • Flag prerequisites