Skip to main content
You may want to exclude specific search requests from analytics in certain use cases, such as:
  • When initializing a page and displaying initial results to users
  • When building UI components such as category filters

Exclude searches from your analytics

To exclude specific searches from your analytics, set the analytics parameter to false.
curl \
  -X POST 'MEILISEARCH_URL/indexes/INDEX_NAME/search?analytics=false' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer DEFAULT_SEARCH_API_KEY' \
  -H 'X-MS-USER-ID: MEILISEARCH_USER_ID' \
  --data-binary '{}'