落地页的事件摘要
/{version}/api/visitor/number请求
路径参数
versionstring必需v2-4-2请求头
ApiKeystringapi secret key
YOUR_API_KEY请求体
application/jsondatetimeobject必需The date range of the event in ISO format, e.g. 1970-01-01 00:00:00, the time zone should be consistent with your store settings.
子字段
startstring必需endstring必需landing_pagearray [string]必需The landing page in URI format, e.g. /path. Maximum of 20 per call.
子字段
stringevent_typearray [string]必需Conversion event after user visits landing page. Maximum of 5 per call. Available event types: product viewed, cart viewed, product added to cart, checkout started, payment info submitted, checkout completed.
子字段
string请求示例
{
"datetime": {
"start": "string",
"end": "string"
},
"landing_page": [
"string"
],
"event_type": [
"string"
]
}响应
响应体
application/jsoncodeinteger必需1:success; other:failed
messagestring必需dataarray [object]必需nullable子字段
landing pagestring必需The landing page.
product viewedintegerThe number of visitors who visited the landing page and then completed the "product viewed" event, if the request of "event_type" contains "product viewed".
cart viewedintegerThe number of visitors who visited the landing page and then completed the "cart viewed" event, if the request of "event_type" contains "cart viewed".
product added to cartintegerThe number of visitors who visited the landing page and then completed the "product added to cart" event, if the request of "event_type" contains "product added to cart".
checkout startedintegerThe number of visitors who visited the landing page and then completed the "checkout started" event, if the request of "event_type" contains "checkout started".
payment info submittedintegerThe number of visitors who visited the landing page and then completed the "payment info submitted" event, if the request of "event_type" contains "payment info submitted".
checkout completedintegerThe number of visitors who visited the landing page and then completed the "checkout completed" event, if the request of "event_type" contains "checkout completed".