> For the complete documentation index, see [llms.txt](https://docs.yaycommerce.com/yayreviews/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yaycommerce.com/yayreviews/settings/location.md).

# Location

### Overview

The **Location** setting in YayReviews lets you display the reviewer's country alongside their review. Showing where feedback comes from adds an extra layer of transparency and social proof, helping shoppers see that reviews come from real customers around the world (or close to home).

<figure><img src="/files/iFpapNoGi4I7XthzNkNp" alt=""><figcaption></figcaption></figure>

### How Location Detection Works

When this feature is enabled, YayReviews automatically detects the reviewer's country and displays it next to their name using a **flag emoji** for quick, at-a-glance recognition. Customers don't need to manually enter their location - detection happens automatically at the time the review is submitted, so there's no extra friction added to your review form.

#### Enable Location

* When enabled, YayReviews will **collect and display the reviewer’s country** alongside their review.
* The country is shown with a **flag emoji** for quick visual recognition.
* This information is automatically detected and does not require manual input from customers.

<figure><img src="/files/yOCWv4TbYz1RKjcRvPuY" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.yaycommerce.com/yayreviews/settings/location.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
