Privacy Policy Mockup

The cookie settings dialog is not automatically displayed, so the user can read the privacy policy before deciding on a setting.

This is achieved with the property autoShowModal, which is set to false.

var cookieConsent = new CookieConsent({privacyPolicyUrl: "privacy-policy-mockup.html", autoShowModal: false, contentPath: "../cookie-consent-content"})

To display the dialog anyway, the API function reset() can be used:

Show cookie settings