Description Usage Arguments Value References See Also
Lists custom metrics to which the user has access to
1 2 | list_custom_metrics(account.id, webproperty.id, start.index = NULL,
max.results = NULL, token)
|
account.id |
Account ID for the custom metrics to retrieve. |
webproperty.id |
Web property ID for the custom metrics to retrieve. |
start.index |
An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
max.results |
The maximum number of custom metrics to include in this response. |
token |
|
An Analytics custom metric.
id |
Custom metric ID. |
account.id |
Account ID. |
webproperty.id |
Property ID. |
name |
Name of the custom metric. |
index |
Index of the custom metric. |
scope |
Scope of the custom metric: HIT or PRODUCT. |
active |
Boolean indicating whether the custom metric is active. |
type |
Data type of custom metric. |
min_value |
Min value of custom metric. |
max_value |
Max value of custom metric. |
created |
Time the custom metric was created. |
updated |
Time the custom metric was last modified. |
Management API - Custom metrics
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_sources
;
list_experiments
;
list_filters
; list_goals
;
list_profiles
; 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.