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.
Example
Current API clients
Current API clients
Legacy API clients
Legacy API clients