What it does

From the banner to the policies, in a single plugin.

Banner

  • Small, in a corner on desktop and full width at the bottom on the phone.
  • «Accept all» and «Reject» look the same; «Customise» opens the categories: necessary ones always, statistics and marketing only if the site actually uses them (a connected service, a script or a cookie of that category). The default message also names only those.
  • The X closes and counts as a refusal; the Esc key never chooses for the visitor. No cookie wall, scrolling is not consent.
  • Texts, colours and position are changed from the settings. Texts in English and Italian; on multilingual sites the default texts follow the language of each page and the hand-written ones are translated with WPML and Polylang, thanks to the included wpml-config.xml file.
  • No libraries and no external resources, compatible with page caching.
  • When you save the settings the plugin clears the page cache of LiteSpeed Cache, WP Super Cache, Cache Enabler, W3 Total Cache, WP Rocket, WP Fastest Cache, Breeze, Hummingbird, WP-Optimize, SiteGround Speed Optimizer and Nginx Helper, and that of Kinsta and WP Engine hosting: visitors see the new texts and the new version of the policy straight away, and a notice says which cache was cleared.

Consent and withdrawal

  • The choice is saved in a technical cookie with the consent ID, categories, policy version and date; the duration is configurable.
  • When the policy version is raised, the banner asks all visitors again.
  • The preferences recall is always available: floating cookie icon, or a «Cookie preferences» link at the bottom of every page.
  • The icon moves by itself above the other fixed elements it would cover, for example a chat button. If you choose the footer link, the icon settings disappear from the Banner tab.
  • Withdrawal denies consent to the services, deletes the category's cookies and reloads the page if its scripts had already started.

Integrations

  • Google Analytics 4 with Consent Mode v2: in basic mode, the default one, nothing is downloaded from Google before consent.
  • Google Tag Manager, loaded after the first consent, and Meta Pixel, loaded only after marketing consent.
  • Custom scripts by category, inert in the page until consent.
  • Any other script is kept blocked with an attribute, or with a filter for those enqueued by WordPress.
  • Cautious defaults: Google Signals and personalised ads disabled, Analytics cookies at 13 months.

Cookie scanning

  • Catalogue of the most common cookies: WordPress, WooCommerce, Elementor, Google, Meta, YouTube, Vimeo, Cloudflare, Hotjar, Clarity and others.
  • Scanning from three sources: active plugins and connected services, server responses on a sample of pages, cookies present in the administrator's browser.
  • Table with provider, category, purpose and duration of each cookie: it can be edited, excluded and completed by hand.
  • A cookie without a category stays out of the policy until it is classified.

Cookie Policy

  • The page is created with a three-step guided flow (data controller, site cookies, page) and is linked to the banner; afterwards you can view, edit or repeat the guided setup. Choosing a hand-written page instead turns the flow off, and the plugin advises against it: only the plugin knows which cookies the site really uses, including the technical ones.
  • It updates itself when the list changes. Text in Italian and English, with tables by category, other companies and transfers, withdrawal and rights.
  • A new optional cookie, a new company or a change of category prompts a new version, published only after the administrator confirms it.
  • On the phone each cookie becomes a card, with no sideways scrolling.
  • The page fits the site width and respects its margins even in themes built for Elementor and other page builders; the title is printed by the plugin in line with the text, even in themes that do not allow it to be removed. The space above and below the page is adjusted from the settings, for desktop and phone.
  • On multilingual sites the page is translated like the others (WPML, Polylang): the text appears in the page language, and the banner link, the links between the two policies, the title and the spacing follow the translation.

Privacy Policy

  • Five steps of questions, saved at each step: what the site does, data and retention periods, recipients, special cases, changes.
  • The features found on the site are already suggested: contact forms, comments, registration, shop, newsletter.
  • The legal basis is set for each function; retention periods are suggested and can be changed.
  • For each feature you tick the data used and add the ones the list does not have, such as the city asked by the quote form, one item per line: commas inside an item stay, so «type of request (windows or doors, private or company)» is a single item, and they all end up on the page together with the other data.
  • At the end of the steps the page is created and becomes the WordPress privacy page; Privacy Policy, Cookie Policy and banner link to each other. From then on you can view it, edit it or repeat the guided setup.
  • This page too is translated like the others on multilingual sites; the hand-written answers, such as retention periods or the recipients' country, go through string translation in WPML and Polylang.

