# Data Sale Opt-Out Feature

### What Does the Data Sale Opt-Out Feature Do?

With this feature enabled, your store can display a **“Do Not Sell/Share My Data”** checkbox with a customizable label. This checkbox can be added to either the cookie banner or the preferences popup, depending on your chosen privacy flow and design.

### Key Capabilities

* **Customizable Checkbox Label:** You can edit the text shown next to the opt-out checkbox (e.g., “Do not sell or share my personal data”) to match your store’s voice or regulatory requirements.
* **Flexible Placement:** Decide whether the checkbox appears on the initial cookie banner, within the preferences popup, or both.
* **Automatic US Customer Detection:** Consentik automatically detects when a customer is visiting from the United States—where data sale opt-out is required by law.
* **Default State for US Visitors:** For visitors from the US, the checkbox is pre-checked by default, maximizing compliance and user awareness.
* **Consent Sync with Shopify:** When a US visitor interacts with the checkbox (checked or unchecked), Consentik automatically sends the updated consent status to Shopify, ensuring your store keeps accurate records.
* **Real-time Consent Update:** If a visitor unchecks the box, Consentik immediately updates their consent record and resends this information to Shopify.

***

### How It Works

1. **Enable Data Sale Opt-Out:** In the Consentik app dashboard, turn on the Data Sale Opt-Out feature.
2. **Configure Placement & Label:**
   * Choose where the checkbox will appear (banner, popup, or both).
   * Edit the label text to suit your store’s messaging.
3. **Automatic US Detection:** When a visitor from the US lands on your store, the checkbox will be shown and pre-checked.
4. **Consent Handling:**
   * If the customer leaves the box checked, their consent to opt-out of data sale/share is recorded and sent to Shopify.
   * If the customer unchecks the box, Consentik updates the consent and resends the new status to Shopify instantly.

***

### Best Practices

* **Be Clear:** Use straightforward, easy-to-understand language for your checkbox label.
* **Stay Compliant:** Regularly review privacy laws affecting your customers and update your consent flows as required.
* **Transparency:** Let users know what opting out means (e.g., in a tooltip or link to your privacy policy).

***

### Example Use Cases

* **US-based Shopify Stores:** Ensure you’re compliant with CCPA and similar regulations by offering a clear opt-out option.
* **Global Stores with US Traffic:** Automatically provide the opt-out for US visitors without disrupting the experience for others.


---

# Agent Instructions: 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:

```
GET https://docs.consentik.com/data-sale-opt-out-feature.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
