analytics
Authorizations
Your Algolia application ID.
Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.
Query Parameters
Index name.
"ALGOLIA_INDEX_NAME"
Whether to include metrics related to click and conversion events in the response.
Whether to include metrics related to revenue events in the response.
Start date of the period to analyze, in YYYY-MM-DD
format.
"2022-09-19"
End date of the period to analyze, in YYYY-MM-DD
format.
"2023-01-21"
Attribute by which to order the response items.
If the clickAnalytics
parameter is false, only searchCount
is available.
searchCount
, clickThroughRate
, conversionRate
, averageClickPosition
Sorting direction of the results: ascending or descending.
asc
, desc
Number of items to return.
x <= 1000
Position of the first item to return.
x >= 0
Tags by which to segment the analytics.
You can combine multiple tags with OR
and AND
.
Tags must be URL-encoded.
For more information, see Segment your analytics data.
Response
OK
- Top searches
- Top searches with click analytics
- Top searches with revenue analytics
Most popular searches and their number of search results (hits).