> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.pandectes.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Switching Consent Platforms: Cookiebot to Pandectes

### Introduction

If you previously used **Cookiebot** and are now switching to **Pandectes GDPR Compliance**, you must first remove all Cookiebot-related code from your Shopify theme. Running two consent platforms at the same time can cause duplicate banners and broken consent logic.

Below is exactly what you need to check and remove.

### Step 1: Check your theme.liquid file

Go to:

**Online Store > Themes > Edit code > Layout > theme.liquid**

Inside this file, look for a **Cookiebot script** inside the `<head>` section. It usually looks similar to:

```html
<script 
  id="Cookiebot"
  src="https://consent.cookiebot.com/uc.js"
  data-cbid="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  type="text/javascript"
></script>
```

If you find it, **delete the entire script tag**.

Save the file after making changes.

### Step 2: Check for a Cookie Declaration script

Some stores also add a **Cookie Declaration** script to a page (often the Privacy Policy or a Cookie Policy page).

In **Edit code**, search your theme files for:

```
consent.cookiebot.com
```

You may find a script similar to:

```html
<script
  id="CookieDeclaration"
  src="https://consent.cookiebot.com/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/cd.js"
  type="text/javascript"
  async
></script>
```

If present, **remove the script completely** and save the file.

### Step 3: Check Google Tag Manager (if used)

If your store uses **Google Tag Manager**, Cookiebot may have been installed there instead of directly in the theme.

Open your **GTM container** and check for:

* Tags referencing **Cookiebot**
* Scripts loading `consent.cookiebot.com`

If you find any, **remove or disable those tags** and publish the container.

### Step 4: Verify everything is removed

Open your storefront in an **incognito window**.

Confirm that:

* No **Cookiebot banner** appears
* No requests to `consent.cookiebot.com` load in the browser **Network** tab

### Last step

Once everything is clean, follow the official **Pandectes installation guide**:

[https://help.pandectes.io/en/article/installation-guide-1ell1h8/](https://help.pandectes.io/en/article/installation-guide-1ell1h8/)

After completing the installation guide, **Pandectes will take over consent management for your storefront (and checkout, if applicable)**.
