CustomerGlu Developer Documentation
  • 🔧Getting started
  • 🔧Quickstart Guide for React Web Apps
  • 📱Quickstart Guide for React Native Apps
  • 📱Quickstart Guide for Flutter Apps
  • Integrating with SDKs
    • Web SDK
    • Mobile SDKs
      • How to Test Integration?
    • Cordova SDK
    • Shopify
  • Integrating with APIs
    • Register User/Device
    • Load Campaigns
    • Binding Webview to Native App Functions
    • 🔍Using __GLU_NUDGE_CLICK for Widget Visibility
    • 🎯API-based Segmentation Quickstart Guide
  • 🔌Third-Party Integrations
    • Source
      • Sending Events directly from Server
      • Segment
      • Moengage
      • Amplitude
      • Clevertap
      • Webengage
    • Destination
      • Analytics Webhook
      • Customer.io
      • Talon.One
      • Segment
      • MoEngage
      • Amplitude
      • Clevertap
      • WebEngage
      • Google Sheets
    • Cohort
      • Mixpanel
  • Miscellaneous Topics
    • Direct Campaign/Wallet URLs
    • Configuring Webhooks
      • Rewards Webhook
      • Nudge Webhook
    • Notifications
      • FCM
      • APNs
      • CustomerGlu Notification
      • Testing Nudges
    • Referral Campaigns
      • Firebase
      • Branch
    • Handling Non Logged-in Users
    • Testing Campaigns with User Logs
    • Using the Editor
      • How to edit Buttons in Campaigns
    • How to Create and Manage Segments in CustomerGlu
  • SCHEMA REPOSITORY
    • Webhook Schema
      • Reward Webhook Schema
      • Nudge Webhook Schema
      • Raw Event Webhook Schema
    • Webview Callback Schema
      • Analytics Event Schema
    • Analytics schema V4
      • Page Events
      • Track Events (UI)
      • Track Events (SDK)
      • State-Change Events
      • System Events
    • 🗝️FAQ
      • API Key
      • How to find and add Screen Names for Entrypoints
  • Demo Apps
    • Demo Apps
Powered by GitBook
On this page
  • Overview
  • Creating a New Segment
  • Managing Users in a Segment
  • Using Segments in a Campaign

Was this helpful?

  1. Miscellaneous Topics

How to Create and Manage Segments in CustomerGlu

Overview

Segments in CustomerGlu allow you to define target audiences based on user events and attributes. Segments ensure that only relevant users qualify for specific campaigns, making your engagement strategies more effective.

There are two types of segments:

  • Event-Triggered Segments: Users enter the segment when a specific event occurs, such as Sign Up or Purchase Completed.

  • Static Segments: Users are added manually or via CSV import for testing or predefined targeting.

Once a segment is assigned to a campaign, users who qualify will automatically enter the campaign and receive relevant experiences.


Creating a New Segment

1. Navigate to the Segments Section

  1. Open the CustomerGlu Dashboard.

  2. Go to Segments.

  3. Click Create Segment.

2. Name Your Segment

  • Enter a Segment Name that clearly describes its purpose, e.g., Activation Experiment - New Users.

3. Define the Event Trigger

  • Select an Event Trigger to define when users enter this segment.

  • Common event triggers include:

    • Sign Up

    • Purchase Completed

    • Reward Granted

  • Events can be sent via server-side integrations or through external tools like RudderStack, Segment, or CustomerGlu’s SDKs.

How Event-Triggered Segments Work

  • When a defined event is fired for a user, they are automatically added to the segment.

  • If the segment is linked to a campaign, the campaign immediately activates for that user.

  • Example:

    • You create a segment with the event trigger "Sign Up".

    • A new user signs up → They are added to the segment.

    • If this segment is part of a campaign, the campaign starts for them (e.g., they receive a welcome reward or mission).

4. Add Properties & Conditions

  • Refine the segment further by adding conditions such as:

    • Sign Up Date > January 1, 2025

    • Channel = Facebook

    • Reward Amount > 50

  • Conditions can use AND/OR logic to create complex targeting rules.

5. Verify Incoming Events

  • To check what events are being received, navigate to:

    • Developer Console → Data Ingestion

    • Here, you can see real-time event data to confirm that your event triggers are correct.

6. Save the Segment

  • Once the conditions are set, click Save.

  • The segment will now appear in the Audience List, ready to be used in campaigns.


Managing Users in a Segment

Viewing Segment Details

  • Click on the created segment to:

    • View applied rules & conditions.

    • See total users in the segment.

    • Check new users added this week/month.

Adding & Removing Test Users

  • Click “Add User” and enter a User ID to manually add a user.

  • This is useful for testing campaigns before launch.

  • Once testing is complete, you can remove the test user.

Importing Users via CSV

  • Instead of manually adding users, you can upload a CSV file containing user IDs.

  • The system will automatically process and add users to the segment.


Using Segments in a Campaign

1. Assign the Segment to a Campaign

  • When creating a new campaign, navigate to the Audience Section.

  • Select the Segment from the list.

2. Editing Segment Filters

  • You can edit the segment conditions even after assigning it to a campaign.

  • This ensures you can fine-tune audience targeting without re-creating segments.

3. Real-Time User Entry

  • If the segment is based on an event trigger, users will be added dynamically when the event occurs.

  • This means the campaign will immediately activate for them.

PreviousHow to edit Buttons in CampaignsNextWebhook Schema

Last updated 2 months ago

Was this helpful?