googleAnalyticsR (version 0.4.2)

segment_define: Make a segment definition

Description

Defines the segment to be a set of SegmentFilters which are combined together with a logical AND operation.

segment_define is in the hierarchy of segment creation, for which you will also need:

Usage

segment_define(segment_filters, not_vector = NULL)

Arguments

segment_filters
not_vector

Boolean applied to each segmentFilter step. If NULL, assumed FALSE

Value

segmentDefinition object for segment_ga4

See Also

Other v4 segment functions: segment_element, segment_ga4, segment_vector_sequence, segment_vector_simple