From 49c30089044f36805e70524b038982d1193d7125 Mon Sep 17 00:00:00 2001 From: Alexander Kellner Date: Fri, 16 Feb 2024 17:07:39 +0100 Subject: [PATCH] [TASK] Add Cookiebot example for OptIn configuration --- Documentation/Privacy/OptInAndOptOut.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/Privacy/OptInAndOptOut.md b/Documentation/Privacy/OptInAndOptOut.md index 22e908d1..40a13c00 100644 --- a/Documentation/Privacy/OptInAndOptOut.md +++ b/Documentation/Privacy/OptInAndOptOut.md @@ -56,6 +56,23 @@ var Lux = LuxSingleton.getInstance(); Lux.optOutAndReload(); ``` +#### Example usage of OptIn with Cookiebot consent manager + +If you want to disable tracking by default and enable tracking via Cookiebot consent manager, you could add a JavaScript +to your page like: + +``` + +``` + +Note: Do not forget to use `plugin.tx_lux.settings.autoenable=0` via TypoScript setup + ### Opt-Out Plugin As known from Matomo (former known as Piwik) also LUX offers a Plugin for an Opt-Out possibility for visitors. You