Segments
Segments are dynamic groups of audience members defined by rules on member attributes. Use segments to target subsets of your audience — for example “trial users”, “enterprise admins”, or “users in Canada”.
What a segment is
A segment is a saved filter over your audience. You define the rules once (for example, plan = "pro" and locale = "en-US"), and ChimeKit uses those rules to determine membership.
Segments are most valuable when your audience is large enough that you don’t want to hand-pick recipients, or when you want targeting logic to live in the Dashboard instead of application code.
How it fits into the system
- Audience members provide the attributes segments evaluate.
- Broadcasts commonly send to a segment.
- Analytics and debugging become easier when you can preview “who would receive this” before you send.
Getting started
- Decide which attributes you’ll segment on (for example,
plan,role,createdAt,lastSeenAt). - Make sure you’re setting those attributes when you identify/update members.
- Create a segment in the Dashboard and validate it by previewing members.
- Use that segment as the target for a broadcast.
Keep segment rules simple at first. A small set of well-named attributes will outperform complex, brittle logic that’s hard to reason about.