Google Analytics Data V1alpha Client - Class Funnel (0.20.0)

Reference documentation and code samples for the Google Analytics Data V1alpha Client class Funnel.

Configures the funnel in a funnel report request. A funnel reports on users as they pass through a sequence of steps.

Funnel exploration lets you visualize the steps your users take to complete a task and quickly see how well they are succeeding or failing at each step. For example, how do prospects become shoppers and then become buyers? How do one time buyers become repeat buyers? With this information, you can improve inefficient or abandoned customer journeys.

Generated from protobuf message google.analytics.data.v1alpha.Funnel

Namespace

Google \ Analytics \ Data \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ is_open_funnel bool

In an open funnel, users can enter the funnel in any step, and in a closed funnel, users must enter the funnel in the first step. Optional. If unspecified, a closed funnel is used.

↳ steps array<Google\Analytics\Data\V1alpha\FunnelStep>

The sequential steps of this funnel.

getIsOpenFunnel

In an open funnel, users can enter the funnel in any step, and in a closed funnel, users must enter the funnel in the first step. Optional. If unspecified, a closed funnel is used.

Returns
Type Description
bool

setIsOpenFunnel

In an open funnel, users can enter the funnel in any step, and in a closed funnel, users must enter the funnel in the first step. Optional. If unspecified, a closed funnel is used.

Parameter
Name Description
var bool
Returns
Type Description
$this

getSteps

The sequential steps of this funnel.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSteps

The sequential steps of this funnel.

Parameter
Name Description
var array<Google\Analytics\Data\V1alpha\FunnelStep>
Returns
Type Description
$this