> 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/variables.md).

# Variables

The Geolocation Button app block provides a range of customizable variables, allowing you to adjust its appearance to match your store's style and needs. These variables can display country flags, currency symbols, and other relevant details to create a localized experience for your customers.

Below is a list of available variables and examples of how to combine them to create unique button styles.

## Available variables

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><code>{square_flag}</code></td><td>Displays a square version of the country flag.</td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2FWdAF33omEWIQloBdI2Y3%2Fsquare_flag.png?alt=media&amp;token=cdb54d75-d220-40bb-b9e9-a77458b02af2">square_flag.png</a></td></tr><tr><td><code>{rounded_flag}</code></td><td>Shows a rounded version of the country flag.</td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2FVATduA57lx36zPdqnXwG%2Frounded_flag.png?alt=media&amp;token=978e7b15-8cab-4465-91bf-52e5b7c2a110">rounded_flag.png</a></td></tr><tr><td><code>{circle_flag}</code></td><td>Displays a circular version of the country flag.</td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2FGmExApcWsgP2VuLTDl2r%2Fcircle_flag.png?alt=media&amp;token=22a79a73-e6ce-4135-a95e-c990a3d52f7c">circle_flag.png</a></td></tr><tr><td><code>{icon}</code></td><td>The icon you have uploaded in the icon input.</td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2Fk2qkH9sFKATaL3xaVNX2%2Ficon.png?alt=media&amp;token=eb54645b-ade5-458c-aac3-56ae245cb60b">icon.png</a></td></tr><tr><td><code>{icon_code_svg}</code></td><td>The SVG icon you have pasted inside the Icon (SVG code) input.</td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2Fk2qkH9sFKATaL3xaVNX2%2Ficon.png?alt=media&amp;token=eb54645b-ade5-458c-aac3-56ae245cb60b">icon.png</a></td></tr><tr><td><code>{country}</code></td><td>Full country name (e.g., "United States").</td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2FFgYbqqEpsr5cctnt7rUb%2Fcountry.png?alt=media&amp;token=15f90d47-fc27-40ef-8c5e-f932707b7ac8">country.png</a></td></tr><tr><td><code>{country_code}</code></td><td>2-letter ISO code of the country (e.g., "US").</td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2F57zjGYhw5rsxcBbykYzi%2Fcountry_code.png?alt=media&amp;token=c464ce4c-3b57-4a36-a366-8a36a910132d">country_code.png</a></td></tr><tr><td><code>{currency_symbol}</code></td><td>Currency symbol (e.g., "$" or "€").</td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2FspWVdMVUzUOXT6JJjSrK%2Fsymbol.png?alt=media&amp;token=c4fe2a8a-680d-42fa-82cd-688aba8b18d0">symbol.png</a></td></tr><tr><td><code>{currency_code}</code></td><td>Abbreviated currency code (e.g., "USD" or "EUR").</td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2FsJNoWZy348hUNeuRDDF6%2Fcode.png?alt=media&amp;token=43c513b1-d369-41cd-aefa-9025c71bc9bf">code.png</a></td></tr><tr><td><code>{language}</code></td><td>Language name (e.g., "English", "Spanish").</td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2FIKyF7ztt1JDT6jYd7asK%2FXnapper-2024-11-27-18.06.40.png?alt=media&amp;token=93edd43d-b261-4ee3-97ea-f167afdf91e5">Xnapper-2024-11-27-18.06.40.png</a></td></tr><tr><td><code>{language_code}</code></td><td>Language code in ISO 639-1 format (e.g., "en", "es").</td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2F3Mzbhrz0dBRx8AxBN2yg%2FXnapper-2024-11-27-18.06.58.png?alt=media&amp;token=7517297c-b9be-461c-b3ff-cf9a2d766dd5">Xnapper-2024-11-27-18.06.58.png</a></td></tr><tr><td><code>{disclosure}</code></td><td>An arrow or disclosure icon indicating additional options or a dropdown menu.</td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2FKPgKqroKRRWW0GiB6oQA%2Fdisclosure.png?alt=media&amp;token=09b52c92-05b8-40b0-85c8-aa22b5751fa0">disclosure.png</a></td></tr></tbody></table>

### Combined examples

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><code>{circle_flag} {country} ({currency_code})</code></td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2FuyHZMNMt1hOPclgucxh1%2Fcombined.png?alt=media&amp;token=7a96a845-36a9-4640-a59c-b49962dd3cdd">combined.png</a></td></tr><tr><td><code>{square_flag} {country_code}</code></td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2F5L3YMjTYhvV8QKPI0mdI%2FXnapper-2024-11-05-20.10.24.png?alt=media&amp;token=15e069d0-a345-4afa-ad34-3f38d864714d">Xnapper-2024-11-05-20.10.24.png</a></td></tr><tr><td><code>{icon} {currency_code}</code></td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2Fq4r8qA9EeBPgTG4Scg1H%2FXnapper-2024-11-05-20.08.27.png?alt=media&amp;token=690054ca-3f18-41b2-bacd-631da0116d1f">Xnapper-2024-11-05-20.08.27.png</a></td></tr><tr><td><code>{square_flag} {currency_code} {disclosure}</code></td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2FTex3LlnA6HJwytD586B4%2FXnapper-2024-11-05-20.08.45.png?alt=media&amp;token=1ecb7938-aa9a-4dbd-a999-47f64ec38c11">Xnapper-2024-11-05-20.08.45.png</a></td></tr></tbody></table>

## Learn more about

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td>Custom CSS</td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2FBa3J9OzUROe6YZj8o1Mx%2FXnapper-2024-11-05-17.51.48.png?alt=media&amp;token=9ca9f347-c43f-45eb-a02a-d4feeb30cbe0">Xnapper-2024-11-05-17.51.48.png</a></td><td><a href="/selectors/geolocation-button/custom-code.md">Custom Code</a></td></tr><tr><td>Custom JavaScript</td><td><a href="https://1070558711-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pRSk2pXNrLaA6YXOW5G%2Fuploads%2F2nAgTfDHhHZq7qV5hKJM%2FXnapper-2024-11-05-17.52.05.png?alt=media&amp;token=bf6ad279-74ab-4326-808f-5852db56070e">Xnapper-2024-11-05-17.52.05.png</a></td><td><a href="/selectors/geolocation-button/custom-code.md#custom-javascript">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/variables.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.
