Description Usage Arguments Value References See Also
Gets a custom dimension to which the user has access to
1 | get_custom_dimension(account.id, webproperty.id, dimension.id, token)
|
account.id |
Account ID for the custom dimension to retrieve. |
webproperty.id |
Web property ID for the custom dimension to retrieve. |
dimension.id |
The ID of the custom dimension to retrieve. |
token |
|
An Analytics custom dimension.
kind |
Kind value for a custom dimension. Set to "analytics#customDimension". It is a read-only field. |
id |
Custom dimension ID. |
account.id |
Account ID. |
webproperty.id |
Property ID. |
name |
Name of the custom dimension. |
index |
Index of the custom dimension. |
scope |
Scope of the custom dimension: HIT, SESSION, USER or PRODUCT. |
active |
Boolean indicating whether the custom dimension is active. |
created |
Time the custom dimension was created. |
updated |
Time the custom dimension was last modified. |
self.link |
Link for the custom dimension |
parent.link |
Parent link for the custom dimension. Points to the property to which the custom dimension belongs. |
parent.link.type |
Type of the parent link. Set to "analytics#webproperty". |
parent.link.href |
Link to the property to which the custom dimension belongs. |
Management API - Custom Dimensions
Other Management API: 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_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.