bootstrap-cookie-consent-settings demo page



Initialize the cookie consent framework with the constructor

var cookieSettings = new BootstrapCookieConsent()

Show the Dialog

On a new visit the dialog is shown automatically. For reconfiguration show the Dialog again with cookieSettings.showDialog().

Cookie Settings

Read the settings

Read all cookie settings with cookieSettings.getSettings()


Read a specific cookie setting with cookieSettings.getSettings('analyses')


More documentation

Find more documentation and the sourcecode on GitHub