Description Usage Arguments Value References See Also
Get a custom dimension to which the user has access.
1 | get_custom_dimension(accountId, webPropertyId, customDimensionId, token)
|
accountId |
character. Account ID for the custom dimension to retrieve. |
webPropertyId |
character. Web property ID for the custom dimension to retrieve. |
customDimensionId |
character. The ID of the custom dimension to retrieve. |
token |
|
kind |
Kind value for a custom dimension. Set to "analytics#customDimension". It is a read-only field. |
id |
Custom dimension ID. |
accountId |
Account ID. |
webPropertyId |
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. |
Management API - Custom Dimensions Overview
Other Management API: get_custom_metric,
get_experiment, get_filter,
get_goal, get_profile,
get_remarketing_audience,
get_unsampled_report,
get_upload, get_webproperty,
list_accounts,
list_custom_data_sources,
list_custom_dimensions,
list_custom_metrics,
list_experiments,
list_filters, list_goals,
list_profiles,
list_remarketing_audiences,
list_segments,
list_unsampled_reports,
list_uploads,
list_webproperties
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.