Learn R Programming

shinyga (version 0.1.2.9001)

shinygaGetGoals: Get GA Goals

Description

Gets the Goals available from the user token.

Usage

shinygaGetGoals(token, accountId = "~all", webPropertyId = "~all", profileId = "~all", start = 1, max = 1000)

Arguments

token
Token passed from shinygaGetToken()
accountId
AccountId of webproperty, or all of them with ~all
webPropertyId
webPropertyId, or all of them with ~all
profileId
profileId (ViewId), or all of them with ~all
start
which data point to start from
max
Maximum number to fetch

Value

If token exists, a dataframe of GA Goals.

See Also

Other fetch data functions: MEgetData; getAndMergeGAAccounts; processManagementData; rollupGA; shinygaGetAccounts; shinygaGetAdWords; shinygaGetCustomDataSources; shinygaGetCustomDimensions; shinygaGetCustomMetrics; shinygaGetFilters; shinygaGetProfiles; shinygaGetSegments; shinygaGetUsers; shinygaGetWebProperties

Examples

Run this code
## Not run: 
# Views <- shinygaGetGoals(123456)
# ## End(Not run)

Run the code above in your browser using DataLab