gogol-analytics-0.0.1: Google Analytics SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Analytics.Data.Mcf.Get

Contents

Description

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

See: Google Analytics API Reference for analytics.data.mcf.get.

Synopsis

REST Resource

type DataMcfGetResource = "analytics" :> ("v3" :> ("data" :> ("mcf" :> (QueryParam "ids" Text :> (QueryParam "start-date" Text :> (QueryParam "end-date" Text :> (QueryParam "metrics" Text :> (QueryParam "samplingLevel" DataMcfGetSamplingLevel :> (QueryParam "filters" Text :> (QueryParam "sort" Text :> (QueryParam "dimensions" Text :> (QueryParam "start-index" (Textual Int32) :> (QueryParam "max-results" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` McfData)))))))))))))) Source

A resource alias for analytics.data.mcf.get method which the DataMcfGet request conforms to.

Creating a Request

dataMcfGet Source

Creates a value of DataMcfGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DataMcfGet Source

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

See: dataMcfGet smart constructor.

Request Lenses

dmgMetrics :: Lens' DataMcfGet Text Source

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

dmgFilters :: Lens' DataMcfGet (Maybe Text) Source

A comma-separated list of dimension or metric filters to be applied to the Analytics data.

dmgIds :: Lens' DataMcfGet Text Source

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

dmgEndDate :: Lens' DataMcfGet Text Source

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.

dmgSort :: Lens' DataMcfGet (Maybe Text) Source

A comma-separated list of dimensions or metrics that determine the sort order for the Analytics data.

dmgDimensions :: Lens' DataMcfGet (Maybe Text) Source

A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.

dmgStartIndex :: Lens' DataMcfGet (Maybe Int32) Source

An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.

dmgMaxResults :: Lens' DataMcfGet (Maybe Int32) Source

The maximum number of entries to include in this feed.

dmgStartDate :: Lens' DataMcfGet Text Source

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.