Articles on: Migrations Guides

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:


<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.



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:


<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:



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:



Last step


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


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).


Updated on: 14/03/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!