{"id":329356,"date":"2026-06-29T15:28:49","date_gmt":"2026-06-29T15:28:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/orejime\/"},"modified":"2026-06-29T15:28:23","modified_gmt":"2026-06-29T15:28:23","slug":"orejime","status":"publish","type":"plugin","link":"https:\/\/hy.wordpress.org\/plugins\/orejime\/","author":23300812,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1.0","stable_tag":"0.1.0","tested":"7.0","requires":"5.5","requires_php":"7.0","requires_plugins":null,"header_name":"Orejime","header_author":"Boscop","header_description":"Lighweight and accessible consent manager.","assets_banners_color":"","last_updated":"2026-06-29 15:28:23","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/boscop.fr","rating":0,"author_block_rating":0,"active_installs":0,"downloads":13,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"0.1.0":{"tag":"0.1.0","author":"boscop","date":"2026-06-29 15:28:23"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":{"orejime\/contextual-consent":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"orejime\/contextual-consent","title":"Contextual consent","category":"embeds","icon":"shield-alt","description":"Hides content until the user gives consent","keywords":["gdpr","consent","purpose","guard"],"textdomain":"orejime","attributes":{"purposeId":{"type":"integer"}},"editorScript":"file:.\/index.js"}},"tagged_versions":["0.1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[784,20011,389,131785,396],"plugin_category":[54],"plugin_contributors":[269487],"plugin_business_model":[],"class_list":["post-329356","plugin","type-plugin","status-publish","hentry","plugin_tags-banner","plugin_tags-consent","plugin_tags-cookies","plugin_tags-gdpr","plugin_tags-privacy","plugin_category-security-and-spam-protection","plugin_contributors-boscop","plugin_committers-boscop"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/orejime.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The plugin provides built-in integrations to core WordPress functionalities and major analytics plugins, as to help implementing a consent banner.<\/p>\n\n<p>Major WordPress plugins are automatically discovered and added to the banner.<\/p>\n\n<p>One can then fine tune the configuration or even add custom entries.<\/p>\n\n<h4>Integrations<\/h4>\n\n<p>Besides letting you manually configure purposes, the plugin provides built-in integrations to core WordPress functionalities and major analytics plugins.<\/p>\n\n<ul>\n<li><a href=\"https:\/\/wordpress.com\/support\/wordpress-editor\/blocks\/embed-block\">Embed blocks<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/ga-google-analytics\/\">GA Google Analytics plugin<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/google-site-kit\">Google Site Kit plugin<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/jetpack\">Jetpack plugin<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/matomo\">Matomo plugin<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/google-analytics-for-wordpress\">Monster Insights plugin<\/a><\/li>\n<\/ul>\n\n<h4>Contextual consent<\/h4>\n\n<p>A custom editor block allows one to block any content until the user gives their explicit consent.\nThis would display a placeholder allowing the user to do so on the spot.\nWhen they does, the placeholder is replaced by the intended content.<\/p>\n\n<p>This block can be used around any other block or list of blocks, as the core <code>group<\/code> block.<\/p>\n\n<p>The contextual consent placeholder can be added automatically to any <code>embed<\/code> blocks.<\/p>\n\n<h4>Legal disclaimer<\/h4>\n\n<p>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).<\/p>\n\n<p>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).<\/p>\n\n<p>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.<\/p>\n\n<h3>Development<\/h3>\n\n<h4>Architecture<\/h4>\n\n<p>The plugin revolves around the concept of \"integrations\".\nAn integration is a bridge between Orejime and a WordPress plugin or native feature.<\/p>\n\n<p>Every integration derives from the base <a href=\".\/includes\/class-integration.php\"><code>Integration<\/code><\/a> class.\nThey must each have unique identifiers and names, and should provide a way to tell if their target integration is currently active.\nThey hook into their target to alter their output, typically as to modify scripts so they can be handled by Orejime.<\/p>\n\n<p>For every active integration, Orejime would register an associated purpose, which allows for customizing the info that is shown to the end user.<\/p>\n\n<h4>Initial setup<\/h4>\n\n<pre><code>npm install # installs build &amp; run environment\nnpm run up # starts docker containers\nnpm run composer install # installs backend dev environment\n<\/code><\/pre>\n\n<h4>Build<\/h4>\n\n<pre><code>npm start # builds assets and watches for changes\n<\/code><\/pre>\n\n<h4>Quality<\/h4>\n\n<pre><code>npm run lint # lints JS and PHP code\nnpm run format  # formats JS and PHP code\n<\/code><\/pre>\n\n<h4>Orejime integration<\/h4>\n\n<p>The orejime library is provided by the plugin.\nIts source code is <a href=\"https:\/\/github.com\/boscop-fr\/orejime\">available at GitHub<\/a>.\nBuild files are sourced from the <a href=\"https:\/\/www.npmjs.com\/package\/orejime\">official npm module<\/a>, installed via npm, then copied over to the <code>public<\/code> folder via a build task:<\/p>\n\n<pre><code>npm run package-orejime\n<\/code><\/pre>\n\n<p>This task is run automatically by other build tasks such as <code>npm start<\/code> &amp; <code>npm run build<\/code>.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20using%20this%20plugin%20makes%20my%20website%20fully%20compliant%3F\"><h3>Does using this plugin makes my website fully compliant?<\/h3><\/dt>\n<dd><p>This plugin helps you configure a consent banner by providing presets for commonly used plugins.\nHowever, you should always review its output and tune it accordingly.<\/p>\n\n<p>See the legal disclaimer for more info.<\/p><\/dd>\n<dt id=\"where%20is%20the%20source%20code%20available%3F\"><h3>Where is the source code available?<\/h3><\/dt>\n<dd><p>The full code and history is available <a href=\"https:\/\/github.com\/boscop-fr\/orejime-wordpress-plugin\">here at GitHub<\/a>.<\/p><\/dd>\n<dt id=\"where%20can%20i%20report%20issues%20or%20ask%20for%20help%3F\"><h3>Where can I report issues or ask for help?<\/h3><\/dt>\n<dd><p>You can use the GitHub project's <a href=\"https:\/\/github.com\/boscop-fr\/orejime-wordpress-plugin\/issues\">issues<\/a> and <a href=\"https:\/\/github.com\/boscop-fr\/orejime-wordpress-plugin\/discussions\">discussions<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Feature - Embed blocks integration.<\/li>\n<li>Feature - GA Google Analytics integration.<\/li>\n<li>Feature - Google Site Kit integration.<\/li>\n<li>Feature - Jetpack integration.<\/li>\n<li>Feature - Matomo integration.<\/li>\n<li>Feature - Monster Insights integration.<\/li>\n<\/ul>","raw_excerpt":"This plugin integrates Orejime, a lightweight and accessible consent manager, to WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hy.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/329356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hy.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/hy.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/hy.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=329356"}],"author":[{"embeddable":true,"href":"https:\/\/hy.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/boscop"}],"wp:attachment":[{"href":"https:\/\/hy.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=329356"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/hy.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=329356"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/hy.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=329356"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/hy.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=329356"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/hy.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=329356"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/hy.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=329356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}