> For the complete documentation index, see [llms.txt](https://docs.didomi.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.didomi.io/integrations/content-management-system-cms/shopify/add-purpose-to-shopify-consent-notice.md).

# Add purpose to Shopify consent notice

In order to successfully display a Didomi consent notice on your organization's Shopify store all consent notice purposes need to be mapped to Shopify consent categories. If a new purpose is added to a consent notice, the new purpose will need to be mapped to the Shopify consent category. In this article, we will cover the experience of adding a purpose to a Shopify consent notice.

{% hint style="info" %}
Didomi automatically maps IAB purposes to Shopify consent categories by default. [Click here](https://docs.didomi.io/integrations/content-management-system-cms/shopify/shopify-default-mapping.md) for more information.&#x20;

Any custom or global purposes added to a Shopify consent notice will need to be mapped manually
{% endhint %}

To start, click **Consent notice** on the left-hand panel and select the consent notice that is deployed on your Shopify store.

<figure><img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FaziJXhlkgoE9pSdecAbG%2FScreenshot_2026-04-24_at_10_00_04%E2%80%AFAM.jpg?alt=media&amp;token=0d822bfa-f34a-41ca-88ee-80f5bcdad12c" alt="" width="563"><figcaption></figcaption></figure>

Ensure the **Regulations** tab is selected and click **Edit Vendors & Purposes** inline with a regulation for which a new purpose will be added.

<figure><img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FnAywrl3zqDPfjUZzXPIV%2FScreenshot%202026-04-24%20at%2010.21.06%E2%80%AFAM.png?alt=media&amp;token=8864549e-577f-427b-b529-42ae021ccc3c" alt="" width="563"><figcaption></figcaption></figure>

In the example below, we are using the **Vendors** section of the subsequent page to add a new vendor (**CustomVendor**) to the regulation. The newly added vendor will add the purpose **AB testing**.

Click **Save** when finished.

<figure><img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FbBxZDvJ7rgFJRPH2Vj9V%2FScreenshot_2026-04-24_at_10_55_01%E2%80%AFAM.jpg?alt=media&amp;token=1377acc6-827a-4ce9-9640-824034f5ebe0" alt="" width="563"><figcaption></figcaption></figure>

With a new purpose added to the consent notice, select the **Publish** tab and then click **Publish**.

<figure><img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FoJJzD1Uf8Rfe3p3qxjUc%2FScreenshot%202026-04-24%20at%2011.01.56%E2%80%AFAM.png?alt=media&amp;token=9e5e4ca5-5df9-4a2e-abe8-306b1d53d4f2" alt="" width="563"><figcaption></figcaption></figure>

Confirm the decision to publish the consent notice in the subsequent modal and click **Publish**.&#x20;

<figure><img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FpSMKZfZRdKiWo1E5vOVJ%2FScreenshot%202026-06-05%20at%2011.06.18%E2%80%AFAM.png?alt=media&amp;token=7035015f-877e-4579-9a9c-683422127ad3" alt="" width="375"><figcaption></figcaption></figure>

If a new purpose was added to the consent notice (and it is deployed to a Shopify store) a secondary modal will inform you of this deployment. Click **Go to Shopify admin** to access the admin view of the Shopify store and continue with the mapping.

<figure><img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FnZ87tJSP0DyT3lpuIm8K%2FScreenshot%202026-04-24%20at%208.48.16%E2%80%AFAM.png?alt=media&amp;token=4c5e7ba0-d346-439a-858d-a06405ed6919" alt="" width="375"><figcaption></figcaption></figure>

From the admin view of your Shopify store, click **Settings** underneath the Didomi app on the left-hand panel.

<figure><img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FLO31WKsxLeBaCzKWKOzw%2FScreenshot%202026-04-23%20at%204.24.29%E2%80%AFPM.png?alt=media&amp;token=9c4bd70a-9430-47af-a7a3-a2decd89ad8e" alt="" width="563"><figcaption></figcaption></figure>

Navigate to the **Purpose mapping** card and locate the newly added purpose on the list. Use the provided field inline with the new purpose to select a Shopify consent category to which it maps.

{% hint style="info" %}
Didomi automatically maps IAB purposes to Shopify consent categories by default. [Click here](https://docs.didomi.io/integrations/content-management-system-cms/shopify/shopify-default-mapping.md) for more information.&#x20;

Any custom or global purposes added to a Shopify consent notice will need to be mapped manually
{% endhint %}

<figure><img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2Fz7BXDxkd7SpyCiqELexy%2FScreenshot%202026-06-05%20at%2011.09.22%E2%80%AFAM.png?alt=media&amp;token=3594a9a8-ae01-4864-ac86-5e3f1f57b3df" alt="" width="563"><figcaption></figcaption></figure>

Click **Save** when finished.


---

# 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://docs.didomi.io/integrations/content-management-system-cms/shopify/add-purpose-to-shopify-consent-notice.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.
