class DataMcf extends Resource (View source)

The "mcf" collection of methods.

Typical usage is:

 $analyticsService = new Google\Service\Analytics(...);
 $mcf = $analyticsService->data_mcf;

Methods

get(string $ids, string $startDate, string $endDate, string $metrics, array $optParams = [])

Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get)

Details

McfData get(string $ids, string $startDate, string $endDate, string $metrics, array $optParams = [])

Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get)

Parameters

string $ids

Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.

string $startDate

Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.

string $endDate

End date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.

string $metrics

A comma-separated list of Multi-Channel Funnels metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified.

array $optParams

Optional parameters.

Return Value

McfData

Exceptions

Exception