Introduction

Auto blocking is a new feature that is now part of the core functionality in the GDPR Compliance Center application.

This article covers the most common questions regarding this new and improved approach to handling scripts and ensuring Prior Consent in your store.

Why auto-blocking is important

Auto-blocking is very important to run on your store because is the only way to completely block cookies before they fire.

How to enable auto-blocking

In order to make the app block automatically cookies, you need to follow the instructions in order to add the appropriate script to your theme.liquid file. These instructions are:

  1. Navigate to the active Theme of your store.

  2. From the top bar, select more actions (three dots) and then click on the Edit code

  3. From the list of Layout assets, select the main theme.liquid to open in the editor

  4. Make sure that you copy the following code snippet and paste it just after the head tag at the top of the head section of your theme so that it loads before any other script in your theme.

    <!-- Pandectes tag-rules: place always first on your head section --> <script src="{{ 'pandectes-rules.min.js' | asset_url }}"></script>

  5. Click Save to update the file.

Once you've added the snippet it will run directly on your store. A number of predefined known scripts & cookies will be blocked right away until prior consent has been obtained. Changes to the Categorization of cookies in the app may take up to 1 minute to propagate to your store.

If you have any questions or problems please contact us for help.

Did this answer your question?