You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn/analytics/analytics_metrics_reference.mdx
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,11 @@ description: This reference describes the metrics you can find in the Meilisearc
5
5
6
6
## Total searches
7
7
8
-
Total number of searches made in the selected indexes during the specified period. Multi-search and federated search requests count as a single search.
8
+
Total number of searches made during the specified period. Multi-search and federated search requests count as a single search.
9
9
10
10
## Total users
11
11
12
-
Total number of users who performed a search in the selected indexes.
12
+
Total number of users who performed a search in the specified period.
13
13
14
14
Include the [user ID](/learn/analytics/bind_events_user) in your search request headers for the most accurate metrics. If search requests do not provide any user ID, the total amount of unique users will increase, as each request is assigned to a unique user ID.
15
15
@@ -31,9 +31,13 @@ Meilisearch does not have access to this information by default. You must [confi
31
31
32
32
## Conversion
33
33
34
-
The percentage of searches resulting in a [conversion event](/learn/analytics/configure_analytics_events) in your application. Conversion events vary depending on your application and indicate a user has performed a specific desired action. For example, a conversion for an e-commerce website might mean a user has bought a product.
34
+
The percentage of searches resulting in a conversion event in your application. Conversion events vary depending on your application and indicate a user has performed a specific desired action. For example, a conversion for an e-commerce website might mean a user has bought a product.
35
35
36
-
You must explicitly configure your application to send conversion events when conditions are met.
36
+
You must explicitly [configure your application to send conversion](/learn/analytics/configure_analytics_events) events when conditions are met.
37
+
38
+
<Note>
39
+
It is not possible to associate multiple `conversion` events with the same query.
40
+
</Note>
37
41
38
42
## Search requests
39
43
@@ -53,4 +57,4 @@ Most common query terms that did not return any search results.
53
57
54
58
## Countries with most searches
55
59
56
-
List of countries that generate the largest amount of search requests.
60
+
List of countries that generate the largest amount of search requests.
Copy file name to clipboardExpand all lines: learn/analytics/bind_events_user.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ You can assign user IDs to search requests by including an `X-MS-USER-ID` header
24
24
Replace `SEARCH_USER_ID` with any value that uniquely identifies that user. This may be an authenticated user's ID when running searches from your own back end, or a hash of the user's IP address.
25
25
26
26
<Note>
27
-
Assigning user IDs to search requests is optional. If a Meilisearch Cloud search request does not have an ID, Meilisearch will automaticalle generate one.
27
+
Assigning user IDs to search requests is optional. If a Meilisearch Cloud search request does not have an ID, Meilisearch will automatically generate one.
Copy file name to clipboardExpand all lines: learn/analytics/configure_analytics_events.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,21 +14,21 @@ You must have a [Meilisearch Cloud](https://meilisearch.com/cloud) account to ac
14
14
15
15
To track click-through rate and average click position, Meilisearch Cloud needs to know when users click on search results.
16
16
17
-
Every time a user clicks on a search result, your application must send a `click` event to the `POST` endpoint of Meilisearch Cloud analytics route:
17
+
Every time a user clicks on a search result, your application must send a `click` event to the `POST` endpoint of Meilisearch Cloud's `/events` route:
18
18
19
19
<CodeSamplesAnalyticsEventClick1 />
20
20
21
-
You must explicitly submit a `userId` associated with the event. This can be any arbitrary string you can use to identify the user, such as their profile ID in your application or their hashed IP address. You may submit user IDs directly on the event payload, or setting a `X-MS-USER-ID` request header.
21
+
You must explicitly submit a `userId` associated with the event. This can be any arbitrary string you use to identify the user, such as their profile ID in your application or their hashed IP address. You may submit user IDs directly on the event payload, or setting a `X-MS-USER-ID` request header.
22
22
23
-
Specifying a `queryUid` is optional but recommended as it ensures Meilisearch correctly associates the search query with the event. You can find the query UID in the `metadata` field present in Meilisearch Cloud's search query response.
23
+
Specifying a `queryUid` is optional but recommended as it ensures Meilisearch correctly associates the search query with the event. You can find the query UID in the [`metadata` field present in Meilisearch Cloud's search query responses](/reference/api/overview#search-metadata).
24
24
25
25
For more information, consult the [analytics events endpoint reference](/learn/analytics/events_endpoint).
26
26
27
27
## Configure conversion rate
28
28
29
-
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.
29
+
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.
30
30
31
-
Once you have established what counts as a conversion in your application, configure it to send a `conversion` event to the `POST` endpoint of Meilisearch Cloud analytics route:
31
+
Once you have established what is a conversion in your application, configure it to send a `conversion` event to the `POST` endpoint of Meilisearch Cloud analytics route:
0 commit comments