> For the complete documentation index, see [llms.txt](https://help.littledata.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.littledata.io/partner-recipes/cookie-consent-integrations/integrating-pandectes-with-shopify.md).

# Integrating Pandectes with Shopify

Pandectes has the option to [enable Consent Mode](https://help.pandectes.io/en/article/using-google-consent-mode-integration-1xkfv6o) in Google Analytics, and load the Google tracking libraries. You don't need this, as Littledata provides it once you enable **Consent mode** on your Google Analytics destination — see [Using Google Consent Mode v2](/integrations/shopify-to-google-analytics/using-google-consent-modev2.md#how-to-turn-on-consent-mode).

## Integrating Pandectes with Shopify

[Pandectes](https://pandectes.io/) helps you manage your customers' cookie preferences and [comply with GDPR](https://help.littledata.io/partner-recipes/cookie-consent-integrations/shopify-customer-consent-api). Two Pandectes settings can stop Littledata's script from running. This page shows you how to turn them off so both work together.

Littledata already handles Google Consent Mode for you once you turn on **Consent mode** on your Google Analytics destination. See [Using Google Consent Mode v2](https://help.littledata.io/integrations/shopify-to-google-analytics/using-google-consent-modev2#enabling-consent-mode). You don't need Pandectes to do it too.

Before you start, set up your Shopify customer privacy settings as described in [Using cookie consent banners for GDPR compliance](https://help.littledata.io/partner-recipes/cookie-consent-integrations/shopify-customer-consent-api#banner-regions-in-shopify-settings).

### Turn off Google Consent Mode in Pandectes

Pandectes can [turn on Google Consent Mode](https://help.pandectes.io/en/article/using-google-consent-mode-integration-1xkfv6o) and load Google's tracking libraries itself. This can block Littledata's script.

{% stepper %}
{% step %}

#### Open integrations

In the Pandectes app, go to **Settings** > **Integrations**.
{% endstep %}

{% step %}

#### Switch off Google Consent Mode

Turn off the **Google Consent Mode** toggle.

![](https://storage.crisp.chat/users/helpdesk/website/b45f258b6fdab800/c92dcfe0-4a95-4165-8c17-9ea4d1_mgrre4.png)
{% endstep %}
{% endstepper %}

### Turn off the consent event

Pandectes can also add a [Cookie Consent event to the dataLayer](https://help.pandectes.io/en/article/cookie-consent-event-in-datalayer-p7v670). This custom event runs code like the one below, which stops Littledata from loading Google's tracking script.

![custom-event-which-blocks-tracking](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-cd206ae0983b4482d5382285dc19a89f292faf12%2Fscreenshot-2023-11-28-at-12.30.55.png?alt=media\&token=c975db6c-83f8-4ec4-a9f6-31c33ef8a920)

{% stepper %}
{% step %}

#### Disable the custom event

In Pandectes, turn off the **Cookie Consent event in dataLayer**. See [Pandectes' guide](https://help.pandectes.io/en/article/cookie-consent-event-in-datalayer-p7v670) for where to find it.
{% endstep %}
{% endstepper %}

### Related articles

* [Using cookie consent banners for GDPR compliance](https://help.littledata.io/partner-recipes/cookie-consent-integrations/shopify-customer-consent-api)
* [Using Google Consent Mode v2 with Shopify](https://help.littledata.io/integrations/shopify-to-google-analytics/using-google-consent-modev2)
