Get data analysis UTM
POST/openapi/2025-06/data-analysis/utm
Retrieve traffic source analytics grouped by UTM parameters (source, medium, campaign, term, content), with trend data over time.
Request
- application/json
- Body
- Example
Bodyrequired
view_client_count: Number of unique visitorsuv_rate: Unique visitor rateproduct_views_count: Number of product page viewsadd_to_cart_count: Number of add-to-cart actionsbegin_checkout_count: Number of checkout initiationsorders_count: Number of ordersorders_count_rate: Order count ratetransform_rate: Overall conversion rateproduct_sales: Product sales amountproduct_sales_rate: Product sales rateper_customer_sales: Average sales per customeravg_elapse: Average session durationavg_depth: Average page depth per sessionplace_order_client_count: Number of customers who placed ordersfirst_order_customers: Number of first-time order customersfirst_order_customers_rate: First-time order customer ratedate: Dateescape_rate: Bounce rate- Array [
utm_source: UTM campaign sourceutm_medium: UTM campaign mediumutm_campaign: UTM campaign nameutm_content: UTM campaign contentutm_term: UTM campaign keywordcountry: Country or regionland_url_path: Landing page URL pathincludes: containsequal_to: equalsnot_equal_to: not equals- ]
no_filter_crawler: do not filter; count all traffic (default)official_crawler: exclude known crawlers/bots
Start time, a Unix timestamp in seconds passed as a string, e.g. "1748736000"
End time, a Unix timestamp in seconds passed as a string, e.g. "1781481600". Should be greater than begin_time
Notice: Values outside the range -12 to 14 might lead to unexpected results in time-based calculations. Time zone offset (in hours) used for analysis. Recommended range: -12 to 14
Cursor for pagination
Page size for pagination
10Field to sort by. Supported values:
Sorting direction: asc (ascending) or desc (descending)
Time granularity: empty string for totals, "day" for daily breakdown
filters object[]
Optional list of structured filters to narrow results by UTM dimension values Entries in the list are combined with AND. e.g. [{"title": "utm_medium", "prerequisite": "includes", "values": ["123"]}]
Field name to filter on, taken from the metrics field (must match one of the requested metric field names). Supported values:
Filter operator. Supported values:
Filter values to match against
Crawler-filtering policy that controls whether bot/crawler traffic is excluded from the statistics. Values:
{
"begin_time": "string",
"end_time": "string",
"time_zone": 0,
"cursor": "string",
"page_size": 10,
"sort_by": "string",
"sort_direction": "string",
"date_by": "string",
"filters": [
{
"title": "string",
"prerequisite": "string",
"values": [
"string"
]
}
],
"filter_crawler_type": "string"
}
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
- Array [
- ]
error code
error message
data object
Total number of matching records
Cursor for pagination
Whether there are more records
data object[]
List of UTM report data items
Date of the record, e.g. "2026-03-30"
UTM campaign source, e.g. "linkedin"
UTM campaign medium
UTM campaign name
UTM campaign content
UTM campaign keyword / term
Country or region display name, e.g. "Mainland China"
Country or region ISO abbreviation, e.g. "CN"
Landing page URL path, e.g. "/"
Total page views
Number of unique visitors
Proportion of unique visitors to total, e.g. 50 (represents 50%)
Number of product detail page views
Number of users who added items to cart
Number of users who initiated checkout
Number of orders placed
Proportion of orders to total orders, e.g. 0 (represents 0%)
Conversion rate from visit to order, e.g. 0 (represents 0%)
Total sales amount
Proportion of sales to total sales, e.g. 0 (represents 0%)
Average order value (sales per ordering customer)
Average session duration in microseconds
Average number of pages viewed per session
Number of unique users who placed an order
Number of new customers (first-time orders in the period)
Proportion of new customers among all ordering customers, e.g. 0 (represents 0%)
Bounce rate, e.g. 25 (represents 25%)
summary object
Aggregated totals across all data items (summary row)
Total page views across all rows
Total unique visitors
Overall visitor proportion (always 100 for summary)
Total product detail page views
Total add-to-cart user count
Total checkout-initiated user count
Total number of orders
Order proportion (always 100 for summary)
Overall conversion rate
Total sales amount
Sales proportion (always 100 for summary)
Average order value across all customers
Average session duration in microseconds
Average pages viewed per session
Total unique users who placed an order
Total new customers
Proportion of new customers
Overall bounce rate
{
"code": "string",
"message": "string",
"data": {
"count": 0,
"cursor": "string",
"has_more": true,
"data": [
{
"date": "string",
"utm_source": "string",
"utm_medium": "string",
"utm_campaign": "string",
"utm_content": "string",
"utm_term": "string",
"country": "string",
"country_abbr": "string",
"land_url_path": "string",
"page_views_total": 0,
"view_client_count": 0,
"uv_rate": 0,
"product_views_count": 0,
"add_to_cart_count": 0,
"begin_checkout_count": 0,
"orders_count": 0,
"orders_count_rate": 0,
"transform_rate": 0,
"product_sales": 0,
"product_sales_rate": 0,
"per_customer_sales": 0,
"avg_elapse": 0,
"avg_depth": 0,
"place_order_client_count": 0,
"first_order_customers": 0,
"first_order_customers_rate": 0,
"escape_rate": 0
}
],
"summary": {
"page_views_total": 0,
"view_client_count": 0,
"uv_rate": 0,
"product_views_count": 0,
"add_to_cart_count": 0,
"begin_checkout_count": 0,
"orders_count": 0,
"orders_count_rate": 0,
"transform_rate": 0,
"product_sales": 0,
"product_sales_rate": 0,
"per_customer_sales": 0,
"avg_elapse": 0,
"avg_depth": 0,
"place_order_client_count": 0,
"first_order_customers": 0,
"first_order_customers_rate": 0,
"escape_rate": 0
}
}
}