ganalytics (version 0.10.7)

PerProduct: PerProduct

Description

Set the scope of a gaMetExpr object to product-level.

Usage

PerProduct(object, negation)

# S4 method for gaMetExpr PerProduct(object)

# S4 method for formula PerProduct(object)

Arguments

object

A gaMetExpr object to coerce to hit-level

negation

Boolean value indicating whether to negate the condition.

Value

A gaMetExpr object.

Methods (by class)

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

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

See Also

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

Examples

Run this code
# NOT RUN {
with_products_added_more_than_once <- PerProduct(Expr(~productAddsToCart > 1))

# }

Run the code above in your browser using DataLab