This reference describes /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.
/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.
/events
endpoint/events
endpoint is only available for Meilisearch Cloud projects with analytics and monitoring activated.
click
and conversion
events.
X-MS-USER-ID
header in your search and event requests to manually bind analytics events to a user.201 Created
click
event objectclick
event must deliver an object with the following fields:
eventType
: a string indicating this is a click
eventeventName
: 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 resultsconversion
event objectconversion
event must deliver an object with the following fields:
eventType
: indicates this is a conversion
eventeventName
: a string describing the eventindexUid
: the document’s indexobjectID
: the document’s primary keyposition
: the document’s position in the list of search results