Articles on: Developers

How to segment users

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


After created your segment fields in admin, now you need pass a custom_data object inside user data, ex:

    var CLF_config = {
        selector: ".changelogfy-widget",
        app_id: "YOUR_APP_ID",
        data: {
            user_id: '123456', // required
            user_name: 'User Name', // optional
            user_email: '', // optional
            custom_data: {
                'MemberPlan': 'Pro',
                'TeamMates': '4',
                'MonthlySpend': '50',
                'Admin': 'Yes'
<script async src=""></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

If you don't know your app_id, click here.
If you still have questions, please contact us by chat.

Updated on: 04/08/2022

Was this article helpful?

Share your feedback


Thank you!