The Targeting tab lets you determine which users will see each variation of a config.
Prerequisites allow you to control config dependencies in CustomFit.ai. To enable a config you can add a list of configs and their expected values as prerequisites. To delete a prerequisite click on delete button of the respective prerequisite.
To meet a prerequisite, the prerequisite config status must be turned on.
This section allows you to add individual users to a particular variation. To assign a single user to a variation, add the user to the corresponding variation. If your application users are already identified by CustomFit.ai then you will be able to search the users with their
user_id. To remove a particular user from the variation just click on "X" mark on the user name and click on save button at the top of targeting page.
CustomFit.ai allows you to target users based on rules. Each rule has four parts: an property, an operation,user values and the variation to be served. For example, a rule serving for all users with their property
Date of Birth operation
1/1/1960 will be serving variation
A single rule can also have multiple conditions. To add the second condition click on "+" icon beside the first condition. And to satisfy this rule the user must satisfy all the conditions. For example, a rule serving variation
Younger for all the users with their email id
ENDS_WITH gmail.com and country
Similarlly we can have "n" number of conditions in a single rule. To delete a condition click on delete icon of the respective condition.
CustomFit.ai supports following predefined user fields:
lat :12, lon :12
And also CustomFit.ai supports following operation types:
Sub string match
Regular expression match
GREATER_THAN, GREATER_THAN_OR_EQUAL_TO, LESSER_THAN, LESSER_THAN_OR_EQUAL_TO
Once the conditions has been added then we can decide whether the user will be served with one variation or
percentage rollout with several variations.
CustomFit.ai allows you to target users based on custom user properties and user tags based on which the rules will be executed and the variation will be returned. A custom user property and user tag type can be
For example, a rule serving variation one if the user age is
GREATER_THAN 25 and the subscription
IS_ONE_OF premium. In the exampe
age is user custom property of type number and
subscription property is of type string.
If you create a custom user property or tag with the same key as predefined user fields then the custom user property or tag will be ignored during rule evaluation.
Once you've finished setting up the conditions for your rule, you can decide whether the users will receive just one variation of the config, or percentage rollout across several variations.
If you want to serve percentage rollout for a rule then select it from the dropdown and allocate the users accordingly. For example, from the below figure we can say that if email ENDS_WITH
customfit.ai then 50% of the user will receive variation with value
true and the remaining 50% of users will receive variation with value
In percentage rollouts, we can bucket the users based on any predefined user fields or custom user properties/user tags. To bucket the users by a particular field, click on
Advanced option in percentage rollout and select the required field from the dropdown. For example, if we select
Bucket_By as one of the predefined user fields such as COUNTRY then users will be bucketed by the value of their COUNTRY field.
If a user does not fall under any of the above section then the default rule variation will be served. A default rule can serve one variation or multiple variations through percentage rollout.
When the config is turned off then the
off variation will be served to the users. If the config is of a Boolean type then by default false will be set to off variation and for other types by default the last variation(at the time of creation of config) will be set as off variation. We can also customize the off variation based on the needs.
The targeting tab of the config evaluates the rule in the top-down approach. If a user matches multiple rules, then the first matching rule applies to the user. The priorties in the targeting tab are as follows:
Target individual user
For example, in the below figure you can see two rules. The first rule is email
ENDS_WITH gmail.com and the second rule is country
IS_ONE_OF INDIA. If the user matches both the rules then the first rule will take higher priority.
If none of the rules matches and the config is
turned on the Default will take higher priority. And if none of the rules matches and the config is
turned off then off variation will take higher priority