# NOT RUN {
return_shoppers <- SegmentConditionFilter(
Expr(~transactions > 1, metricScope = "perUser"),
scope = "users"
)
watched_video_then_purchased <- Sequence(
Expr(~eventCategory == "video") & Expr(~eventAction == "play"),
Later(Expr(~transactions > 0))
)
# }
Run the code above in your browser using DataLab