# Cookie banner and popup

## Cookie banner

Part of every page. It can be edited but not added or removed.

### Settings

Shows where Shopify asks for consent (Settings > Customer privacy) and records the choice through Shopify, as Shopify's own banner does. Turn Shopify's banner off there so only one shows.

| Setting | Choices |
| --- | --- |
| Show banner | On by default |
| Color scheme | Paper (default) |
| Text |  |

#### What's used

The tools that use each kind of cookie, separated by commas. Leave one empty to hide its list.

| Setting | Choices |
| --- | --- |
| Preferences |  |
| Analytics |  |
| Marketing |  |

Also: Heading, as on every section (see [How sections work](https://rang.studio/themes/flacon/guide/how-sections-work/)).

## Promo popup

Part of every page. It can be edited but not added or removed.

### Settings

One offer in a popup: a newsletter signup with a welcome code, or a sale. It waits for the cookie banner and any open drawer, shows at most once per visit, and never on the cart page, account pages, or 404 page.

| Setting | Choices | Notes |
| --- | --- | --- |
| Show popup | Off by default |  |
| Layout | Note, a card in the corner (default); Letter, centered over the page |  |
| Offer | Newsletter (default), Sale | Newsletter shows an email field and then the code. Sale shows a button. |
| Color scheme | Paper (default) |  |
| Photo | Image |  |
| Show the photo on phones | Off by default | Off keeps the popup short on small screens. |
| Text |  |  |

#### Newsletter

| Setting | Choices | Notes |
| --- | --- | --- |
| Discount code |  | Create it under Discounts first, with the same code. Shown after signup and applied by the link under it. Leave empty for no code. |
| Eyebrow after signup |  |  |
| Heading after signup |  |  |
| Text after signup |  |  |
| Link label after signup |  |  |
| Link after signup | Link | Empty goes to all products. The code comes along to checkout. |
| Fine print after signup |  |  |

#### Sale

| Setting | Choices | Notes |
| --- | --- | --- |
| Button label |  | Empty uses Shop the sale. |
| Button link | Link |  |
| Fine print |  | For example, when the sale ends. |

#### Timing

| Setting | Choices | Notes |
| --- | --- | --- |
| Show after | 0 to 30 seconds, default 8 seconds | Or as soon as the visitor is halfway down the page. |
| Hide after closing for | 1 to 60 days, default 14 days | After a signup it never shows again. |

Also: Eyebrow and Heading, as on every section (see [How sections work](https://rang.studio/themes/flacon/guide/how-sections-work/)).