User Segmentation
caution
This feature is available only on Unlimited Plan
Segmentation is a way to group and segment your customers by any data, ex: Free Members, Paid Members, Admin Users, Not Admin Users and etc.
Segment Fields
First your need create the custom data fields in Admin > Settings > Segments

JavaScript
After created your segment fields in admin, now you need pass a custom_data object inside user data, ex:
<script>
var CLF_config = {
selector: ".changelogfy-widget",
app_id: "PROJECT_SECRET_TOKEN",
data: {
user_id: '123456', // required
user_name: 'User Name', // optional
user_email: '[email protected]', // optional
custom_data: {
'MemberPlan': 'Pro',
'TeamMates': '4',
'MonthlySpend': '50',
'Admin': 'Yes'
}
}
};
</script>
<script async src="https://widget.changelogfy.com/index.js"></script>
Create Segments
Now that you've created the fields in the admin and entered the data through the in-app widget, it's time to create your segments.

The segment Rule can be one or multiples.

Now you can filter user by segment in Users Section

app_id
If you don't know your app_id, click here.