Description Usage Arguments Value References See Also
Lists views (profiles) which the user has access to
1 2 | list_profiles(account.id = "~all", webproperty.id = "~all",
start.index = NULL, max.results = NULL, token)
|
account.id |
integer or character. Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all', which refers to all the accounts which the user has access to. |
webproperty.id |
character. Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID or '~all', which refers to all the web properties which the user has access to. Requires specified |
start.index |
integer. An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
max.results |
integer. The maximum number of views (profiles) to include in this response. |
token |
|
A view (profile) collection lists Analytics views (profiles) to which the user has access. Each resource in the collection corresponds to a single Analytics view (profile).
id |
View (Profile) ID. |
account.id |
Account ID to which this view (profile) belongs. |
webproperty.id |
Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. |
name |
Name of this view (profile). |
currency |
The currency type associated with this view (profile). |
timezone |
Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database. |
website.url |
Website URL for this view (profile). |
type |
View (Profile) type. Supported types: WEB or APP. |
e.commerce.tracking |
Indicates whether ecommerce tracking is enabled for this view (profile). |
permissions |
Permissions the user has for this view (profile). |
created |
Time this view (profile) was created. |
updated |
Time this view (profile) was last modified. |
Management API - Views (Profiles)
Google Analytics Demos & Tools - Account Explorer
Analytics Help - Hierarchy of accounts, users, properties, and views
Other Management API: get_custom_dimension
;
get_custom_metric
;
get_experiment
; get_filter
;
get_goal
; get_profile
;
get_unsampled_report
;
get_webproperty
;
list_accounts
;
list_custom_dimensions
;
list_custom_metrics
;
list_custom_sources
;
list_experiments
;
list_filters
; list_goals
;
list_segments
;
list_unsampled_reports
;
list_webproperties
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.