Learn R Programming

ganalytics (version 0.10.7)

McfQuery: McfQuery.

Description

Create a Multi-Channel Funnel Reporting API query object

Usage

McfQuery(view = NA, creds = get_creds(), startDate = Sys.Date() - 8,
  endDate = Sys.Date() - 2, metrics = "mcf:totalConversions",
  dimensions = "mcf:nthDay", sortBy = NULL, filters = NULL,
  samplingLevel = "DEFAULT", maxResults = kGaMaxResults)

Arguments

view

view id to use

creds

authentication credentials object created using GoogleApiCreds()

startDate

start date

endDate

end date

metrics

character vector of metrics

dimensions

character vector of dimensions

sortBy

a sort by object

filters

a filters object

samplingLevel

either "DEFAULT", "HIGHER_PRECISION" or "FASTER"

maxResults

the maximum number of results to return, up to 1,000,000