Google Analytics Data V1alpha Client - Class FunnelSubReport (0.21.1)

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

Funnel sub reports contain the dimension and metric data values. For example, 12 users reached the second step of the funnel.

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

Namespace

Google \ Analytics \ Data \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ dimension_headers array<DimensionHeader>

Describes dimension columns. Funnel reports always include the funnel step dimension in sub report responses. Additional dimensions like breakdowns, dates, and next actions may be present in the response if requested.

↳ metric_headers array<MetricHeader>

Describes metric columns. Funnel reports always include active users in sub report responses. The funnel table includes additional metrics like completion rate, abandonments, and abandonments rate.

↳ rows array<Row>

Rows of dimension value combinations and metric values in the report.

↳ metadata FunnelResponseMetadata

Metadata for the funnel report.

getDimensionHeaders

Describes dimension columns. Funnel reports always include the funnel step dimension in sub report responses. Additional dimensions like breakdowns, dates, and next actions may be present in the response if requested.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDimensionHeaders

Describes dimension columns. Funnel reports always include the funnel step dimension in sub report responses. Additional dimensions like breakdowns, dates, and next actions may be present in the response if requested.

Parameter
Name Description
var array<DimensionHeader>
Returns
Type Description
$this

getMetricHeaders

Describes metric columns. Funnel reports always include active users in sub report responses. The funnel table includes additional metrics like completion rate, abandonments, and abandonments rate.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMetricHeaders

Describes metric columns. Funnel reports always include active users in sub report responses. The funnel table includes additional metrics like completion rate, abandonments, and abandonments rate.

Parameter
Name Description
var array<MetricHeader>
Returns
Type Description
$this

getRows

Rows of dimension value combinations and metric values in the report.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRows

Rows of dimension value combinations and metric values in the report.

Parameter
Name Description
var array<Row>
Returns
Type Description
$this

getMetadata

Metadata for the funnel report.

Returns
Type Description
FunnelResponseMetadata|null

hasMetadata

clearMetadata

setMetadata

Metadata for the funnel report.

Parameter
Name Description
var FunnelResponseMetadata
Returns
Type Description
$this