Privacy Choices

Privacy Choices is a JavaScript library that allows you to give the users of your website choices regarding the use of cookies and other web storage technologies on their device.

Privacy Choices banner prompt

Live demo

This site is provided as a live demo of the library. Various configurations are available from the navigation bar to demonstrate all that the library has to offer.

Clear preferences

You may find it useful to clear preferences and reload the page as you explore these examples. Doing so will make it as if you have just come to the page for the very first time.

Notice when using these demos

Having different configurations of consent choice categories on the same domain isn't how this library should be used. Privacy Choices will ask the user for consent again if it detects a different set of consent categories in configuration compared to what is stored in the preferences cookie for a domain.

Therefore, as you browse these examples that are all hosted on the same domain you are likely to see the notification banner reappear very often as the library detects a mismatch between configuration and preferences. This is by design and will not be an issue in a production use case if implemented correctly.

Usage and source code

You can find full details of the project on GitHub.

License

Licensed under the MIT License.