As of 13 August 2026, AI can only partly create a cookie consent banner for your website.
This still needs a person who signs their name to it.
Can you do it?
15 minutesto a draft.
1 hourto something you’d act on.
Cost, all in£0
Skill neededpower-user
Who has to check ita professional
What the alternative costsTermly generates privacy policies, terms and cookie consent and keeps them updated.
If this goes wrong, non-essential tracking may run without valid consent and your organisation remains responsible for the consequences.
What to actually do
Hand it to a person
The route this page recommends
Someone with a licence or accountable authority has to sign this before it counts.
Use a tool built for this
Second choiceDo it yourself
The distant thirdA chat interface, power-user skill, and roughly 1 hour until you can act on the result.
How to actually do it
- Open your website in a private browser window and use the browser developer tools to record cookies, local-storage entries, network requests and third-party scripts loaded before any choice is made.
- Open the settings pages for your website platform, analytics, advertising, chat, video, payment and other third-party services, then gather their cookie and tracking details and note which scripts can be held back.
- Paste the gathered details, platform information and the copyable prompt into a chatbot, then ask it to produce the banner, preference centre, blocking code, assumptions and testing checklist.
- Open the generated code in a staging copy of your website and replace every marked placeholder with confirmed service, cookie, category and contact information.
- Test the staging site in a private browser window by rejecting all non-essential cookies, accepting only selected categories, accepting all, withdrawing consent and revisiting the site; compare the browser storage and network requests with the choices made.
- Test the banner on a phone and with keyboard navigation and a screen reader, then fix focus order, labels, contrast, dismissal behaviour and the ability to change the choice later.
- Send the final wording, cookie inventory, data flows, code and test results to your data-protection solicitor or other suitably qualified professional for a UK GDPR and PECR review before publishing.
Prompt
Create a cookie consent banner for a UK business website using the details below. This is a technical drafting task, not professional advice. Do not invent cookies, trackers, vendors, purposes, retention periods or legal conclusions. If information is missing, mark it as [NEEDS CONFIRMATION]. Website platform: [for example, WordPress, Shopify or custom site] Website URL or site description: [insert] Organisation and contact details: [insert] Known analytics, advertising, chat, video, payment and other third-party services: [list each one] Known cookies and local-storage items: [list them or say unknown] Scripts that currently load before consent: [list them or say unknown] Countries targeted by the website: [insert] Consent records or consent-management system already in use: [insert or none] Produce: 1. Plain UK English banner wording with separate options to accept all, reject non-essential cookies and manage preferences. 2. A preference centre with necessary, analytics, advertising and other relevant categories, making necessary cookies non-optional only where justified. 3. Accessible HTML, CSS and JavaScript suitable for the stated platform, with placeholders clearly labelled. 4. A method for preventing non-essential scripts from loading until the relevant consent is recorded, and for withdrawing consent later. 5. A list of every assumption and missing fact. 6. A testing checklist covering first visit, reject all, accept selected categories, withdraw consent, returning visits, mobile layout, keyboard use, screen readers, and script blocking. 7. A separate list of points that a UK data-protection professional must check against current UK GDPR and PECR before publication. Do not claim that the result is legally compliant. Keep the code separate from the explanation and never put real personal data into the example.
Open it prefilled in ChatGPT or Claude, or copy it into Gemini, which takes no prefill link.
What it gets wrong
- AI cannot discover every tracker hidden in your website, tag manager or third-party service without an accurate technical inventory.
- AI cannot determine from code alone whether your consent wording, purposes, retention periods and consent records meet your specific UK GDPR and PECR obligations.
- AI cannot take responsibility for unlawful tracking or complaints when the banner is wrong.
- AI-generated code can block the visible script while leaving another copy, tag-manager rule or server-side process active.
- A general chatbot does not maintain your live cookie list or automatically update your implementation when a supplier changes its tracking.
What caps this at PARTLY: legal accountability, verification cost and private data access.
How we scored this
Five axes, each scored nought to two by hand: ten means AI carries the task cleanly, and the thresholds that turn a total into YES, PARTLY or NO are published in the methodology. Each axis name links to its definition.
| Axis | Score (0–2) |
|---|---|
| Output | 2 |
| Inputs | 1 |
| Verification | 1 |
| Liability | 0 |
| Effort delta | 1 |
| Total | 5 / 10 |
The methodology and its thresholds are published in full.
FAQ
- Can ChatGPT make a cookie consent banner?
- Yes, it can draft the wording, preference centre and implementation code. It cannot know which trackers your website actually uses or confirm that the result is legally compliant, so you need a technical test and professional review.
- Is an AI cookie banner GDPR compliant?
- Not automatically. Compliance depends on your actual cookies, purposes, consent records, scripts and use of data, and AI cannot establish all of those from a generic request. This is not professional advice, and a UK data-protection solicitor should check a serious or high-risk implementation.
- Can AI block cookies until I give consent?
- It can draft code that blocks specified non-essential scripts until a consent choice is recorded. You must test the site because tags can also load through a tag manager, plug-in, embedded service or server-side process that the draft does not know about.
- What is the best AI tool for a cookie consent banner?
- A purpose-built consent platform such as Termly is a better fit than a general chatbot because it generates cookie consent materials and keeps them updated. It still needs accurate information about your website and should not replace a professional check where the consequences of an error are serious.
Nearby answers
- Can AI act as my business's data protection officer?NO
- Can AI audit my website cookies for PECR compliance?PARTLY
- Can AI build a data protection policy for my UK business?PARTLY
- Can AI check whether an AI tool creates UK GDPR risks for my business?NO
- Can AI check whether my international data transfers comply with UK GDPR?NO
- Can AI check my email marketing consent process under UK PECR?PARTLY
Assessed by gpt-5.6-luna (gpt-5.6-luna) on 2026-08-13, second-checked by an independent model. Wrong somewhere? Email [email protected] and it gets re-checked.
The newsletter
AI news, new answers and product picks, straight to your inbox.