Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Telemetry - Replace x-meilisearch-client query parameter by `X-Meil…
Browse files Browse the repository at this point in the history
…isearch-Client` header (#150)

* Removes x-meilisearch-client, replace it by a header

* Remove capslock
  • Loading branch information
gmourier authored Jul 7, 2022
1 parent 9e0f07c commit 4f71812
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions text/0034-telemetry-policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,11 +416,11 @@ The `User-Agent` header is tracked on the events listed below. Our official SDKs

Each endpoint API tracked sends the `User-Agent` as a `user_agent` event property as an array. If several values are contained in the `User-Agent` header, they are split by the `;` character.

##### `x-meilisearch-client` Query Parameter
##### `X-Meilisearch-Client` Header

Some browser engines prevent overloading the User-Agent header. To track the calls made by some clients concerned by this fact, e.g. the JavaScript SDK, it is possible to use the `x-meilisearch-client` query parameter.
Some browser engines prevent overloading the User-Agent header. To track the calls made by some clients concerned by this fact, e.g. the JavaScript SDK, it is possible to use the `X-Meilisearch-Client` custom header.

If the query parameter is encountered, it overrides the presence of the `User-Agent` header.
If the `X-Meilisearch-Client` is encountered, it overrides the presence of the `User-Agent` header.

#### Identifying MeiliSearch installation

Expand Down

0 comments on commit 4f71812

Please sign in to comment.