Add a Service the Cookie Scan Missed with WPConsent and AI
A service the scan missed declared in the right category, with its cookies, in your banner and cookie policy.
Prerequisites
A site connected to WPVibe running WPConsent 1.2.1 or newer (tested on 1.2.1, free) on WordPress 6.9 or newer, with an administrator account.
My WordPress site uses WPConsent. Add [the service, for example our Tawk.to live chat or our Calendly booking widget] to my cookie list, with its cookies: [each cookie's name, how long it lasts and what it does, from the service's cookie or privacy page, or leave this out], [the service's privacy policy address, if you have it]. 1. Run discover_abilities with category wpconsent-cookies, then wpconsent-settings, wpconsent-scanner and wpconsent-tools. If the WPConsent abilities this needs are not there, stop and tell me to install or update the free WPConsent plugin (1.2.1 or newer, on WordPress 6.9 or newer). 2. Run wpconsent/list-services. If a service with the same or a similar name is there, show it and its cookies (wpconsent/list-cookies with its category_id, those with its service_id), and ask whether to add the missing cookies to it instead of making a second one. 3. Run wpconsent/list-categories and suggest one, saying why: Statistics for measuring visits, Marketing for ads, retargeting and anything that follows visitors across sites, Essential only for what the site can't work without (visitors can't decline Essential, so never a tracking, advertising or chat service). Chat, booking and video widgets that set their own cookies have no matching default category: suggest Marketing, or a new category such as Functional made with wpconsent/add-category if I prefer; tell me before making one that a new category brings the banner back for every returning visitor, since their saved choice doesn't cover it. Run wpconsent/get-scan-results: if the last scan lists this service, stop and tell me to add it from the scan instead (the setup recipe, with wpconsent/configure-detected-services, which adds it with its cookies in WPConsent's category for it; WPConsent holds a script it recognizes back under that category, whatever a hand-made entry says). Wait for my yes. 4. Run wpconsent/get-settings: if manual_toggle_services is true, tell me adding a service brings the banner back for returning visitors, and wait for my yes. Run wpconsent/add-service with name, category_id, a one-sentence description of what it does on my site, and url set to the service's privacy policy address only if I gave it; otherwise leave it out and tell me to add it later. 5. For each cookie I gave, run wpconsent/add-cookie with cookie_id set to the exact cookie name, a readable name, a one-sentence description, duration as written (for example 1 year, or session), category_id the same as the service's, and service_id. Never invent cookie names or durations: if I gave none, add the service without cookies and tell me where to find them (the service's cookie policy, or my browser's developer tools under Application, Cookies, after using the service on my site). Then run wpconsent/list-cookies with the category_id: if it is empty, tell me the service won't appear on the cookie policy page until it or its category has at least one cookie (the banner's preferences still list it). 6. Run wpconsent/clear-cache, then wpconsent/list-cookies with the category_id and confirm each cookie is listed under the service. Then run run_wp_cli with cache purge, so visitors get the new list (a CDN in front of my site may need its own purge). 7. Tell me what you added. Then tell me this lists the service in the banner's preferences, and on the cookie policy page once its category has a cookie, and that unless WPConsent recognizes the service's script, its free version doesn't hold that script back until consent: blocking scripts it doesn't recognize is a WPConsent Pro feature. For embedded videos and maps, WPConsent holds back the embeds it recognizes only while its content blocking setting is on (off by default). If the service has its own consent setting, tell me to look for it in the service's docs.
Skip pasting the full prompt. Drop this into your AI on a site that already has WPVibe:
Run the “Add a Service the Cookie Scan Missed with WPConsent and AI” recipe from the WPVibe cookbook on my connected site.
You added a live chat, a booking widget or an embedded video, and it sets cookies the scan never saw: it loads after a click, sits on one page, or isn’t in WPConsent’s library. Your banner and cookie policy now leave it out.
The AI checks the service isn’t declared already, suggests the right category and waits for your yes, then adds the service and each cookie you give it, with what it does and how long it lasts. It never makes up cookie names: without them it adds the service alone and tells you where to find them.
Declaring a service with its cookies lists it in the banner’s preferences and on the cookie policy page. Unless WPConsent recognizes the service’s script, its free version doesn’t hold that script back until consent; blocking other scripts is a WPConsent Pro feature.
Outcome
The service listed under the category you chose, with its cookies, in the banner's preferences and, once it has cookies, on the cookie policy page.