It's better when it's simple

User Tools

Site Tools


cookiebanner Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" yes

plugin A Consent Banner Plugin that actually controls JS loading

Last updated on

Similar to cookielaw

Tagged with consent, cookie

A CosmoCode Plugin


Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Usage and Configuration

Once installed, the plugin will show a consent banner to visitors. Visitors can either click “Accept” or “Decline”. The choice is stored in the DokuWiki preference cookie.

The configuration allows you to define arbitrary JavaScript that should be executed on every page load once the visitor accepted. This is where you would put your tracking code for example.

Note: This banner will not influence the cookies set by DokuWiki core as those are deemed to be functionally required and do not track users across devices. See the FAQ on Cookies.

Changing the text

The displayed text and button labels can be changed using DokuWiki's mechanisms for changing translations. See Changing some localized texts and strings in your installation for details.

plugin/cookiebanner.txt · Last modified: 2021-07-21 23:50 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki