Segments Marketing Channels
Header Parameters
api-keystring
Query Parameters
segmentstring Required
Segment ID to analyze
start_datestring Required
Start date in 'YYYY-MM' or 'YYYY-MM-DD' format
end_datestring Required
End date in 'YYYY-MM' or 'YYYY-MM-DD' format
granularitystring Required
Time granularity
Enum values:
dailyweeklymonthlyweb_sourcestring
Specifies the web source device type
Enum values:
desktopmobile_webtotalcountrystring Required
Two-letter country code (e.g., 'us', 'gb', 'ww')
metricsarray
Comma-separated list of desired metrics. Default to all available metrics.
Enum values:
visitsbounce_ratepage_viewsaverage_visit_durationpages_per_visitformatstring
Format in which the reply should be returned.
Enum values:
jsonxmlResponse
200
Object
Success
Response Attributes
metaobject
Show child attributes
dataarray
Nullable:
True
Show child attributes
Was this section helpful?
What made this section unhelpful for you?
Response
Was this section helpful?