For the complete documentation index, see llms.txt. This page is also available as Markdown.

UserSegment

The record that says a user belongs to an audience segment, and the information it carries.

Your goal

Know what segment membership looks like on a user, so you can read it on a UserPoint and query it.

Expected outcome

You can tell an audience segment apart from the UserSegments it produces, and you know which information each UserSegment carries.

What a UserSegment is

An audience segment is a group of users. A UserSegment is the piece of information attached to a user to say they belong to that segment: a segment of 10,000 users means 10,000 UserSegments, one per user. A UserPoint carries one UserSegment per segment the user belongs to.

In the schema, this information is an object of type UserSegment, which holds:

  • The segment identifier.

  • The date the user entered the segment, which is the creation date of the UserSegment.

  • The expiration date at which the user exits the segment. It is optional, and set only for some segment types.

Segments themselves

How segments are built, and what each type does, is documented in:

  • Persisted segment explains why a segment can show a count before its UserSegments exist.

  • Segment types lists the types of segment and what each one decides.

Last updated

Was this helpful?