Consent log

  • Every choice ends up in a dedicated table, with a truncated IP (or hashed, or not stored).
  • List with search, filters and detail with the history of the same ID.
  • CSV export and clearing with a confirmation word.
  • Automatic deletion after a configurable period.
  • The data stays yours: you choose what remains if you delete the plugin (everything, which is the default, only the consent log, or nothing). Deactivating it never deletes anything, and if the choice would delete data the Plugins page asks for confirmation before deactivating or deleting it, bulk actions included.

Export and import

  • The configuration in a JSON file: settings with the service IDs and the scripts, data controller, cookie list, Privacy Policy answers.
  • A safety copy, or the starting point for another site.
  • Before importing you see, part by part, what would change, and you choose the parts to write.
  • The linked pages remain those of the site; new optional cookies in the list prompt a new version of the policy.

Accessibility

  • Banner, preferences panel and generated pages checked against the WCAG 2.2 AA criteria.
  • The banner is the first keyboard stop but does not block the site; on closing, focus returns where it was.
  • A warning in the settings, while you pick the colours, if text and background are hard to read.
  • The policy tables can also be scrolled from the keyboard on small screens.

Support

  • In the Information tab, «Ask for support» opens the contact form of this site already filled in: the plugin name as the subject and the site data in the message (plugin, WordPress and PHP versions, theme, language).
  • The message is in Italian if the dashboard is in Italian, in English otherwise: all that is left is to describe the problem, and a screenshot can be attached.
  • Nothing is sent until you press Send on the form; the same data can also be copied with a button.

Screenshots

How it looks, on the site and in WordPress.

The banner with the Reject, Accept all and Customise buttons
The banner: «Reject» and «Accept all» with the same weight.
The preferences panel with the necessary, statistics and marketing categories
"Customise": choice by category and consent ID.
The banner on mobile, full width at the bottom
On the phone the banner takes the full width, at the bottom.
The Integrations tab with Google Analytics 4, Google Tag Manager, Consent Mode v2 and Meta Pixel
Integrations: just the service ID is enough, and it only starts after consent.
The Cookie tab with the scan and the table of the site's cookies
Scanning and table of the site's cookies.
The generated Cookie Policy page, with the data controller and the cookie tables by category
The generated Cookie Policy; bottom left, the icon that reopens the preferences.
The Privacy Policy tab with the questions about what the site does
Privacy Policy: the questions, with the features found on the site already suggested.
The consent log with filters and CSV export
Consent log: search, filters and CSV export.
The Tools tab with the preview of an import, part by part
Tools: before importing, what would change in each part.
The Banner tab with the low contrast warning between text and background
The warning that appears when the chosen colours are hard to read.

How it is used

From installation to the policies, in seven steps.

1. Install and activate

The plugin is in the official WordPress.org directory. In the WordPress dashboard go to Plugins → Add new, search for «Lobbit Cookie Consent», click «Install now» and then «Activate»: the «Cookie Consent» item appears in the menu and updates arrive from the dashboard as for the other plugins.

Alternatively, download the zip from the plugin page on WordPress.org and upload it from Plugins → Add new → Upload plugin. The plugin is written in English and the Italian translation comes from translate.wordpress.org: if you install from the zip, copy the translation .mo files into wp-content/languages/plugins/.

Plugin page on WordPress.org

2. Configure the banner

Choose the position, the colours, how long the choice lasts and how preferences are recalled: floating icon or footer link. Texts left empty use the default ones, in the site language or, on multilingual sites, in the language of each page. If the site only uses technical cookies, turn the banner off.

3. Connect the services

