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

Commit

Permalink
Telemetry - Add x-meilisearch-client query parameter (#145)
Browse files Browse the repository at this point in the history
* Introduce the x-meilisearch-client query parameter

* Update text/0034-telemetry-policies.md

Co-authored-by: Bruno Casali <brunoocasali@gmail.com>

* Update text/0034-telemetry-policies.md

Co-authored-by: Bruno Casali <brunoocasali@gmail.com>

Co-authored-by: Bruno Casali <brunoocasali@gmail.com>
  • Loading branch information
gmourier and brunoocasali committed May 16, 2022
1 parent 72d5114 commit a1ceb5f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions text/0034-telemetry-policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,12 @@ 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

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.

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

#### Identifying MeiliSearch installation

To identify instances, we generate a unique identifier at first launch if analytics are not disabled.
Expand Down

0 comments on commit a1ceb5f

Please sign in to comment.