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

# Configure consent settings

> Set your storefront consent checkbox text, policy link, targeting surfaces, colors, and compliance export from the ConsentAI admin page.

# Configure consent settings

## What does this do for me?

Set exactly what shoppers see, where the checkbox appears, how it looks, and export consent logs — all from the ConsentAI settings page.

## 1. Open settings

Open ConsentAI from your Shopify admin. The **Storefront consent settings** section contains all controls.

## 2. Set consent text and links

Use the master toggle to turn the storefront checkbox on or off, then set the text fields below. The checkbox text, link text, and Terms URL are snapshotted into every consent log; the validation error message is shown to shoppers but is not stored.

* **Enable required T\&C consent checkbox** — master toggle for the storefront checkbox.
* **Checkbox text** — the label shoppers read next to the checkbox. This exact text is snapshotted into every consent log.
* **Link text** — the clickable text for the policy link.
* **Terms URL** — the policy URL. Enter a relative URL like `/policies/terms-of-service` or a full `https://` URL.
* **Validation error message** — the message shown when a shopper tries to check out without agreeing.

## 3. Choose where to enforce consent

Toggle each checkout surface independently. Premium surfaces are visible but disabled until the required plan is active.

| Surface | Plan | What it does |
| - | - | - |
| **Cart checkout buttons** | Free | Block cart checkout until shoppers accept your terms. |
| **Product page add-to-cart and checkout form** | Pro | Gate the product page checkout form. |
| **Dynamic checkout buttons (Buy it now)** | Pro | Gate one-click buy buttons. |
| **Accelerated checkout buttons (Apple Pay, Shop Pay)** | Pro | Gate wallet-based checkout where theme interception is available. |

## 4. Customize colors

Set four widget colors:

* **Text** — the consent text color.
* **Accent** — the link and checkbox accent.
* **Background** — the widget background.
* **Border** — the widget border.

All plans can set colors. A live preview updates as you adjust values.

## 5. Custom CSS (Advanced)

With the **Advanced** plan, paste CSS to style the consent widget. Rules are auto-scoped to the `.pcnaid-tnc-wrapper` container, so selectors like `.pcnaid-tnc-label` apply only inside the widget. `@import`, `expression()`, `javascript:`/`data:` URLs, HTML/script tags, and page-wide selectors (`:has()`, `:root`, `html`, `body`) are rejected.

## 6. Multi-language text (Advanced)

With the **Advanced** plan, add per-language consent copy:

1. Enter a BCP-47 locale code (e.g., `fr`, `es`, `de`, `pt-BR`).
2. Click **Add language**.
3. Select the language and fill in the translated checkbox text, link text, terms URL, and error message.
4. Shoppers automatically see the text matching their storefront language.

## 7. Save and sync

Click **Save** or use the **Save** button in the App Bridge save bar. A success message confirms settings were saved, versioned in Shopify metaobjects, and published to the theme app extension.

## 8. Compliance export (Advanced)

On the **Advanced** plan, click **Download CSV** under **Compliance exports** to export consent logs. The export covers your plan's retention window and includes integrity verification — tampered evidence causes the export to refuse output.

## Reset to defaults

Click **Reset to defaults** in the secondary actions to replace your consent text, colors, surfaces, and translations with Pcnaid defaults. This action cannot be undone.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.