In the Integrations tab you enter the Google Analytics 4, Google Tag Manager or Meta Pixel ID: each service starts only when the visitor allows its category. For the other services you paste the code into the custom scripts.

4. Scan the cookies

Visit the site accepting all cookies, then start the scan from the Cookie tab. Check the table: classify the unrecognised cookies and manually add the missing ones.

5. Create the Cookie Policy

In the Owner tab you enter the owner's details, then from the Cookie Policy tab you create the page: the plugin links it to the banner and keeps it up to date. When cookies change significantly it proposes a new version, and after your confirmation the banner asks everyone again.

6. Create the Privacy Policy

In the Privacy Policy tab you answer the questions, one step at a time, and create the page. The text follows the answers: when the site changes, you update the answers and the page updates with them.

7. Keep or reuse the configuration

From the Tools tab you download the export file: it is a backup copy, and on another site with the plugin you import it from the same tab. After the import run a scan, to compare the cookie list with the new site.

Shortcode: link to preferences, policies and cookie tables

[custcc_preferences label="Manage cookies"]
[custcc_cookie_policy]
[custcc_privacy_policy]
[custcc_cookie_table category="statistics"]

Custom link, in a menu or in a button

<a href="#custcc-preferences">Cookie preferences</a>

HTML: keeping a script blocked until consent

<script type="text/plain" data-custcc-category="statistics"
	data-src="https://example.com/tracker.js"></script>

PHP: blocking a script enqueued by WordPress

add_filter( 'custcc_blocked_handles', function ( $handles ) {
	$handles['some-tracker'] = 'marketing';
	return $handles;
} );

JavaScript: reacting to the visitor's choice

document.addEventListener( 'custcc:change', function ( event ) {
	// event.detail.categories: [ 'necessary', 'statistics' ]
} );

window.custcc.has( 'statistics' ); // true / false
window.custcc.open();              // reopens the panel

Other filters: custcc_banner_active, custcc_client_ip (for sites behind a proxy), custcc_rate_limit, custcc_catalog and custcc_catalog_providers (to extend the catalogue), custcc_scan_urls, custcc_policy_width and custcc_policy_own_title (frame and title of the policy pages), custcc_page_id and custcc_text (for multilingual systems that do not answer wpml_object_id or do not translate the options), custcc_purge_page_cache (false to avoid clearing the page cache on save), custcc_categories_in_use (categories offered in the banner, for scripts written in the theme that the plugin cannot see). The custcc_page_cache_purge action fires at every clearing: hook there the clearing of a cache not on the list, of the hosting, of a CDN or of another plugin.

On WordPress.org. The plugin is published in the official WordPress.org directory: you install and update it from the dashboard, for free. Go to the plugin page

Legal notices. The plugin is a technical tool and not legal advice. The site owner remains responsible for which cookies are used, how they are classified and what the notices say. The scan does not see everything and the generated texts must be checked: have your configuration and texts reviewed by a lawyer.

Paid licences for Lobbit plugins follow the Terms and conditions of sale.

What's new

What has changed, version by version.

The same entries as the plugin changelog, from the most recent version to the first one. Updates arrive from the WordPress dashboard, as for the other plugins.

Version 1.10 · 21 November 2026

  • Privacy Policy, «Who receives the data»: the sentence «Data is not sold and is not made public» mentions comments and reviews only if the site has them: comments only, reviews only, both or neither. Previously it always mentioned them, even on sites with no comments or reviews. Pages already created update by themselves.

Version 1.9 · 14 October 2026

  • «Other data» field of the Privacy Policy: each line is an entry and commas inside an entry stay put. Before, «type of request (windows or doors, private individual or company)» became two truncated entries. The field explains this and shows an example on two lines.

Version 1.8 · 13 October 2026

  • Privacy Policy: new «Other data» field for each activity (contact form, quotes, orders and the rest), for the data the form asks for that is not in the list, such as the city. The entries are added to the data listed in the policy, travel with export and import and are translated with WPML and Polylang.

