Date: July 30, 2025 We’re excited to announce a new
userLocation
parameter that lets you bias search results based on a user’s geographic region. The location is passed as an ISO 3166-1 alpha-2 country code (e.g., “fr” for France, “us” for the United States).
If this field is provided, search will return results that are more relevant to users in the provided region.
When to Use Geolocation Filter
TheuserLocation
parameter is particularly useful for:
- Multi-regional applications: Show users content that’s relevant to their region
- Language-specific content: Prioritizing content in regional languages
- Local discovery: Surface products or businesses relevant to the users region
How To Use Geolocation Filter
Here’s how to implement the newuserLocation
parameter: