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

# Why cookie banner appears again after consent is given?

### Introduction

Cookie banners are essential for ensuring **GDPR** compliance, but some Shopify merchants notice that **the banner reappears even after customers have accepted it**. This can be confusing for both customers and store owners. While **this is not an issue with Pandectes GDPR app**, several common scenarios could cause this behavior. These include conflicts with other apps, certain browser settings, or misconfigured domains. Below, we’ll explore these potential causes to help you identify why the cookie banner keeps reappearing in your store.

Before you continue, make sure you have read our [installation guide](https://help.pandectes.io/en/article/installation-guide-1ell1h8/) properly. 

### Why Does the Cookie Banner Keep Reappearing?

We recommend following a structured process to identify the cause. The most frequent culprits are **private browsing**, **conflicts with other apps or plugins**, and **browser or domain misconfiguration**. By focusing on these three common causes, you can limit the need for extensive troubleshooting and quickly pinpoint why the banner keeps poping up in your Shopify Store. 

###### Case 1: Private Browsing Mode

Private browsing or incognito mode prevents cookies from being stored between sessions. When customers visit your store in private browsing mode, their consent may not be saved, which causes the cookie banner to reappear.

**The issue often arises when the browser is set to clear cookies automatically or when another app or service deletes cookies.** Sometimes, this happens without the user realizing it, especially if there are other settings or apps involved.

To diagnose the issue, follow these steps:

1. **Open** your Shopify store **in private/incognito mode** on a browser.
2. **Accept** the cookie banner and navigate through a few pages on the site.
3. If the banner reappears, you need to check your browser's settings. In this case, the browser might be configured not to store cookies after the session ends. To fix this, disable any settings or apps that automatically clear cookies.

| Private browsing is designed to delete cookies automatically once the session ends. Customers can switch to regular browsing mode for cookies to be stored and consent to persist across visits

Here's how you can check in different browsers:

**Google Chrome**:

1. Open the Chrome menu (three dots in the top-right corner) and go to **Settings**.
2. Scroll down and click on **Privacy and Security**.
3. Select **Third-party cookies**, and ensure the option "Allow third-party cookies" is **turned on**.

**Mozilla Firefox**:

1. Open the Firefox menu (three horizontal lines) and go to **Settings**.
2. Under **Privacy & Security**, scroll to **Cookies and Site Data**.
3. Make sure "Delete cookies and site data when Firefox is closed" is **unchecked**.

**Safari**:

1. Open Safari and go to **Preferences** from the Safari menu.
2. Click on the **Privacy** tab.
3. Ensure that **Block all cookies** is **unchecked**.
---

To further test in regular mode:
1. Open your browser.
2. Open your Browser’s **Developer Tools > Cookies > Clear Cookies**.
3. Reload the site, accept the cookie banner, and navigate again.

After following these steps the banner should behave correctly on the regural browsing too.  **If the banner behaves correctly** in both regular and private modes,**everything is working as expected,** and no further action is needed. **If the issue persists**, either in regular or private browsing, **continue reading the guide** to explore other possible reasons for the banner reappearing.

###### Case 2: Conflicts with third-party consent managment platforms or other optimization apps

Another common issue arises when multiple apps attempt to manage cookies or privacy settings. To ensure your store operates smoothly, we recommend **checking the installed apps** on your Shopify store to confirm that your store’s **source code is clean**, allowing Pandectes GDPR compliance app to load correctly.

Before proceeding, **ensure** that the `pandectes-rules` snippet **has been properly placed at the top of your** `theme.liquid` file, as shown in the screenshot below. If the **pandectes-rules** snippet is not present, refer to **Step 3** in our [installation guide](https://help.pandectes.io/en/article/installation-guide-1ell1h8/) and follow the steps carefully.

**Check Installed Apps:**

1. Open the **Shopify Online Store** dashboard.
2. Navigate to the **Apps** section and look for other cookie banner apps
If any additional cookie-related apps are installed, uninstall them to avoid conflicts.

**Inspect Theme Code for Residual Scripts:**

1. Navigate to **Online Store > Themes > Edit Code > Theme.liquid** file.
2. Search for keywords or suspicious code related to cookie banners, consent management platforms (CMP), or GDPR compliance.

Delete any leftover scripts or files from previously uninstalled apps that might interfere with the Pandectes GDPR app.

###### Case 3: Browser and Domain Settings

If the issue persists, check your browser settings and the domain settings in the Pandectes GDPR app.

* **Browser Settings:** Ensure that the browser is not set to "never save cookies," as this would prevent the cookie banner from functioning properly. Also check if you use any browser plugin that deletes cookies on each page load.
* **Domain Settings:** Verify that the correct domain is configured for cookie storage in the Pandectes GDPR app settings. If another domain is incorrectly configured, it may cause the app to fail to store the user’s consent preferences properly.

Still can't find the issue on your end? Please contact us.
