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