This is an endpoint where you can send your analytics data to our server. If you want to see your metrics , like number of conversions, conversions rate, etc, to be displayed in our dashboard, you have to send the click data to this endpoint. When user checkouts, you have to send both the session ID and the search ID.
GET#
Header#
Field | Type | Description |
---|
x-forwarded-for | String | IP of the user |
Request Header Example#
Request Body#
Field | Type | Description |
---|
userAgent | String | User agent of the request |
event | String | The name of event (use 'checkout' for checkout data) |
r optional | Number | Number |
engineToken | String | Token of the engine (token from the search layer) |
products | Object[] | List of object of the products |
searchId | String | Search id that returned by search engine |
productId | String | Product id of the specified item |
sessionId | String | Session id of the user that generated by the front end side |
Param Example#
Success 200#
Field | Type | Description |
---|
success | Boolean | Request was successful |
Success Response Example#