Skip to main content
The userToken parameter links a search request to a specific pseudonymous user.
It enables features that rely on user-level tracking, including:

Usage

  • If you don’t set a token, Algolia falls back to the user’s IP address.
  • Use the same token across all search, click, and conversion events. This keeps behavior tracking consistent.
  • Don’t include personal data that identifies users in the user token.
For more information, see User token.

Example

Current API clients

Last modified on September 16, 2026