Title: Orejime
Author: Boscop
Published: <strong>2026 年 6 月 29 日</strong>
Last modified: 2026 年 6 月 29 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/orejime.svg)

# Orejime

 作者：[Boscop](https://profiles.wordpress.org/boscop/)

[下载](https://downloads.wordpress.org/plugin/orejime.0.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/orejime/#description)
 * [评价](https://cn.wordpress.org/plugins/orejime/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/orejime/#developers)

 [支持](https://wordpress.org/support/plugin/orejime/)

## 描述

The plugin provides built-in integrations to core WordPress functionalities and 
major analytics plugins, as to help implementing a consent banner.

Major WordPress plugins are automatically discovered and added to the banner.

One can then fine tune the configuration or even add custom entries.

#### Integrations

Besides letting you manually configure purposes, the plugin provides built-in integrations
to core WordPress functionalities and major analytics plugins.

 * [Embed blocks](https://wordpress.com/support/wordpress-editor/blocks/embed-block)
 * [GA Google Analytics plugin](https://wordpress.org/plugins/ga-google-analytics/)
 * [Google Site Kit plugin](https://wordpress.org/plugins/google-site-kit)
 * [Jetpack plugin](https://wordpress.org/plugins/jetpack)
 * [Matomo plugin](https://wordpress.org/plugins/matomo)
 * [Monster Insights plugin](https://wordpress.org/plugins/google-analytics-for-wordpress)

#### Contextual consent

A custom editor block allows one to block any content until the user gives their
explicit consent.
 This would display a placeholder allowing the user to do so on
the spot. When they does, the placeholder is replaced by the intended content.

This block can be used around any other block or list of blocks, as the core `group`
block.

The contextual consent placeholder can be added automatically to any `embed` blocks.

#### Legal disclaimer

Orejime is developed and updated by the Boscop teams in accordance with regulatory
developments and European and French recommendations (particularly those of the 
EDPB and the CNIL).

However, the compliance of a cookie manager largely depends on the solution’s configuration(
from the handling of each cookie, to color choices, and the information provided
to users).

It is your responsibility to verify your site’s compliance, and Boscop cannot be
held liable for any compliance issues arising from users of the Orejime plugin.

### Development

#### Architecture

The plugin revolves around the concept of “integrations”.
 An integration is a bridge
between Orejime and a WordPress plugin or native feature.

Every integration derives from the base [`Integration`](https://cn.wordpress.org/plugins/orejime/./includes/class-integration.php?output_format=md)
class.
 They must each have unique identifiers and names, and should provide a way
to tell if their target integration is currently active. They hook into their target
to alter their output, typically as to modify scripts so they can be handled by 
Orejime.

For every active integration, Orejime would register an associated purpose, which
allows for customizing the info that is shown to the end user.

#### Initial setup

    ```
    npm install # installs build & run environment
    npm run up # starts docker containers
    npm run composer install # installs backend dev environment
    ```

#### Build

    ```
    npm start # builds assets and watches for changes
    ```

#### Quality

    ```
    npm run lint # lints JS and PHP code
    npm run format  # formats JS and PHP code
    ```

#### Orejime integration

The orejime library is provided by the plugin.
 Its source code is [available at GitHub](https://github.com/boscop-fr/orejime).
Build files are sourced from the [official npm module](https://www.npmjs.com/package/orejime),
installed via npm, then copied over to the `public` folder via a build task:

    ```
    npm run package-orejime
    ```

This task is run automatically by other build tasks such as `npm start` & `npm run
build`.

## 区块

该插件提供了 1 个区块.

 *   Contextual consent Hides content until the user gives consent

## 常见问题

### Does using this plugin makes my website fully compliant?

This plugin helps you configure a consent banner by providing presets for commonly
used plugins.
 However, you should always review its output and tune it accordingly.

See the legal disclaimer for more info.

### Where is the source code available?

The full code and history is available [here at GitHub](https://github.com/boscop-fr/orejime-wordpress-plugin).

### Where can I report issues or ask for help?

You can use the GitHub project’s [issues](https://github.com/boscop-fr/orejime-wordpress-plugin/issues)
and [discussions](https://github.com/boscop-fr/orejime-wordpress-plugin/discussions).

## 评价

此插件暂无评价。

## 贡献者及开发者

「Orejime」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Orejime」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/orejime)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/orejime/)，查看[SVN仓库](https://plugins.svn.wordpress.org/orejime/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/orejime/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/orejime/)。

## 更新日志

#### 0.1.0

 * Feature – Embed blocks integration.
 * Feature – GA Google Analytics integration.
 * Feature – Google Site Kit integration.
 * Feature – Jetpack integration.
 * Feature – Matomo integration.
 * Feature – Monster Insights integration.

## 额外信息

 *  版本 **0.1.0**
 *  最后更新：**4 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.5 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/orejime/)
 * 标签
 * [banner](https://cn.wordpress.org/plugins/tags/banner/)[consent](https://cn.wordpress.org/plugins/tags/consent/)
   [cookies](https://cn.wordpress.org/plugins/tags/cookies/)[GDPR](https://cn.wordpress.org/plugins/tags/gdpr/)
   [privacy](https://cn.wordpress.org/plugins/tags/privacy/)
 *  [高级视图](https://cn.wordpress.org/plugins/orejime/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/orejime/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/orejime/)