PerSession: PerSession

Description Usage Arguments Value Methods (by class) Note See Also Examples

Description

Set the scope of a .gaSegmentFilter or gaMetExpr object to session-level.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
PerSession(object, ..., negation)

## S4 method for signature 'ANY'
PerSession(object, ..., negation)

## S4 method for signature 'gaSegmentSequenceStep'
PerSession(object, ..., negation)

## S4 method for signature 'gaSegmentSequenceFilter'
PerSession(object, ..., negation)

## S4 method for signature 'gaMetExpr'
PerSession(object, ..., negation)

## S4 method for signature 'formula'
PerSession(object, ..., negation)

Arguments

object

A .gaSegmentFilter or gaMetExpr object to coerce to session-level. Alternatively, an dimension expression or segment filter to coerce into a session scoped gaDynSegment.

...

Other filters to include in the gaDynSegment.

negation

Boolean value indicating whether to negate the condition.

Value

A gaMetExpr, .gaSegmentFilter or gaDynSegment.

Methods (by class)

Note

To define a gaDynSegment comprised of a single metric expression, wrap the metric expression in an Include or Exclude call.

See Also

Other dynamic segment functions: DynSegment, Exclude, Include, IsNegated, PerHit, PerProduct, PerUser, ScopeLevel, SegmentConditionFilter, Segments, Segment

Examples

1
spent_more_than_100_in_a_session <- PerSession(Expr(~transactionRevenue > 100))

ganalytics documentation built on May 2, 2019, 8:34 a.m.