/events, the endpoint you should use to submit analytics events to Meilisearch Cloud. It also describes the accepted event objects and the data you must include in them.
The /events endpoint
The /events endpoint is only available for Meilisearch Cloud projects with analytics and monitoring activated.
Send an event
click and conversion events.
Example
Response: 201 Created
The click event object
The click event must deliver an object with the following fields:
eventType: a string indicating this is aclickeventeventName: a string describing the eventindexUid: a string indicating the clicked document’s indexobjectId: a string indicating the clicked document’s primary keyposition: an integer indicating the clicked document’s position in the list of search results
The conversion event object
The conversion event must deliver an object with the following fields:
eventType: indicates this is aconversioneventeventName: a string describing the eventindexUid: the document’s indexobjectID: the document’s primary keyposition: the document’s position in the list of search results