Cookie Consent Test

Overview

This simple page embeds your cookie consent script from http://localhost:3001/script/script.js using the provided API key.

Quick Checks

Set a Test Cookie

Sets a session cookie named demo_cookie.

Read Document Cookies

Shows the current document.cookie value.


          

Optional: Example of a non‑essential script

If your consent tool blocks non‑essential scripts until approval, you can adapt patterns like using a different type (e.g. text/plain) with data attributes and let your tool enable them after consent. This is just a placeholder example and won’t auto‑run without your consent logic.