Description Usage Arguments Value Methods (by class) See Also Examples
Create a new gaSegmentConditionFilter object
1 2 3 4 | SegmentConditionFilter(object, ..., negation, scope)
## S4 method for signature 'ANY'
SegmentConditionFilter(object, ..., negation, scope)
|
object |
An expression to be used as a non-sequential segment condition. |
... |
Other expressions to be |
negation |
Optional logical |
scope |
Optional scope, |
A gaSegmentConditionFilter object.
ANY: Create a non-sequential segment condition
filter from one or more expressions. All conditions within the filter must
hold true within a single session if applied to a gaDynSegment
scoped at session-level, or to a single hit if scoped at user-level.
Other dynamic segment functions: DynSegment,
Exclude, Include,
IsNegated, PerHit,
PerProduct, PerSession,
PerUser, ScopeLevel,
Segments, Segment
1 2 3 4 5 | bounced_sessions <- SegmentConditionFilter(Expr(~bounces > 0))
return_shoppers <- SegmentConditionFilter(
Expr(~transactions > 1, metricScope = "perUser"),
scope = "users"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.