Define a segment for use in a query's segment list.
Segment(object, ...)# S4 method for numeric
Segment(object)
# S4 method for character
Segment(object)
# S4 method for ANY
Segment(object, ...)
# S4 method for `NULL`
Segment(object)
# S4 method for gaUserSegment
Segment(object)
A segment or other object that can be coerced into a segment, including dynamic segments, built-in and/or custom segments by their ID.
Other segment conditions, filters or filter lists to include in the segment's definition (ANDed)
An object belonging to the .gaSegment
superclass.
numeric
: Interpret the supplied numeric value as a segment ID.
character
: Interpret the supplied character value as a segment ID.
ANY
: Create a non-sequential segment using the supplied
expressions.
NULL
: returns NULL
gaUserSegment
: Return the segment ID of the supplied GA Management API
user segment.
Other dynamic segment functions: DynSegment
,
Exclude
, Include
,
IsNegated
, PerHit
,
PerProduct
, PerSession
,
PerUser
, ScopeLevel
,
SegmentConditionFilter
,
Segments