Event summary of a landing page
/{version}/api/visitor/numberRequest
Path Params
versionstringrequiredv2-4-2Header Params
ApiKeystringapi secret key
YOUR_API_KEYBody Params
application/jsondatetimeobjectrequiredThe 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.
Child fields
startstringrequiredendstringrequiredlanding_pagearray [string]requiredThe landing page in URI format, e.g. /path. Maximum of 20 per call.
Child fields
stringevent_typearray [string]requiredConversion 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.
Child fields
stringExamples
{
"datetime": {
"start": "string",
"end": "string"
},
"landing_page": [
"string"
],
"event_type": [
"string"
]
}Responses
Body
application/jsoncodeintegerrequired1:success; other:failed
messagestringrequireddataarray [object]requirednullableChild fields
landing pagestringrequiredThe 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".