> For the complete documentation index, see [llms.txt](https://help.orbe.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.orbe.app/selectors/geolocation-button.md).

# Geolocation Button

The Geolocation Button is an **app block** that allows you to add a customizable country and language selector anywhere on your Shopify store.

This button enables your customers to **select their preferred country and language**, enhancing their shopping experience by ensuring they see the correct content and currency based on their choices.

{% embed url="<https://www.loom.com/share/5ce17db546a0462587188818bb128d06?sid=997da58f-e78f-4c27-91ad-c21c8ebff76f>" %}

The **Geolocation Button** can open either the **Geolocation Popup** or the **Market Selector modal**.

## How to use it

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td>➕ <strong>How to add</strong></td><td>Step-by-step instructions on adding the app block to your Shopify theme.</td><td><a href="/selectors/geolocation-button/how-it-works.md#how-to-add">How it works</a></td></tr><tr><td>🌟 <strong>How it works</strong></td><td>Quick start guide to get your Geolocation Button up and running.</td><td><a href="/selectors/geolocation-button/how-it-works.md#how-to-setup">How it works</a></td></tr><tr><td><strong>📍 Selector Placement</strong></td><td>How to position the Geolocation Button anywhere in your theme.</td><td><a href="/selectors/geolocation-button/selector-placement.md">Selector Placement</a></td></tr><tr><td><strong>🎨 Variables</strong></td><td>Customize the button’s appearance to create a personalized look and feel.</td><td><a href="/selectors/geolocation-button/variables.md">Variables</a></td></tr><tr><td><strong>⚒️ Custom Code</strong></td><td>Use custom CSS o JavaScript inside the app.</td><td><a href="/selectors/geolocation-button/custom-code.md">Custom Code</a></td></tr></tbody></table>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.orbe.app/selectors/geolocation-button.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
