跳到内容

Optooki

v1.0.0

optooki · 2026年11月26日 上架

GDPR cookie consent banner with tracker blocking, Google Consent Mode v2 and consent records, managed from your Optooki dashboard.

正在使用
10 以下
评分
暂无
累计下载
0
最近更新
2026年11月27日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

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 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: the record of every consent, searchable and exportable as CSV.
In the Optooki dashboard: the record of every consent, searchable and exportable as CSV.

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, privacy policy, data processing agreement. 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, privacy policy.
  • Meta Pixel (Meta Platforms, Inc.), pattern connect.facebook.net: advertising measurement, held until “marketing” is accepted. Terms of service, privacy policy.
  • Hotjar (Hotjar Ltd, a Contentsquare company), pattern static.hotjar.com: behavior analytics, held until “analytics” is accepted. Terms of service, privacy policy.
  • Microsoft Clarity (Microsoft Corporation), pattern clarity.ms: behavior analytics, held until “analytics” is accepted. Terms of service, privacy policy.
  • LinkedIn Insight Tag (LinkedIn Corporation), pattern snap.licdn.com: advertising measurement, held until “marketing” is accepted. Terms of service, privacy policy.
  • TikTok Pixel (TikTok), pattern analytics.tiktok.com: advertising measurement, held until “marketing” is accepted. Terms of service, privacy policy.
  • YouTube (Google LLC), patterns youtube.com, youtu.be and youtube-nocookie: embedded videos, replaced by a placeholder until “marketing” is accepted. Terms of service, privacy policy.
  • Vimeo (Vimeo, Inc.), pattern vimeo.com: embedded videos, replaced by a placeholder until “preferences” is accepted. Terms of service, privacy policy.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums