Requirements
You must have a Meilisearch Cloud account to access search analytics.Enable analytics in the project overview
Log into your Meilisearch Cloud account and navigate to your project’s overview. Find the “Analytics and monitoring” section and click on the “Enable analytics and monitoring” button:
Activating analytics will automatically activate monitoring.
Update URLs in your application
When you enable analytics, Meilisearch Cloud changes your project’s API URL. Meilisearch Cloud is only able to track metrics for queries sent to this URL. Update your application so all API requests point to the new URL:Configure click-through rate and average click position
To track metrics like click-through rate and average click position, Meilisearch Cloud needs to know when users click on search results. Every time a user clicks on a search result, your application must send aclick
event to the POST
endpoint of Meilisearch Cloud analytics route:
Configure conversion rate
To track conversion rate, first identify what should count as a conversion for your application. For example, in a web shop, a conversion might be a user finalizing the checkout process. Once you have established what counts as a conversion in your application, configure it to send aconversion
event to the POST
endpoint of Meilisearch Cloud analytics route:
conversion
events with the same search.
For more information, consult the analytics events endpoint reference.