visitor_id
to the entity Visitor as this is an identifier the Confidence flag SDKs automatically emit.
This means that when you create a rollout
targeting the entity Visitor, Confidence randomizes treatment assignment
based on the visitor_id value in the evaluation context
of the feature flag.
Mark Fields as Non-PII
You can mark context fields as not containing personally identifiable information. When you mark a field as non-PII, Confidence samples the values that your application sends for that field. This helps you in two ways:- Discover field values: See what values your application sends for a field.
- Easier targeting: Get autocomplete suggestions when you create targeting rules.
How Confidence Samples Values
Confidence collects sample values from flag resolution requests for fields marked as non-PII. Confidence only samples values when it detects that a field has low cardinality, which means the field has a limited set of distinct values. For example, fields likecountry, platform,
or subscription_tier are good candidates.
To protect user privacy, Confidence only includes a value in the samples if many users send
that same value. If only a few users send a specific value, Confidence doesn’t sample it because
the value might be specific to those users and could reveal identifying information.
The sampled values appear as autocomplete suggestions when you create targeting rules.
For example, if you mark the country field as non-PII, you see
a list of countries that your application has sent, making it easier to create
targeting rules.
Mark a Field as Non-PII
Go to Confidence
Navigate to Confidence.

