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

  1. Decide which attributes you’ll segment on (for example, plan, role, createdAt, lastSeenAt).
  2. Make sure you’re setting those attributes when you identify/update members.
  3. Create a segment in the Dashboard and validate it by previewing members.
  4. Use that segment as the target for a broadcast.

Was this page helpful?