ganalytics (version 0.10.4)

PerSession: PerSession.

Description

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

Usage

PerSession(object, ..., negation)

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

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

# S4 method for 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.

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

Methods (by class)

  • ANY: Create a session level segment filter list from the supplied expressions, interpreted as condition filters.

  • gaMetExpr: Set the scope of the supplied metric condition to session-level.

  • formula: Set the scope of the supplied non-standard-evaluation metric condition to session-level.