Version 1.7 · 13 October 2026

  • In the Consent log tab you choose what happens when the plugin is deleted: keep everything (default), keep only the consent log, delete everything. The old «Keep the consent log» checkbox becomes «Keep only the consent log» if it was ticked, «Keep everything» otherwise.
  • When deleting the plugin would erase data, the Plugins page asks for confirmation before deactivating or deleting it, including with bulk actions.
  • Banner tab: with the link in the footer the icon settings disappear.

Version 1.6 · 13 October 2026

  • Information tab: the «Ask for support» button opens the developer's contact form already filled in with the site data (address; plugin, WordPress and PHP versions; theme; language; number of active plugins), in Italian for an Italian dashboard and in English otherwise. Nothing is sent until the form is submitted. New Copy button for the same lines.

Version 1.5 · 12 October 2026

  • The banner offers only the categories the site uses (connected services, custom scripts, listed cookies, blocked scripts) and the default message names only those. New custcc_categories_in_use filter.
  • If in the Banner tab you choose a hand-written page as Cookie Policy or Privacy Policy, the guided configuration of that policy switches off, with a notice explaining why and how to get it back.

Version 1.4 · 12 October 2026

  • Translations are loaded by WordPress from translate.wordpress.org; the translation files no longer travel with the plugin.

Version 1.3 · 10 October 2026

  • When settings are saved the plugin clears the page cache of LiteSpeed Cache, WP Super Cache, Cache Enabler, W3 Total Cache, WP Rocket, WP Fastest Cache, Breeze, Hummingbird, WP-Optimize, SiteGround Speed Optimizer and Nginx Helper, and that of Kinsta and WP Engine hosting: cached pages show the new banner texts and the new version of the policy straight away. A notice says which cache was cleared. New custcc_purge_page_cache filter and new custcc_page_cache_purge action for the other caches.

Version 1.2 · 10 October 2026

  • Multilingual sites: with WPML and Polylang the texts written in the settings are translated from their string translation (wpml-config.xml); banner, cross-references between the two policies and the title of the policy pages follow the visitor's language. New custcc_page_id and custcc_text filters for the other systems.

Version 1.1 · 10 October 2026

  • The generated Cookie Policy and Privacy Policy fit the site width and respect its side margins even in themes built for page builders, where the page content is as wide as the window. New custcc_policy_width filter.
  • Guided flow for both policies (Cookie Policy: data controller, cookies, page); once the page is created the tab shows View, Edit and «Repeat the guided setup», which puts the generated text back into the same page.
  • The title of the policy pages is printed by the plugin in line with the text; the theme's one is hidden, even when the theme does not allow removing it. New custcc_policy_own_title filter.
  • Space above and below the policy pages, for desktop and phone, from the Cookie Policy and Privacy Policy tabs.

Version 1.0 · 5 October 2026

  • Tools tab: export and import of the configuration, with a preview of what changes.
  • Accessibility review (WCAG 2.2 AA): Esc no longer counts as a refusal, focus management, no faded texts, contrast warning for the banner colours, policy tables scrollable by keyboard.

Version 0.4 · 4 October 2026

  • Privacy Policy generated through five steps of questions, with its own page, block and shortcode.
  • Data controller tab shared by Cookie Policy and Privacy Policy.
  • Cross-references between the two policies and in the banner.

Version 0.3 · 4 October 2026

  • Cookie catalogue and scan, cookie table.
  • Cookie Policy page with the automatic policy version.
  • Information tab.

Version 0.2 · 4 October 2026

  • Integrations: Google Analytics 4 with Consent Mode v2, Google Tag Manager, Meta Pixel, custom scripts per category.
  • Floating icon or footer link to reopen the preferences.

Version 0.1 · 4 October 2026

  • Banner, consent cookie and consent log.

Questions or reports

Want to use it on your site?

The plugin is free software (GPL) and can be downloaded free of charge from the WordPress.org directory. Write to me to report a problem, to ask a question or to have it configured on your site.