ga_view_list | R Documentation |
This gets the meta data associated with the Google Analytics Views for a particular accountId and webPropertyId. If you want all viewId information for all accounts you have access to, use ga_account_list instead.
ga_view_list(accountId, webPropertyId)
accountId |
Account Id |
webPropertyId |
Web Property Id e.g. |
A data.frame
of meta-data for the views
Other account structure functions:
ga_account_list()
,
ga_accounts()
,
ga_view()
,
ga_webproperty()
,
ga_webproperty_list()
## Not run:
library(googleAnalyticsR)
ga_auth()
views <- ga_view_list(1058095, "UA-1058095-1")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.