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: "YOUR_APP_ID",
data: {
user_id: '123456', // required
user_name: 'User Name', // optional
user_email: 'user@email.com', // 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.

Segment

Now you can filter user by segment in Users Section



If you don't know your app_id, click here.
If you still have questions, please contact us by chat.
Was this article helpful?
Cancel
Thank you!