Segmentation
Targeting widgets with profile data.
Segmentation allows you to target specific groups of users. Each widget's payload includes a segmentation rule, which is evaluated against your user's profile data. If a user's profile meets the segmentation rule criteria, the widget is displayed.
Key requirements for segmentation
Reflection of available user data
Segmentation rules are evaluated against profile data you supply through the SDK. Use consistent attribute names and types (see example below) so rules match the values you send at init or via updateProfileData.
Example: Available user data
This example shows that an attribute country of type string is available and can be used to build segmentation rules when creating targets.
{
"country": "AT"
}Setting user profile data
In order to be able to compare segmentation rules, user data should be set through the SDK for the current user.
Platforms
Updated 25 days ago
