Create a new segment
Create a new segment with given parameters
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Conditions according to which visitors will be segmented
Name of the segment
"My segment"
Segment type refers to the classification of segments based on their usage.
STANDARD, KEY_MOMENT, FEATURE_FLAG, ALL Site Id of the project where the segment is created
8372
Specifies whether the segment is tracking an audience.
Conditions by which visitors will be segmented in list form
Conditions by which visitors will be segmented in tree form
- Conditions data level
- Targeting condition
- Active session
- Ad blocker
- Application version
- Browser
- Browser language
- Conversions
- Cookie
- Custom datum
- Day night
- Day of week
- Device type
- Dom element
- Event
- Exclusive experiment
- Explicit trigger
- First visit
- Forecast sky status
- Forecast temperature
- Geolocation
- Heat slice
- Hour minute range
- Internal search keywords
- Js code
- Key moment
- Key pages
- Landing page
- Last visit
- Mouse out
- New visitors
- Number of visited pages
- Operating system
- Origin
- Origin type
- Page title
- Page url
- Page views
- Previous page
- Price of displayed page
- Referrers
- Same day visits
- Screen dimension
- Sdk type
- Segment
- Sky status
- Tabs on site
- Target experiment
- Target feature flag
- Target personalization
- Tealium audience
- Tealium badge
- Temperature
- Time range
- Time since page load
- Visited pages
- Visitor code
- Visitor ip
- Visits
- Visits by page
- Ysance attribut
- Ysance segment
Description of the segment
"The segment is for new ab tests"
Indicates whether the segment has been marked as a favorite.
Indicates whether the segment has been marked as hidden from the user
Response
Created
Conditions according to which visitors will be segmented
Name of the segment
"My segment"
Segment type refers to the classification of segments based on their usage.
STANDARD, KEY_MOMENT, FEATURE_FLAG, ALL Site Id of the project where the segment is created
8372
Specifies whether the segment is tracking an audience.
This flag shows if audienceTracking can be enabled/disabled. In some cases, audienceTracking cannot be disabled. E.g. a segment has predictive conditions, such segments are tracked by default.
Conditions by which visitors will be segmented in list form
Conditions by which visitors will be segmented in tree form
- Conditions data level
- Targeting condition
- Active session
- Ad blocker
- Application version
- Browser
- Browser language
- Conversions
- Cookie
- Custom datum
- Day night
- Day of week
- Device type
- Dom element
- Event
- Exclusive experiment
- Explicit trigger
- First visit
- Forecast sky status
- Forecast temperature
- Geolocation
- Heat slice
- Hour minute range
- Internal search keywords
- Js code
- Key moment
- Key pages
- Landing page
- Last visit
- Mouse out
- New visitors
- Number of visited pages
- Operating system
- Origin
- Origin type
- Page title
- Page url
- Page views
- Previous page
- Price of displayed page
- Referrers
- Same day visits
- Screen dimension
- Sdk type
- Segment
- Sky status
- Tabs on site
- Target experiment
- Target feature flag
- Target personalization
- Tealium audience
- Tealium badge
- Temperature
- Time range
- Time since page load
- Visited pages
- Visitor code
- Visitor ip
- Visits
- Visits by page
- Ysance attribut
- Ysance segment
Account Id of the creator of the segment
Date when the segment was created
Date when the segment was modified
Description of the segment
"The segment is for new ab tests"
Number of experiments using this segment. This is an optional field that is included in the request body
List of experiment ids using this segment. This is an optional field that is included in the request body
Number of feature flags being used in this goal. This is an optional field that must be specified in request params.
Indicates if the segment has conditions
Unique Id of the segment
Indicates whether the segment has been marked as a favorite.
List of links to related entities.This is an optional field that is included in the request body.
Number of personalizations using this segment. This is an optional field that is included in the request body
List of personalization ids using this segment. This is an optional field that is included in the request body
Indicates whether the segment has been marked as hidden from the user