Get the list of goals from Google Analytics
1 2 | list_goals(accountId = "~all", webPropertyId = "~all", profileId = "~all",
max.results = NULL, start.index = NULL)
|
accountId |
Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to. |
webPropertyId |
Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which refers to all the web properties to which the user has access. |
profileId |
View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all', which refers to all the views (profiles) that user has access to. |
max.results |
The maximum number of accounts to include in this response. |
start.index |
An index of the first account to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.