PerUser: PerUser

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

Description

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

Usage

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

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

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

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

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

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

Arguments

object

a .gaSegmentFilter or gaMetExpr object to coerce to user-level. Alternatively, an dimension expression or segment filter to coerce into a user 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, PerSession, ScopeLevel, SegmentConditionFilter, Segments, Segment

Examples

1
spent_more_than_100_per_user <- PerUser(Expr(~transactionRevenue > 100))

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