> 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="/files/HyPTP1i9auOu4CanWUUo" 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="/files/kopNxglvveEcmzytKMjm" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/01Wc99iQZ15QuNrWaBPs" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
