Skip to main content

Build whitelists to roll out a feature to internal users

If you want to QA a feature experiment or roll out a feature variation to an internal group of users, using a user whitelist, combined with a targeted delivery rule is one of the easiest ways to achieve this goal.

For example, suppose you want to release a new feature with two variations: Feature A and Feature B. Before launching the experiment, you want to QA its live behavior by showing Feature A to a group of internal users and Feature B to a group of stakeholders. To do this, follow the simple steps below:

  1. Create segments of whitelisted users (group A and B).
  2. Create a targeted delivery rule for each group of users.
note

We do not recommend setting many user IDs (< 20 per variation) as the size of your data file will increase and so will the latency, as the SDK must fetch a bigger file. If you wish to target more users, you can set a custom data attribute for the whole audience (for example, Internal users only) and then target the experience with that audience.

Create a targeted delivery rule for each group of users

  1. Click Activate > Feature flags and edit your feature flag.
  2. Add a new rule and select Targeted delivery.

  1. On the right side of the panel, create a new segment (Group A) and look for the Visitor code condition. Add the user IDs that you want to be part of Group A.

  1. Choose the variation you want to serve, for example, Variation A. All users from Group A will receive Variation A of your flag.

  1. Add a second Targeted delivery rule and replicate the steps for Variation B and Group B.