Cookieman ========= How it works ------------ It includes the HTML for a cookie confirmation modal on every page. It shows the modal when the cookie *CookieConsent* is not set yet. In the example templates it is not shown on the configured imprintPid and dataProtectionDeclarationPid (see TypoScript constants) - this is to follow the GDPR’s expectation that those pages shall be easily and directly accessible and should not interfere with a cookie consent banner. It is recommended to include a snippet like that on your data protection page to allow your users to adjust their cookie preferences: .. raw:: html
<a href="" onclick="cookieman.show(); return false"> Adjust your cookie preferences </a>It saves the user’s choices as a comma-separated list of groups in the HTML cookie *CookieConsent*, e.g. “marketing,preferences”. Your tracking solutions shall then adhere to this setting by checking if their repective string (e.g. “marketing”) is contained in the cookie *CookieConsent*. You should also pay respect to the “Do-not-track” setting of your users which is sent as HTTP-Header ``DNT: 1`` and accessible in JavaScript via ``navigator.doNotTrack``. The example templates include a dynamic text block that show this browser setting. This can be done in Google Tagmanager or by dynamically including