From fcb0fca9760b41eec11ede147c2f99d6edac471c Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Mon, 17 Jul 2023 11:04:42 +0200 Subject: [PATCH] Improve readme for cookieConsent. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index cbd47f1..73a646c 100644 --- a/README.md +++ b/README.md @@ -508,6 +508,8 @@ Javascript is used for spam protection and to display error/success messages. Allow users to opt-in to tracking. Matomo and Google analytic are supported out of the box. +Set `cookieConsent` param to true to activate. Also set `privacyPolicyUrl` to include a link to your privacy policy in the cookieconsent dialog. + See `assets/js/tracking.js` for example how to implement it for other cookies. The users choice is stored in localStorage item "cookieconsent".