Description Usage Arguments Value References See Also
Lists segments which the user has access to
1 | list_segments(start.index = NULL, max.results = NULL, token)
|
start.index |
integer. An index of the first segment to retrieve. Use this parameter as a pagi- nation mechanism along with the max-results parameter. |
max.results |
integer. The maximum number of segments to include in this response. |
token |
|
An segment collection lists Analytics segments that the user has access to. Each resource in the collection corresponds to a single Analytics segment.
id |
Segment ID. |
segment.id |
Segment ID. Can be used with the segment parameter in Data Feed. |
name |
Segment name. |
definition |
Segment definition. |
type |
Type for a segment. Possible values are "BUILT_IN" or "CUSTOM". |
created |
time the segment was created. |
updated |
time the segment was last modified. |
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_profiles;
list_unsampled_reports;
list_webproperties
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.