ganalytics (version 0.10.7)

Include: Include

Description

Set the negation flag of a segment filter to FALSE.

Usage

Include(object, ..., scope)

# S4 method for ANY Include(object, ..., scope)

Arguments

object

A segment condition or sequence filter to include.

...

Additional segment conditions to include.

scope

Optional scope, "users" or "sessions" (default).

Value

A .gaSegmentFilter object with its negate slot set to FALSE.

Methods (by class)

  • ANY: Define an include segment filter using the supplied expression.

See Also

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

Examples

Run this code
# NOT RUN {
return_shoppers <- Include(
  Expr(~transactions > 1, metricScope = "perUser"),
  scope = "users"
)

# }

Run the code above in your browser using DataLab