> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trylora.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure page targeting

> Control where Trylora can appear with ordered show and hide rules.

Page Targeting Rules decide whether Trylora is eligible to appear on the current page. Placement selectors decide where the inline button goes after the page is eligible.

## Default behavior

* With no show rules, Trylora is eligible by default unless a hide rule matches.
* When show rules exist, a page must match a show rule.
* Hide rules always take precedence over show rules.

## Rule types

| Rule type                          | Use it for                                          | Example                             |
| ---------------------------------- | --------------------------------------------------- | ----------------------------------- |
| **URL contains**                   | Stable URL fragments                                | `/products/` or `/collections/tops` |
| **URL regex**                      | Structured URL patterns                             | `^/products/.+-shirt$`              |
| **JSON-LD product title contains** | Product-title categories exposed in structured data | `Dress`                             |

Enter one value per line inside a rule. Multiple rules in the same group let you cover different page families.

## Common configurations

### Product pages only

Add a show rule:

```text theme={null}
Rule type: URL contains
Value: /products/
```

### Exclude clearance products

Add a hide rule:

```text theme={null}
Rule type: URL contains
Value: /collections/clearance
```

### Match product-title categories

Use **JSON-LD product title contains** only when the page has valid product JSON-LD and title naming is consistent.

<Warning>
  Test regular-expression rules before saving them. A broad hide rule can suppress Trylora across the entire storefront.
</Warning>

## Verify targeting

After selecting **Save Store Settings**, test at least:

* One page that should show Trylora
* One page that should not show Trylora
* A page that matches both a show and hide rule, confirming that the hide rule wins

If a page is eligible but the button is missing, review [Placement](/custom-storefronts/placement).
