Skip to main content

Documentation Index

Fetch the complete documentation index at: https://confidence.spotify.com/llms.txt

Use this file to discover all available pages before exploring further.

A segment is a definition of a subpopulation, like a certain cohort of users.

Create a Segment

1

Navigate to Segments

Select Segments in the left sidebar.
2

Click + Create to create a new segment

3

Give the segment a name

The name can’t be changed later, so choose wisely.
4

Define the inclusion criteria

Define the inclusion criteria for the segment by clicking + Add attribute, + Add segment, or + Add group in the Inclusion criteria section. You can add multiple criteria.
5

Set the allocation of the segment to the desired percentage

Segments Reference

Deep dive into segment configuration

Define Audience Criteria

Add targeting criteria to your segments

Create Rules

Use segments in flag rules

Create Segments API

API reference for segments