Learn R Programming

ganalytics (version 0.10.7)

First: First

Description

If used at the beginning of a sequence, indicates that this step must match the first interaction of included sessions and users within the select date range. First expressly means 'first interaction' within the date range.

Usage

First(object, ...)

Arguments

object

An expression that should be at the start of a sequence expression.

...

Any other expressions that should immediately follow the first expression.

Value

A gaSegmentSequenceStep object, with the immediate flag set.

See Also

Sequence

Other sequence segment functions: Later, Sequence, Then

Examples

Run this code
# NOT RUN {
session_starts_from_home <- First(Expr(~pagepath == "/"))

# }

Run the code above in your browser using DataLab