segment_vector_simple: Make a simple segment vector

View source: R/segments.R

segment_vector_simpleR Documentation

Make a simple segment vector

Description

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

  • segment_define : AND combination of segmentFilters

  • segment_vector_simple or segment_vector_sequence

  • segment_element that are combined in OR lists for ⁠segment_vectors_*⁠

Usage

segment_vector_simple(segment_elements)

Arguments

segment_elements

A list of OR lists of segment_element

Value

A segment vector you can put in a list for use in segment_ga4

See Also

Other v4 segment functions: segment_define(), segment_element(), segment_ga4, segment_vector_sequence()


googleAnalyticsR documentation built on Sept. 11, 2024, 8:15 p.m.