Cookies are still present even though I have refused all

If the cookie is not managed by GTM and it is still saved (even if consent is refused):

Endure that your domain matches the one indicated in the cookie manager. Sometimes, when testing in a test environment, the domain name may not match. You will only be able to test the banner once it is deployed in production on the final domain.

If it is an external script (e.g. map.google, facebook.com, youtube.com):

  • Check that Regex is written correctly.
  • Ensure there are no errors in the console (e.g., "Uncaught SyntaxError: invalid regular expression flags"), which would indicate an incorrect Regex.

If the cookie is managed by GTM, validate the configuration with an SEO expert.

If it still doesn't work and this script must be absolutely blocked, you will have to do it manually: add in the <script> tag the text/plain type and the data-cookiecategory tag with the correct cookie category such as: 

<script type=’text/plain’ data-cookiecategory='analytics' src=’https://www.google.com/recaptcha/api.js></script> 

This will ensure that the script will only load upon explicit consent of the cookie category specified in data-cookiecategory.

Important:
If you have accepted cookies and then refuse them later, only first-party cookies are automatically deleted.
In case of refusal, new cookies are not created, but those already created and linked to external domain names can only be deleted manually.

/clients

these industry leaders trust us