> For the complete documentation index, see [llms.txt](https://approom.gitbook.io/eta/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://approom.gitbook.io/eta/badge-icon-and-label-pro-studio/main-features-and-usage/tabs/rules-tab-overview.md).

# Rules Tab Overview

In this section, you can create and manage rules for displaying your banners based on specific conditions. The interface allows you to add, edit, and delete rules to control where and when your banners appear.

**What You Can Do:**

* **Add Rule:**
  * Click on "Add Rule" to open the rule creation modal.
  * **Rule Name:** Specify the name of the rule.
  * **Condition:** Select the condition for the rule (e.g., Country, Stock Count, Device, URL).
  * **Value:** Provide the value for the selected condition.
  * **Is Active:** Toggle to activate or deactivate the rule.
* **Manage Rules:**
  * **Edit Rule:** Click on the edit icon next to an existing rule to modify it. This opens the rule editing modal where you can change the condition, value, and activation status.
  * **Delete Rule:** Click on the delete icon next to an existing rule to remove it. Deleting a rule is only possible if there is more than one rule.

**Example Conditions:**

* **Display Widget On:** Show the banner on all products.
* **Country:** Target specific countries to display the banner.
* **Stock Count:** Display the banner based on product stock levels.
* **Device:** Target specific devices (e.g., mobile, desktop) to display the banner.
* **URL:** Show the banner on specific URLs.

By using these features, you can ensure that your banner is displayed to the right audience under the right conditions, enhancing its effectiveness. Add, customize, and manage rules to tailor your banner's display settings precisely to your needs.


---

# 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://approom.gitbook.io/eta/badge-icon-and-label-pro-studio/main-features-and-usage/tabs/rules-tab-overview.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.
