@@ -6,9 +6,9 @@ description: Overview of the ConfigCat targeting feature with examples.
6
6
7
7
Targeting allows you to enable or disable a feature for specific users or groups of users in your application. Typical use cases are:
8
8
9
- - Beta testing
10
- - A/B testing
11
- - Phased rollouts, canary releases
9
+ - [ Beta testing] ( ../../glossary#beta-testing )
10
+ - [ A/B testing] ( ../../glossary#ab-testing )
11
+ - [ Phased rollouts, canary releases] ( ../../glossary#canary-release )
12
12
13
13
## How does it work?
14
14
@@ -37,7 +37,8 @@ simplicity because feature flags are the most common type of settings.
37
37
### Targeting Rule
38
38
39
39
A _ Targeting Rule_ consists of a collection of conditions and a value to serve. If the conditions are met (the Targeting
40
- Rule _ matches_ ), the value is served to the user. More about [ Targeting Rules here] ( ../targeting-rule/targeting-rule-overview ) .
40
+ Rule _ matches_ ), the value is served, i.e. returned as the result of the feature flag evaluation. More about
41
+ Targeting Rules [ here] ( ../targeting-rule/targeting-rule-overview ) .
41
42
42
43
### Condition
43
44
@@ -49,7 +50,7 @@ A _condition_ is a logical expression that can be evaluated to true or false. Th
49
50
50
51
_ Percentage Options_ are used to split users into groups that will receive a specific value for the feature flag.
51
52
The groups are allocated based on the ratio of the percentages. Percentage Options are often used for A/B testing or
52
- phased rollouts. More about [ Percentage Options here] ( ../percentage-options ) .
53
+ phased rollouts. More about Percentage Options [ here] ( ../percentage-options ) .
53
54
54
55
### "To all users" / "To all other" / "To unidentified" value
55
56
@@ -63,27 +64,27 @@ value will be returned in case the SDK fails to fetch the config or some other e
63
64
64
65
### User Object
65
66
66
- A _ User Object_ is a collection of _ user attributes_ that describe the properties of a user. Referencing these attributes
67
- in conditions allows you to define rules for targeting users. More about the [ User Object here] ( ../user-object ) .
67
+ A _ User Object_ is a collection of _ user attributes_ that store the properties of a user. Referencing these attributes
68
+ in conditions allows you to define rules for targeting users. More about the User Object [ here] ( ../user-object ) .
68
69
69
70
## Examples
70
71
71
72
### Phased rollout / Canary release / Percentage rollout Scenario
72
73
73
74
#### Context
74
75
75
- Our demo company, Whisker Co. is about to release a new feature called ` Park Weather Info ` . The stakeholders want to make
76
- sure that releasing the new feature will go smoothly and it will be received well by the customers.
76
+ Our demo company, Whisker Co. is about to release a new feature called ** Park Weather Info** . The stakeholders want to make
77
+ sure that the release of the new feature goes smoothly and it is received well by the customers.
77
78
78
79
#### Goal
79
80
80
81
To make sure that the new feature is working as expected before releasing it to everyone, we initially want to make the
81
- feature available to the employees and to ` 20% ` of the customers only.
82
+ feature available to the employees and to 20% of the customers only.
82
83
83
84
#### Solution
84
85
85
- Let's create a feature flag called ` Enable Park Weather Info ` with a Targeting Rule that matches the employees at
86
- Whisker Co. and Percentage Options set to ` 20% ` ` ON ` and ` 80% ` ` OFF ` for the rest of the users (i.e. for the customers).
86
+ Let's create a feature flag called ** Enable Park Weather Info** with a Targeting Rule that matches the employees at
87
+ Whisker Co. and Percentage Options set to ** 20% ON ** and ** 80% OFF** for the rest of the users (i.e. for the customers).
87
88
88
89
Here is what such a feature flag looks like on the Dashboard:
89
90
![ Phased rollout Example] ( ../../static/assets/targeting/targeting-overview/phased-rollout.png )
0 commit comments