> For the complete documentation index, see [llms.txt](https://cmp.docs.sirdata.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cmp.docs.sirdata.net/en/faq/others/shopify-customer-privacy.md).

# Shopify Customer Privacy

**What is Shopify Customer Privacy?**\
\
It’s a Shopify feature that allows you to manage the collection and use of visitors’ personal data in order to comply with data protection laws (GDPR in Europe, CCPA/CPRA in California, LGPD in Brazil, etc.).\
\ <br>

**So, what’s the purpose?**

* **Display a consent banner** (cookie banner) to visitors, to collect their agreement for marketing and analytics tracking.
* **Control tracking tags** (Google Analytics, Meta Pixel, TikTok, etc.) based on user choices.
* **Automatically block scripts** until the visitor has given consent.
* **Transmit the consent status** to partner platforms (e.g., via Google Consent Mode or Meta).<br>

Here is a visual diagram that illustrates the interaction between:

* **Shopify Customer Privacy** (native consent management framework)
* **Sirdata CMP** (banner that captures user choices)
* **Google Consent Mode v2 & partner scripts** (GA4, Meta, TikTok, etc.)\ <br>

  <figure><img src="https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2FF1YX6a2gjJoeN4LrZ20U%2Foutput%20(1).png?alt=media&amp;token=8e62156e-d442-4e46-b9c0-a0e0188a817f" alt=""><figcaption></figcaption></figure>

If your site uses Shopify, we recommend enabling the option in your console : <https://www.abconsent.com/sites/configurations>

<figure><img src="https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2FOqlgvSXXaCUomrYBqjt5%2Fimage.png?alt=media&amp;token=2b9b6dee-89ce-46e9-b1af-4a0cd6e9c260" alt=""><figcaption></figcaption></figure>

Then enable the add-on : **Shopify Customer Privacy** + click on **Save**\ <br>

<figure><img src="https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2FV3AcaEW124qjWfAe58Et%2Fimage.png?alt=media&amp;token=5672c6bd-ba71-40f9-a6cd-b77a1f31fc5b" alt=""><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cmp.docs.sirdata.net/en/faq/others/shopify-customer-privacy.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
