Set the scope of a gaMetExpr object to product-level.
PerProduct(object, negation)# S4 method for gaMetExpr
PerProduct(object)
# S4 method for formula
PerProduct(object)
A gaMetExpr
object to coerce to hit-level
Boolean value indicating whether to negate the condition.
A gaMetExpr
object.
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.
Other dynamic segment functions: DynSegment
,
Exclude
, Include
,
IsNegated
, PerHit
,
PerSession
, PerUser
,
ScopeLevel
,
SegmentConditionFilter
,
Segments
, Segment
# NOT RUN {
with_products_added_more_than_once <- PerProduct(Expr(~productAddsToCart > 1))
# }
Run the code above in your browser using DataLab