Title: Optooki
Author: optooki
Published: <strong>November 26, 2026</strong>
Last modified: November 26, 2026

---

Search plugins

![](https://ps.w.org/optooki/assets/banner-772x250.png?rev=3828414)

![](https://ps.w.org/optooki/assets/icon.svg?rev=3828414)

# Optooki

 By [optooki](https://profiles.wordpress.org/optooki/)

[Download](https://downloads.wordpress.org/plugin/optooki.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/optooki/#description)
 * [Reviews](https://wordpress.org/plugins/optooki/#reviews)
 *  [Installation](https://wordpress.org/plugins/optooki/#installation)
 * [Development](https://wordpress.org/plugins/optooki/#developers)

 [Support](https://wordpress.org/support/plugin/optooki/)

## Description

Optooki is a hosted consent management platform, operated in France (https://optooki.
com). Create an account, design the banner and declare your cookies in the Optooki
dashboard; the plugin loads the banner on your site and holds trackers until your
visitors consent.

The plugin is free and complete: it has no premium version and no locked feature.
It needs an Optooki account. A free plan covers one small site (1,000 consents a
month, no time limit); paid plans add sites and monthly consents. On the free plan,
the preference center shows a discreet “Powered by Optooki” text, without a link;
paid plans do not show it. The plugin itself adds no credit or link to your site.

#### Banner

 * Five layouts (box, bar, floating island, centered modal, side panel), each in
   three sizes, with light, dark or automatic theme.
 * “Accept all” and “Reject all” buttons of equal weight, as recommended by European
   data protection authorities (CNIL guidelines).
 * Preference center with one switch per category: preferences, analytics, marketing.
 * Available in English, French, German, Spanish and Italian.
 * Accessible: keyboard navigation, focus management, screen reader labels, 44 px
   touch targets on mobile.

#### Tracker blocking

 * Common WordPress trackers are held until consent: Google Analytics (gtag), Meta
   Pixel, Hotjar, Microsoft Clarity, LinkedIn Insight and TikTok Pixel.
 * Embedded YouTube and Vimeo videos are replaced by a placeholder until the visitor
   accepts the matching category.
 * Add your own scripts with the `optooki_blocked_scripts` filter.

#### Integrations

 * Google Consent Mode v2, built in.
 * WP Consent API: choices are shared with compatible plugins (WooCommerce, Site
   Kit and others).
 * Suggested text for your privacy policy, in Settings > Privacy.

#### Consent records

Each choice is recorded on your Optooki server with its date, the categories accepted
or refused and the banner version. Records can be searched and exported as CSV from
the dashboard, to prove consent during an audit. The server only accepts records
sent from the domain declared for the site in the dashboard, or one of its subdomains,
so another website reusing your script cannot inflate your statistics.

#### Shortcodes

 * `[optooki_preferences]`: a “Manage cookies” button (attributes `label` and `class`).
 * `[optooki_cookie_list]`: the table of cookies by category, for your cookie policy.
 * A custom menu link pointing to `#optooki` also opens the preference center.

### External services

This plugin is the WordPress connector of the Optooki service, operated by Milkywi(
France) at https://optooki.com. It needs an Optooki account to work; the server 
address is `https://consent.optooki.com`. The plugin sends nothing until you enter
the server URL and the site ID in Settings > Optooki.

Once configured, the following requests go to the server URL you entered, and to
no other address:

 * **Banner script.** Every public page loads the banner script from `https://YOUR-
   SERVER/s/YOUR-SITE-ID.js`, and the banner then reads its published configuration
   from the same server. Like any file request, this sends the visitor’s IP address,
   user agent and the page address to the server.
 * **Consent records.** When a visitor accepts, rejects or changes their choices,
   the banner sends a record to `https://YOUR-SERVER/v1/consents`: a random consent
   identifier, the categories accepted or refused, the banner version and language,
   the page address, whether the browser sent a Global Privacy Control signal, and
   the user agent. The server stores a truncated IP address (last byte of IPv4 removed,
   last 80 bits of IPv6 removed), never the full address.
 * **Connection test.** When an administrator clicks “Test the connection” on the
   settings page, WordPress requests `https://YOUR-SERVER/v1/public/sites/YOUR-SITE-
   ID/config`. No visitor data is sent.

The plugin itself sets no cookie, includes no tracking and contacts no other service.
The banner stores the visitor’s choice in a first-party cookie named `cm_consent`.

Optooki service: [terms of service](https://optooki.com/terms), [privacy policy](https://optooki.com/privacy),
[data processing agreement](https://optooki.com/data-processing). Records are hosted
in France.

#### Third-party services named in the code (held, never contacted by the plugin)

The file `includes/class-optooki-frontend.php` contains a list of address patterns
of common tracking scripts and video players. The plugin never loads, calls or sends
any data to these services, and it adds none of them to your site. It only compares
the scripts and video frames already present in your pages (added by your theme,
another plugin or yourself) against this list, and holds the matching ones until
the visitor accepts the matching category. If the visitor accepts, the browser then
loads that script or video as it would without this plugin, and the service receives
what its own script collects (usually the IP address, user agent, page address and
its own cookies), under its own terms. If the visitor refuses, the script or video
is never loaded.

 * **Google Analytics and Google Tag Manager** (Google LLC), patterns `googletagmanager.
   com/gtag` and `google-analytics.com`: audience measurement, held until “analytics”
   is accepted. [Terms of service](https://policies.google.com/terms), [privacy policy](https://policies.google.com/privacy).
 * **Meta Pixel** (Meta Platforms, Inc.), pattern `connect.facebook.net`: advertising
   measurement, held until “marketing” is accepted. [Terms of service](https://www.facebook.com/legal/terms),
   [privacy policy](https://www.facebook.com/privacy/policy/).
 * **Hotjar** (Hotjar Ltd, a Contentsquare company), pattern `static.hotjar.com`:
   behavior analytics, held until “analytics” is accepted. [Terms of service](https://contentsquare.com/legal/terms-conditions/),
   [privacy policy](https://contentsquare.com/privacy-policy/).
 * **Microsoft Clarity** (Microsoft Corporation), pattern `clarity.ms`: behavior
   analytics, held until “analytics” is accepted. [Terms of service](https://clarity.microsoft.com/terms),
   [privacy policy](https://www.microsoft.com/en-us/privacy/privacystatement).
 * **LinkedIn Insight Tag** (LinkedIn Corporation), pattern `snap.licdn.com`: advertising
   measurement, held until “marketing” is accepted. [Terms of service](https://www.linkedin.com/legal/user-agreement),
   [privacy policy](https://www.linkedin.com/legal/privacy-policy).
 * **TikTok Pixel** (TikTok), pattern `analytics.tiktok.com`: advertising measurement,
   held until “marketing” is accepted. [Terms of service](https://ads.tiktok.com/i18n/official/policy/terms),
   [privacy policy](https://www.tiktok.com/legal/page/row/privacy-policy/en).
 * **YouTube** (Google LLC), patterns `youtube.com`, `youtu.be` and `youtube-nocookie`:
   embedded videos, replaced by a placeholder until “marketing” is accepted. [Terms of service](https://www.youtube.com/t/terms),
   [privacy policy](https://policies.google.com/privacy).
 * **Vimeo** (Vimeo, Inc.), pattern `vimeo.com`: embedded videos, replaced by a 
   placeholder until “preferences” is accepted. [Terms of service](https://vimeo.com/legal/terms/),
   [privacy policy](https://vimeo.com/legal/privacy/policy).

## Screenshots

[⌊The settings page: server connection, behavior switches and installation steps.⌉⌊
The settings page: server connection, behavior switches and installation steps.⌉[

The settings page: server connection, behavior switches and installation steps.

[⌊The consent banner on a WordPress site, with "Reject all" and "Accept all" of 
equal weight.⌉⌊The consent banner on a WordPress site, with "Reject all" and "Accept
all" of equal weight.⌉[

The consent banner on a WordPress site, with “Reject all” and “Accept all” of equal
weight.

[⌊The preference center, with one switch per category.⌉⌊The preference center, with
one switch per category.⌉[

The preference center, with one switch per category.

[⌊In the Optooki dashboard: choose a theme or reuse your site's colours, with a 
live preview.⌉⌊In the Optooki dashboard: choose a theme or reuse your site's colours,
with a live preview.⌉[

In the Optooki dashboard: choose a theme or reuse your site’s colours, with a live
preview.

[⌊In the Optooki dashboard: the record of every consent, searchable and exportable
as CSV.⌉⌊In the Optooki dashboard: the record of every consent, searchable and exportable
as CSV.⌉[

In the Optooki dashboard: the record of every consent, searchable and exportable
as CSV.

## Installation

 1. Install and activate the plugin.
 2. Create an account at https://app.optooki.com, add your site, customize the banner
    and publish it.
 3. In WordPress, open Settings > Optooki and enter the server URL (`https://consent.
    optooki.com`) and the site ID, shown in the “Installation” tab of the dashboard.
 4. Click “Test the connection”. The banner now shows on your site.

## FAQ

### Do I need an Optooki account?

Yes. The banner, its settings and the consent records live in your Optooki account;
the plugin connects WordPress to it. A free plan is available for one small site.

### Is there a premium version of the plugin?

No. The plugin is the same for every plan and receives every update. What a plan
changes is in your account: number of sites, consents per month, the “Powered by
Optooki” mention.

### What happens if my site exceeds its plan?

You receive an email at 80 % and 100 % of the monthly quota, and the banner keeps
working. After two full months over the quota, a paid subscription moves to the 
next plan. A free plan has its dashboard restricted, then, thirty days later without
a plan change, its banner is suspended: no banner is shown and every tracker held
back by the plugin stays blocked, so visitors remain protected. Choosing a suitable
plan restores the banner within minutes.

### How do I add a “Manage cookies” link?

Use the `[optooki_preferences]` shortcode (attributes `label` and `class`), or add
a custom link pointing to `#optooki` in a menu.

### How do I show the list of cookies in my cookie policy?

Insert the `[optooki_cookie_list]` shortcode. The table is built from the services
declared in the dashboard.

### How do I block another script?

Use the `optooki_blocked_scripts` filter:

    ```
    add_filter( 'optooki_blocked_scripts', function ( $map ) { $map['cdn.example.com/tracker.js'] = 'analytics'; return $map; } );
    ```

Available categories are `necessary`, `preferences`, `analytics` and `marketing`.

### Can I disable the banner on a page?

Yes, with the `optooki_is_active` filter, which receives and returns a boolean.

### I use a caching or optimization plugin (WP Rocket, Autoptimize, LiteSpeed Cache…)

Exclude the Optooki script (it carries the `data-optooki` attribute) from the “defer”,“
delay JavaScript execution” and “combine JavaScript files” options. It must stay
the first script of the page, loaded synchronously: this is what lets it block trackers
before they run.

### Consent records do not appear for my staging site

Records are only accepted from the domain declared for the site in the Optooki dashboard
and its subdomains (`www.example.com` and `shop.example.com` both match `example.
com`). A staging copy on another domain shows the banner normally but records nothing.
Create a separate site in the dashboard for it if you want to keep its records. 
The same applies to multisite networks and domain mapping: each WordPress site that
uses its own domain needs its own Optooki site.

### My site uses a Content Security Policy

Allow your Optooki server in `script-src` (the banner script) and `connect-src` (
consent records). Nothing is needed in `style-src` on current browsers: the banner
uses constructed style sheets, which are not subject to it. If your policy relies
on nonces, add the nonce to the banner tag with the core `wp_script_attributes` 
filter; the banner reuses it for the scripts it re-enables after consent.

### Is the plugin translated?

The admin screens ship in English and French. The banner itself is translated from
the Optooki dashboard, in English, French, German, Spanish and Italian.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Optooki” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ optooki ](https://profiles.wordpress.org/optooki/)

[Translate “Optooki” into your language.](https://translate.wordpress.org/projects/wp-plugins/optooki)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/optooki/), check out
the [SVN repository](https://plugins.svn.wordpress.org/optooki/), or subscribe to
the [development log](https://plugins.trac.wordpress.org/log/optooki/) by [RSS](https://plugins.trac.wordpress.org/log/optooki/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * First public release.
 * Banner script printed with the WordPress script API, at the very top of the head.
 * Admin screens in English, with a French translation.
 * Suggested privacy policy text.
 * Settings removed from every site of a network when the plugin is deleted.

## Meta

 *  Version **1.0.0**
 *  Last updated **2 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [consent mode](https://wordpress.org/plugins/tags/consent-mode/)[cookie banner](https://wordpress.org/plugins/tags/cookie-banner/)
   [cookie consent](https://wordpress.org/plugins/tags/cookie-consent/)[GDPR](https://wordpress.org/plugins/tags/gdpr/)
   [privacy](https://wordpress.org/plugins/tags/privacy/)
 *  [Advanced View](https://wordpress.org/plugins/optooki/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/optooki/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/optooki/reviews/)

## Contributors

 *   [ optooki ](https://profiles.wordpress.org/optooki/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/optooki/)